Explore updated and new recipes to fill gaps in your knowledge while using Angular in production
Discover industry best practices and tooling to enhance your development experience with Angular’s renaissance
Gain an understanding of advanced Angular topics to become a proficient enterprise web developer
Description
Angular has long been the framework of choice for web development projects of various scales, offering much-needed stability and a rich tooling ecosystem for building production-ready web and mobile apps. This recipe-based guide ensures high performance apps with the latest version of Angular, helping you to build up your Angular expertise with a wide range of recipes across key tasks in web development.
In this second edition, the recipes have been updated, added, and improved based on developer feedback, new challenges, and Angular 17. The first few chapters will show you how to utilize core Angular concepts such as components, directives, and services to get you ready for building frontend web apps. You’ll then develop web components with Angular and go on to learn about advanced concepts such as dynamic components loading and state management with NgRx for achieving real-time performance.
Later chapters will focus on recipes for effectively testing your Angular apps to make them fail-safe, before progressing to techniques for optimizing your app’s performance. Finally, you’ll create Progressive Web Apps (PWA) with Angular to provide an intuitive experience for users.
By the end of this book, you’ll be able to create full-fledged, professional-looking Angular apps and have the skills you need for frontend development.
Who is this book for?
This book is for intermediate-level Angular developers looking for actionable solutions to common problems in Angular enterprise development. Mobile developers using Angular will also find the recipes in this book useful. Working experience with JavaScript and TypeScript is necessary to understand the topics covered in this book more effectively.
What you will learn
Gain a better understanding of how components, services, and directives work in Angular
Get to grips with creating Progressive Web Apps using Angular from scratch
Build rich animations and add them to your Angular apps
Manage your app's data reactivity using RxJS
Implement state management for your Angular apps with NgRx
Optimize the performance of your new and existing web apps
Write fail-safe unit tests and end-to-end tests for your web apps using Jest and Cypress
Get familiar with Angular CDK components for designing effective Angular components
I'm still reading the book, but so far I'm very satisfied with the content. Well organized and objective.
Feefo Verified review
Stefan DjokicFeb 26, 2024
5
As a backend developer, I read this book because I was about to land on a project that uses Angular as a front-end technology. The book is quite clearly conceived, and everything is properly explained through examples. It helped me, with all the recommendations!
Amazon Verified review
Chetan NadaJul 21, 2024
5
I recently read "Angular Cookbook, 2nd Edition," by Muhammad Ahsan Ayaz and found it to be an excellent resource for mastering Angular development. The book offers over 80 actionable recipes that have deepened my understanding of Angular through practical, real-world applications.This guide helps you understand how components, services, and directives work in Angular. It's a must-have for anyone looking to improve their knowledge of this powerful framework.You'll find advanced techniques for content delivery, control flow, rich animations, parallel programming, Angular CDK, and performance optimization.Here's a brief chapter summary:Chapter 1: Communication between parent and child components.Chapter 2: Working with structural directives and the Directive Composition API.Chapter 3: Dependency injection and internal mechanisms.Chapter 4: Multi-state and keyframe animations.Chapter 5: RxJS for sequential and parallel HTTP calls.Chapter 6: Core concepts of the NgRX library.Chapter 7: Navigation and routing.Chapter 8: Template-driven and reactive forms, including testing forms.Chapter 9: Using Angular CDK for optimized content.Chapter 10: Unit testing with Jest.Chapter 11: E2E tests with Cypress, including form validation and HTTP call mocking.Chapter 12: Techniques for optimizing app performance.Chapter 13: Creating PWAs with Angular.The practical examples are well-categorized, carefully explained, and highly useful. This book is a must-have for developers. I highly recommend it to anyone eager to broaden their expertise in Angular.
Amazon Verified review
shubham kambleJul 20, 2024
5
This book is perfect for any individual or team that is looking to learn how to write scalable, enterprise-grade Angular applications. This book provides 80 actionable recipes along with code samples, design patterns, and effective narratives around challenging concepts faced by any team leveraging Angular. This book will help you become a better Angular developer.Whether you’re just getting started with Angular, or are looking for a solid reference to back up industry experience, this book will be greatly helpful.
Muhammad Ahsan Ayaz is a Google developers expert in Angular, a software architect, and a head instructor of JavaScript at the School of Applied Technology. He loves helping the start-up ecosystem and product owners to bring their ideas to life using JavaScript, Angular, and web technologies. He has built several open-source projects that he maintains and he speaks at events, along with creating articles and video courses.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.