Book description
Develop your front-end expertise and build scalable, enterprise-ready web applications by efficiently using the Angular framework's powerful features and essential libraries
Key Features
- Implement design patterns and Nx for optimal maintainability and scalability of your code base
- Explore reactive programming and state management using RxJS, Signals, and NgRx
- Build and test large-scale Angular monorepo applications using Nx, Jest, and Cypress
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Angular is an open-source, front-end framework used to build web applications using TypeScript. Angular is a component-based framework, which means you build apps by developing and composing reusable components. This framework has all the built-in features needed to develop complex, feature-rich web apps. Written by an Angular specialist working with some of the top companies in the Netherlands, this book teaches you how to harness the full potential of the Angular framework.
You’ll explore different front-end architecture designs and set up a scalable environment for Angular applications and libraries using Nx, before taking a deep dive into the framework's newest and most powerful features. Next, you’ll learn to manipulate the Document Object Model (DOM) with Angular directives, pipes, and animations, and build reusable components like a pro. The book spotlights best practices and flags potential pitfalls at every step of the way. You’ll also learn design patterns that fit well when using the Angular framework, reactive programming with RxJS and Angular signals, and how to manage application states effectively. The book teaches you about accessibility, testing, and optimizing your app for deployment.
By the end of this book, you’ll be able to use Angular effectively to build enterprise-ready, scalable front-end applications.
What you will learn
- Create Nx monorepos ready to handle hundreds of Angular applications
- Reduce complexity in Angular with the standalone API, inject function, control flow, and Signals
- Effectively manage application state using Signals, RxJS, and NgRx
- Build dynamic components with projection, TemplateRef, and defer blocks
- Perform end-to-end and unit testing in Angular with Cypress and Jest
- Optimize Angular performance, prevent bad practices, and automate deployments
Who this book is for
If you are a front-end engineer ready to level up your Angular skills, then this book is for you. This book will help you learn how to build applications of any scale by utilizing the powerful features of the Angular framework. Basic knowledge of the Angular framework will enable you to grasp the concepts explained in this book, including the newest Angular features such as standalone components, Signals, control flow, front-end architecture, building Angular monorepo applications using Nx, reactive programming with RxJS, and managing application state with NgRx.
Table of contents
- Effective Angular
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1:Angular Basics and Setting Up Scalable Nx Workspaces
- Chapter 1: Scalable Front-End Architecture for Angular Applications
- Chapter 2: Powerful Angular Features
- Chapter 3: Enhancing Your Applications with Directives, Pipes, and Animations
- Chapter 4: Building Forms Like a Pro
- Part 2:Handling Application State and Writing Cleaner, More Scalable Code
- Chapter 5: Creating Dynamic Angular Components
- Chapter 6: Applying Code Conventions and Design Patterns in Angular
- Chapter 7: Mastering Reactive Programming in Angular
-
Chapter 8: Handling Application State with Grace
- Understanding application state
- Handling global application state using RxJS
- Handling global application state using Signals
- The problem with using RxJS or Signals for global state management
-
Handling global application state with NgRx
- Installing the @ngrx/store and @ngrx/effects packages
- Defining your first NgRx actions
- Creating your first NgRx effect
- Creating your initial state and first reducer functions
- Defining NgRx selectors
- Adjusting the facade service so that they use NgRx state management
- Adding additional actions, effects, reducers, and selectors
- Summary
- Part 3:Getting Ready for Production with Automated Tests, Performance, Security, and Accessibility
- Chapter 9: Enhancing the Performance and Security of Angular Applications
- Chapter 10: Internationalization, Localization, and Accessibility of Angular Applications
- Chapter 11: Testing Angular Applications
- Chapter 12: Deploying Angular Applications
- Index
- Other Books You May Enjoy
Product information
- Title: Effective Angular
- Author(s):
- Release date: August 2024
- Publisher(s): Packt Publishing
- ISBN: 9781805125532
You might also like
book
Angular Projects - Third Edition
Take Angular to the next level – build captivating real-world applications while exploring modern web technologies …
book
Angular Cookbook
Discover actionable solutions to everyday problems in building applications with Angular and TypeScript, from app design …
book
Angular Projects - Second Edition
PUBLISHER'S NOTE: An updated 2023 edition, compatible with Angular 16, is now available. Key Features Explore …
book
Angular Design Patterns and Best Practices
Unleash the full potential of Angular 17 to create more robust and feature-rich applications effortlessly Key …