Angular 2 Cookbook, 2nd Edition Front Cover

Angular 2 Cookbook, 2nd Edition

  • Length: 374 pages
  • Edition: 2nd Revised edition
  • Publisher:
  • Publication Date: 2017-02-06
  • ISBN-10: 1785881922
  • ISBN-13: 9781785881923
  • Sales Rank: #850643 (See Top 100 Books)
Description

About This Book

From the author of the bestselling AngularJS Web Application Development Cookbook, Angular 2 Cookbook is the newest edition of Packt’s Angular cookbook series.

Book Features

  • 70+ extensive examples: Each recipe provides you with strategies to face every challenge in Angular 2 head on
  • All code from the latest version: Covers no legacy material from the outdated Angular release candidates; all code up-to-date with the latest release of Angular 4.0
  • Webpack application organization: Includes instructions on how to build applications with Webpack, SystemJS, and Angular CLI
  • Companion website links: Each recipe provides a unique URL on the book’s companion website; the page includes links to a working example on Plunker, the recipe’s source code on GitHub, and various related resources. The companion website has no login, and is free to use.
  • Immediately experiment with working code: Almost every recipe in the book has a link on the companion site to a working Plunker. Visit the link and start experimenting with Angular 2 right away – no setup or installation required.
  • Step-by-step examples: All the code in the book is explicitly written out, and every piece of code shown is a step towards building a simple working example. Syntax, design decisions, and refactoring are all fully explained in each recipe.

Major Topics Covered In Depth:

  • Upgrading from Angular 1 to Angular 2
  • Components
  • Directives
  • Template-Driven Forms
  • Reactive Forms
  • Promises
  • RxJS Observables
  • Angular 2 Component Router
  • Services
  • Dependency Injection
  • Angular 2 Modules with NgModule
  • TypeScript Setup and Compilation
  • SystemJS Application Setup
  • Webpack Application Setup
  • Angular CLI Application Setup
  • Unit Testing with Karma and Jasmine
  • End-to-End Testing with Protractor
  • NgZone
  • Angular 2 Renderer
  • Ahead-of-Time (AOT) Compilation
  • Lazy Loaded Applications

Who This Book Is For

This book is for developers who are competent with JavaScript and are looking to dive headfirst into the TypeScript edition of Angular 2. This book is also geared towards developers with experience in Angular 1 who are looking to make the transition.

In Detail

Angular 2 introduces an entirely new way to build applications. It wholly embraces all the newest concepts that are built into the next generation of browsers, and it cuts away all the fat and bloat from Angular 1. This book plunges directly into the heart of all the most important Angular 2 concepts for you to conquer. In addition to covering all the Angular 2 fundamentals, such as components, forms, and services, it demonstrates how the framework embraces a range of new web technologies such as ES6 and TypeScript syntax, Promises, Observables, and Web Workers, among many others.

This book covers all the most complicated Angular concepts and at the same time introduces the best practices with which to wield these powerful tools. It also covers in detail all the concepts you’ll need to get you building applications faster. Oft-neglected topics such as testing and performance optimization are widely covered as well. A developer that reads through all the content in this book will have a broad and deep understanding of all the major topics in the Angular 2 universe.

Table of Contents

Chapter 1: Strategies for Upgrading to Angular 2
Chapter 2: Conquering Components and Directives
Chapter 3: Building Template-Driven and Reactive Forms
Chapter 4: Mastering Promises
Chapter 5: ReactiveX Observables
Chapter 6: The Component Router
Chapter 7: Services, Dependency Injection, and NgModule
Chapter 8: Application Organization and Management
Chapter 9 : Angular 2 Testing
Chapter 10: Performance and Advanced Concepts

To access the link, solve the captcha.