Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Angular 2 Cookbook

You're reading from   Angular 2 Cookbook Discover over 70 recipes that provide the solutions you need to know to face every challenge in Angular 2 head on

Arrow left icon
Product type Paperback
Published in Jan 2017
Publisher Packt
ISBN-13 9781785881923
Length 464 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Matthew Frisbie Matthew Frisbie
Author Profile Icon Matthew Frisbie
Matthew Frisbie
Patrick Gillespie Patrick Gillespie
Author Profile Icon Patrick Gillespie
Patrick Gillespie
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

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

What this book covers

This book is up to date for the 2.4 release and is compatible through the 4.0 release as well, and it does not have any code based on the beta or release candidates.

Chapter 1, Strategies for Upgrading to Angular 2, is an overview of a number of ways to migrate an Angular 1 application to Angular 2. Although there is no one-size-fits-all upgrade strategy, you will find that these recipes demonstrate some ways that will allow you to preserve a large amount of your existing Angular 1 code base.

Chapter 2, Conquering Components and Directives, gives a broad and deep set of examples involving what Angular 2 components are and how to use them. Angular 2 applications are built entirely of components, and this chapter offers you a total rundown of their role.

Chapter 3, Building Template-Driven and Reactive Forms, covers the reworked Angular 2 form modules. Angular 2 offers you two primary styles of erecting form features, and this chapter covers both of them in depth.

Chapter 4, Mastering Promises, shows how the Promise object has a role in Angular 2. Although RxJS has subsumed some of the usefulness of Promises, they are still first-class citizens in ES6 and still play a crucial role.

Chapter 5, ReactiveX Observables, gives you a crash course in how Angular 2 has embraced reactive programming. It includes recipes that demonstrate the basics of Observables and Subjects, as well as advanced implementations that take RxJS to its limits.

Chapter 6, The Component Router, takes you through the totally reworked routing module in Angular 2. It covers both routing basics as well as an array of advanced routing concepts unique to Angular 2.

Chapter 7, Services, Dependency Injection, and NgModule, describes the new and improved dependency injection and module strategies of Angular 2. It gives you all the pieces you need to break your application into independent services and modules, as well as ideal strategies for connecting those pieces together.

Chapter 8, Application Organization and Management, is a broad overview of how you can manage your Angular 2 application inside and outside the client. Angular 2 introduces a number of layers of complexity that require advanced tooling, and this chapter will guide you through how to approach them.

Chapter 9, Angular 2 Testing, will guide you through both how to set up test suites for Angular 2 as well as how to write various types of tests for these suites. Many developers avoid testing when learning a framework anew, and this chapter gently guides you through Angular 2's excellent test infrastructure.

Chapter 10, Performance and Advanced Concepts, is a crash course on the dizzying array of complex concepts that Angular 2 comes with out of the box. This chapter covers program organization and architecture, framework features and tooling, as well as compile-time optimizations.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime