2 AngularJS introduction

Contenidos

AngularJS

Angular JS is a framework for designing applications web and mobile in JavaScript (is the language that runs on your computer when you open a page). Is based on web of a page (can be of more) which only updated part of the same. Imagine the typical blog, the cabezera, the foot of page, the menus, the sidebars… all that equals are at an entrance or in another, then why refresh the entire page if only varies a part of it? and that is the reason why angle is created.

AngularJS
AngularJS

The idea is that angle shows the views and makes the driver (the logic that runs) while the model (Access database) are requests to the server and this instructs the information just to update their status and not the entire web. AngularJS is maintained by Google which gives some security when using it.

TypeScript

On the other hand have TypeScript say it is an above own JavaScript object oriented programming language, it is maintained by Microsoft and for me is almost a snag when using AngularJS because I like the original JavaScript but on the other hand I see TypeScript as a way of programming in the same language as another totally different way thus enriching the own JavaScript.

TypeScript
TypeScript

Dependencies of AngularJS

To operate Angular JS we need certain libraries. Later I will indicate how to add these libraries from NodeJS (server-side JavaScript).

CoreJS

Serves to make the new browsers compatible with the latest versions of JavaScript (ss6).

ZonesJS

At the moment we can forget this library because angle is used to detect data changes.

Reflect Metadata

It is to add the metadata to the TypeScript, subject of compatibility annotations.

SystemJS

Let us time in which SystemJS helps us to create modules and units by the much simpler programming.

Loading units

<script src="node_modules/core-js/client/shim.min.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>

Leave a Reply

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.