Angular 2 Cookbook - Second Edition
立即出貨 (庫存 < 3)
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.
- 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 2.4
- 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
- Template-Driven Forms
- Reactive Forms
- RxJS Observables
- Angular 2 Component Router
- 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
- Angular 2 Renderer
- Ahead-of-Time (AOT) Compilation
- Lazy Loaded Applications
Who This Book Is For
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.
Style and approach
This book follows a cookbook approach--each recipe presents a unique problem to which the solution is presented in a clear, concise, and manner step-by-step manner. With practical hands-on guidance in each and every recipe, you'll be able to get to grips with the concepts.