Learning Path: Angular 2 Fundamentals
Course
Online
Description
-
Type
Course
-
Methodology
Online
-
Start date
Different dates available
Stay ahead of the curve with Angular 2In DetailIt’s not every day that one of the most important front-end libraries in web development gets a complete overhaul. Keep your skills relevant and up-to-date with this comprehensive introduction to Google’s popular community project.
Facilities
Location
Start date
Start date
About this course
Compile the sample application and analyze its overall structure
Understand TypeScript’s type system and how to use it more effectively
Broaden your knowledge on ES6 classes and how they relate to class-like JavaScript patterns
Familiarize yourself with JavaScript libraries in TypeScript
Improve your code with TypeScript language features
Use advanced experimental ES6 and ES7 features
Create static typing between a client and server in a client/server application. Bring the view code into TypeScript to have static typing
Interact efficiently with the type system for better and structured code
Familiarize yourself with Angular 2’s new syntax and its change detection mechanism
Plan and migrate code incrementally and avoid bulk migration
Use the ng-upgrade library to facilitate the migration process
Understand how to work with the new component router
Switch and upgrade services, directives and forms to their Angular 2 equivalents
Introduce yourself to ECMAScript 6 and start incorporating TypeScript classes
Follow best practices recommended by the Angular core team for migrating projects.
Develop a strong understanding of Angular 2 components by slicing static HTML pages into dedicated components
Configure a modern setup with TypeScript, SystemJS, and ES2015
Refactor and upgrade an Angular 1.x application to Angular 2
Design reusable components by understanding how data flows in and out of them and by leveraging advanced Angular 2 template techniques
Debug Angular 2 components and write automated unit and end-to-end tests
Embed external libraries such as d3
Run Angular 2 components on mobile devices and on the server
Make API calls and circumvent cross-origin restrictions with JSONP
Customize an Ionic 2 application using the power of SASS variables
Keep your code structured and reusable by implementing separation of concerns
Interact with users and gather relevant information using a form
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 6 years
Subjects
- Install
- Assertion Training
- Typing
- Javascript
- Javascript training
- Benefits
- Options
Course programme
- Step through the sample application
- Step through the technologies used
- Review the common methods for compiling
- Look at the build script
- Run the TypeScript build task
- Point out an example of an implicit and an explicit type in the application
- Understand the case for using implicit types
- Where we should implement explicit types
- Avoid it to prevent mistakes
- Use union types instead of using 'any', where applicable
- Use type guards to separate the types out of a union type
- Learn about structural typing and nominal typing
- Get an overview of the benefits of structural typing
- Understand the dangers of structural typing
- Realize the dangers with enum types
- Examine changed and limited behavior in the type system
- Avoid certain language aspects to help write readable code
- Get an overview of "noImplicitAny"
- Change tsconfig.json to add "noImplicitAny"
- Relax the strictness with "suppressImplicitAnyIndexErrors"
- Download and install linter
- Run the linter and understanding its benefits
- Talk about non-ES6 class patterns
- Discuss what makes a good candidate for an ES6 class
- Get an overview of steps for switching to ES6 classes
- Identify what will change
- Change it to an ES6 class
- Talk about the benefits
- Identify what will change
- Change it to an ES6 class
- Talk about the benefits
- Two JavaScript examples
- One class example
- Overview of what we are doing in these examples
- Identify what a parameter property is
- Identify how to use the parameter property
- Look at the generated JavaScript
- Identify what an arrow method is
- Understand whether to use it or not, and where
- Check a simple example showing type guarding and then type assertion
- Look at the new syntax for type assertion
- Discuss when we should use a type assertion and when we should use a type guard
- Look at an example where standard type doesn't work
- Use duck typing and a type assertion to narrow down the type
- Use the user-defined type guarding
- Get an overview for implementing function signatures
- Add multiple function signatures
- Use optional and default parameters
- Using rest parameters and spread operators in your application
- Using the spread operator on more than just functions
- Add functions to existing types
- Extend built-in types
- Demonstrate an example on built-in types
- Identify what code refactoring is
- Understand what is automatic and manual code refactoring
- How does TypeScript help us
- Outline the problem
- Explain what a definition file is
- Compile a file with the declaration argument in order to demonstrate a definition file
- Take a look at a few resources – Definitely Typed and TypeScript Handbook
- Go through a simple example on the basics of writing a definition file
- Use an 'any' type in our application
- Define only the functionality that is necessary for your application
- Looking at the DefinitelyTyped collection of definition files
- Install and initialize TypeScript Definition Manager (TSD)
- Download definitions via TSD
- Identify where we find the definition files
- Look at lib.d.ts
- Modify lib.d.ts
- Problems with var
- What is let
- What is const
- Use string interpolation
- Work with multi-line strings
- Tagged templates
- Use const values in a separate module
- Use an enum
- Explicitly versus implicitly assigning values
- Look a bit more on the nature of enums
- Use a const enum
- Differences between const enums and regular enums
- Importing/exporting
- Bare importing
- Re-exporting
- Array destructuring
- Object destructuring
- Resources
- Introduce what a generator is
- Show their execution path
- More practical example
- Look at simple example's speed and memory usage
- Increasing the number of items in the data
- Increasing once again causes the array method to display an out of memory error. Then show how the generator way still uses practically no memory
- Use promises instead of callbacks
- Use async and await
- Look at what a decorator is
- Outline of requirements
- Example with a "log" method decorator
- Create a function that returns a function with a method decorator signature
- Overview of additional resources
- Store code in one application and pushing/pulling it to/from the other application
- Store the code separately and pushing/pulling it to/from the applications
- Take a look at the slice-it pizza sample application
- Look at the problem
- Fix it with interfaces
- Fix it with a shared configuration
- Show principles on how to use code generation
- Explain how an example of this can be found in the sample application
- Identify what JSX files are
- Identify what TSX files are
- Additional resources
- Step through the sample application
- Step through the technologies used
- Review the common methods for compiling
- Look at the build script
- Run the TypeScript build task
- Point out an example of an implicit and an explicit type in the application
- Understand the case for using implicit types
- Where we should implement explicit types
- Avoid it to prevent mistakes
- Use union types instead of using 'any', where applicable
- Use type guards to separate the types out of a union type
- Learn about structural typing and nominal typing
- Get an overview of the benefits of structural typing
- Understand the dangers of structural typing
- Realize the dangers with enum types
- Examine changed and limited behavior in the type system
- Avoid certain language aspects to help write readable code
- Get an overview of "noImplicitAny"
- Change tsconfig.json to add "noImplicitAny"
- Relax the strictness with "suppressImplicitAnyIndexErrors"
- Download and install linter
- Run the linter and understanding its benefits
- Review the common methods for compiling
- Look at the build script
- Run the TypeScript build task
- Review the common methods for compiling
- Look at the build script
- Run the TypeScript build task
- Review the common methods for compiling
- Look at the build script
- Run the TypeScript build task
- Review the common methods for compiling
- Look at the build script
- Run the TypeScript build task
- Point out an example of an implicit and an explicit type in the application
- Understand the...
Additional information
Learning Path: Angular 2 Fundamentals
