Book Image

Migrating to Angular 2 [Video]

By : Alain Chautard
Book Image

Migrating to Angular 2 [Video]

By: Alain Chautard

Overview of this book

<p>Angular 2 is a technical and conceptual overhaul of its hugely popular predecessor, AngularJS. This means that for developers who have built and maintained applications with AngularJS, and need to transition projects across to Angular 2, there needs to be an effective plan of action. Implementing a migration path for projects has been a major talking point in itself leading up to the release of Angular 2, and a critical concern for developer teams transitioning code across to take advantage of the new framework.&nbsp;</p> <p>This course demonstrates how to apply an effective migration plan for transitioning Angular 1.x projects to Angular 2. Opening with an introduction to the major changes and additions brought by the new framework, we quickly scope out a plan to a migrate a sample weather application from its original Angular 1.x code base.</p> <p>We then explain how to migrate blocks of code incrementally, as opposed to porting code in bulk, and give you a brief introduction to Typescript and ECMAScript 6. Throughout we’ll show you how to gradually deprecate $scope, upgrade services, work with the component router, transition forms, and more.</p> <p>By completion of this course, you will be rapidly up to speed with the fundamental building blocks of Angular 2 development, and fully capable (and confident) transitioning existing Angular 1.x projects to the new environment, ready to explore everything the new Angular has to offer.&nbsp;</p> <h1>Style and Approach</h1> <p>This course is focused and practical, and demonstrates how to migrate an example application from Angular 1.x to Angular 2. For developers who want real world advice on how to upgrade Angular projects this delivers tangible examples with best practices approved by the Angular core team, in a fast, digestible way.&nbsp;</p>
Table of Contents (5 chapters)
Chapter 5
Angular 2 in the Long Run
Content Locked
Section 2
The Future of TypeScript and ES6
Angular 2 was designed to work with TypeScript, which is a superset of ES6. In this video, we will explore what will happen in the future when those languages evolve. - ES6 is almost 100% supported, and ES7 is already in the works - TypeScript takes the complexity away from us - The safe route is to stick to TypeScript