Your quick, no-nonsense guide to building real-world apps with Angular 2
About This Book
- The first and best overview of Angular 2 on the market—this guide gathers together everything there is to know about Angular 2 and groups it into intuitive sections.
- This book is your detailed map of every feature and its use cases.
- The author has done all the hard work of fitting everything Angular 2 means for developers together for you, making this book the quickest way to learn Angular 2 from scratch.
Who This Book Is For
This book is targeted at web developers who want to build the next generation of state-of-the-art mobile and desktop web applications with Angular 2. This book does not require you to have prior exposure to either Angular 1.x or 2, although comprehensive knowledge of JavaScript is assumed. It's great for newcomers to Angular who learn best through clear explanations and definitions of concepts.
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
- Get up to speed with TypeScript, a powerful typed superset of JavaScript that compiles to plain JavaScript
- 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
In Detail
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.
Style and approach
This book covers everything there is to know about getting well-acquainted with Angular without bogging you down. Everything is neatly laid out under clear headings for quick consultation, offering you the information required to understand a concept immediately, with short relevant examples of each feature.