Your quick, no-nonsense guide to building real-world apps with Angular 2
Angular 2 was conceived as a complete rewrite in order to fulfill the expectations of modern developers who demand blazing fast performance and responsiveness from their web applications.
This book will help you learn the basics of how to design and build Angular 2 components right from the beginning, providing full coverage of the TypeScript syntax required to follow the examples included. From that point on, we will build upon our first components, interconnect them, and give shape to larger web applications. We will then move to implementing routing in Angular 2, analyzing how to handle application states, and navigating from one component to another in depth. After this, the book features full coverage of web forms and user input validation, later leveraging all of this information to go through the basics of implementing user authentication in Angular 2 and providing a bird’s eye view of the different strategies at hand to secure pages and areas of your website. Animating components and DOM elements with Angular 2 is also covered in this book. The final part of this book provides broad insights into how to unit test components and other modules such as services, directives, routes or pipes.
What You Will Learn
- Set up your working environment in order to have all the tools you need to start building Angular 2 components with minimum effort
- Take full control of how your data is rendered and updated upon data changes
- Build powerful web applications based on structured component hierarchies that emit and listen to events and data changes throughout the elements tree
- Explore how to consume external APIs and data services and allow data editing by harnessing the power of web forms made with Angular 2
- Deliver seamless web navigation experiences with application routing and state handling common features with ease
- Discover how to bulletproof your applications by introducing smart unit testing techniques and debugging tools