Monday, June 27, 2016

Keynote: Angular2 Basic Short Notes

Angular2


Superheroic, non-opinionated Framework.
Angular delivers the productivity and scalable infrastructure that supports Google's largest applications.
Despite the fact that, new 2.0 version of Angular is focused on ES6 standart and is Not compatible with the 1.4, it's definitely worth to use it.
Angular leverages ES 2015 standards and doesn't force you to stuck with one option.
You can use TypeScript, Dart or JavaScript to write your application.

I used Angular 1

Good to you, then you'll be really happy with new abilities ^_^.
You just have to go here Angular 1 to 2 Quick Ref and here Upgrading from 1.x.

Angular 2 Common Overview

  • You do not need to care about Self-Invoking Functions anymore (because of ES6).
  • You should not care about isolated scopes anymore (because of ES 2015 modules).
  • Instead of old Controller & Directive all you need is @Component decorator.
  • Angular Dependency Injection framework is simple, it allows u really enjoy Angular 2 automated dependency injection and to simplify application testing.
  • There no filter (for performance reasons), but it's simply replaceable with pipe.
  • Services are nothing more than a classes in Angular 2.
  • You still can follow Angular "Backend-Less" approach through in-memory web api.
  • You still has an ability to make "Transclusion" through ng-content.
  • The Most of Built-in directives (NgIf, NgFor, etc.) remained (use through asterisk e.g. *ngFor).
  • Data Binding to set properties of DOM elements became more fast & beautiful (remember the brackets).
  • Angular 2 embraces Unidirectional data-flow, which gives us more predictable behavior & performance boost.

1 comment:

  1. Nice blog...Very useful information is providing by ur blog..here is a way to find.
    Offshore Angularjs Developers in India

    ReplyDelete