Book Image

Accelerating Angular Development with Ivy

By : Lars Gyrup Brink Nielsen, Mateus Carniatto, Jacob Andresen
Book Image

Accelerating Angular Development with Ivy

By: Lars Gyrup Brink Nielsen, Mateus Carniatto, Jacob Andresen

Overview of this book

Angular Ivy is the latest rendering engine and compiler introduced in Angular. Ivy helps frontend developers to make their Angular applications faster, better optimized, and more robust. This easy-to-follow guide will help you get to grips with the new features of Angular Ivy and show you how to migrate your Angular apps from View Engine to Ivy. You'll begin by learning about the most popular features of Angular Ivy with the help of simple stand-alone examples and realize its capabilities by working on a real-world application project. You'll then discover strategies to improve your developer workflow through new debugging APIs, testing APIs, and configurations that support higher code quality and productive development features. Throughout the book, you'll explore essential components of Angular, such as Angular Component Dev Kit (CDK), Ahead-of-time (AOT) compilation, and Angular command line interface (CLI). Finally, you'll gain a clear understanding of these components along with Angular Ivy which will help you update your Angular applications with modern features. By the end of this Angular Ivy book, you will learn about the core features of Angular Ivy, discover how to migrate your Angular View Engine application, and find out how to set up a high-quality Angular Ivy project.
Table of Contents (14 chapters)

Preface

Angular Ivy is the current generation of Google's open source framework. Angular is well known for being bundled with a set of tools to increase application robustness and boost the developer experience. Angular relies on and evolves with TypeScript, the open source typed JavaScript superset by Microsoft.

Accelerating Angular Development with Ivy is the result of thousands of hours of research and experiments to unveil the most exciting runtime APIs, testing APIs, debugging APIs, and tooling that are introduced by Angular Ivy. The authors have carefully selected topics that are widely applicable to different types of Angular applications. Most of the topics discussed in this book have in common that they are largely uncovered by official documentation or other publicly available content.

This book contains three parts. Part 1, A Quick and Functional Guide to Angular Ivy, approaches new features, testing APIs and tooling from a theoretical and informative perspective. Significant topics are put in a business or application context through simple or extended examples to help you discover their value and inspire future use cases.

Part 2, Build a Real-World Application with the Angular Ivy Features You Have Learned, gets your hands dirty with some of the most exciting topics that were introduced in Part 1. We use the real-world application Angular Academy as a starting point and extend it with features through practical step-by-step exercises.

Part 3, Upgrade Your View Engine Application and Development Workflow to Angular Ivy, is an extensive migration guide for updating your application from Angular View Engine to Angular Ivy. As a hidden gem, you will learn about debugging your application at runtime by using Angular Ivy's debugging API on a component. Additionally, Part 3 introduces the Angular Compatibility Compiler and teaches you about optimizations. Part 3 is also the part to refer to to learn about the effect of the Angular Ahead-of-Time compiler and how to work around its edge cases and limitations.

After reading this book, you will have an overview of significant Angular Ivy features. Through realistic examples, you will have gained unique insights into fresh APIs and use cases. You will know the impact Angular Ivy has on your application and how you can maximize its benefits. After discovering how Angular Ivy improves your developer experience through all phases of developing your application, you will have boosted your productivity, and this book will serve as an excellent reference for every Angular Ivy application you develop in the future.