AngularJS 2.0 – Here you go!!! What is new?
Posted on December 16, 2015 | No Comments
Before going into further discussion about 2.0 AngularJS briefly consider the philosophy behind the new version. 2.0 angular development began to address the following concerns:
Mobile
The new angular version will focus on developing mobile applications. The reason is that it is easier to manage desktop looks of things, once you have addressed the challenges related to mobile (performance, load time, etc.).
Modular
Several modules will be removed angular core, resulting in better performance. These find their way into growing ecosystem of angular modules, which means they will be able to pick and choose the parts you need.
Modern
Angular 2.0 will aim SS6 and “evergreen” modern browsers (automatically updates to the latest version). The construction of these browsers means that several hacks and solutions that make it harder for developing angle can be eliminated allowing developers to focus on their domain-related business code.
Upgrading from Angular 1
You may have an Angular 1 app today and you want to start writing Angular 2 code in that app, without changing your working/tested angular 1 code. This is where ngUpgrade comes in.
While you can upgrade apps in a “big bang” approach where you halt production until everything is rewritten, supporting two paths for where teams want to upgrade their Angular 1 apps to Angular 2.
ngUpgrade
You made large investments in Angular 1 and have created some awesome apps. Created ngUpgrade for all of you to make it possible to leverage your existing apps and move forward with Angular 2.
ngUpgrade lets you mix Angular 2 into your existing Angular 1 application. You’ll get to take advantage of Angular 2’s improved speed and APIs immediately as you replace components a bit at a time over the course of your releases.
ngForward
Some teams, with apps that are more sensitive to download size, will want to avoid having both Angular 1 and Angular 2 libraries running in their app simultaneously. For this, have ngForward which lets you write Angular 1 applications in the syntax of Angular 2. This lets your team get used Angular 2 conventions and styles in your apps today and shorten the distance to doing the full upgrade to Angular 2 when you’re ready.
What comes next?
Improvements to move Angular 2 to its full and final release. Many small improvements, the big ones for final are:
- Reducing Angular 2’s payload size.
- Making the Angular CLI usable end to end throughout the development process.
- Creating a more developer-friendly route definition and link API for the Component Router.
- Support for animations.
- I18n and L10n support.
Comments
Leave a Reply
You must be logged in to post a comment.