ENGLISH

Angular Design Patterns: Implement the Gang of Four patterns in your apps with Angular

Book information

Publisher
Packt Publishing
Year
2018
ISBN
9781786461728, 1786461722
Language
english
Format
PDF
Filesize
2 MB (1956740 bytes)
Pages
178\197
Time added
2020-07-19 17:18:37

Description

Make the most of Angular by leveraging design patterns and best practices to build stable and high performing apps Key Features Get to grips with the benefits and applicability of using different design patterns in Angular with the help of real-world examples Identify and prevent common problems, programming errors, and anti-patterns Packed with easy-to-follow examples that can be used to create reusable code and extensible designs Book Description This book is an insightful journey through the most valuable design patterns, and it will provide clear guidance on how to use them effectively in Angular. You will explore some of the best ways to work with Angular and how to use it to meet the stability and performance required in today's web development world. You'll get to know some Angular best practices to improve your productivity and the code base of your application. We will take you on a journey through Angular designs for the real world, using a combination of case studies, design patterns to follow, and anti-patterns to avoid. By the end of the book, you will understand the various features of Angular, and will be able to apply well-known, industry-proven design patterns in your work. What you will learn Understand Angular design patterns and anti-patterns Implement the most useful GoF patterns for Angular Explore some of the most famous navigational patterns for Angular Get to know and implement stability patterns Explore and implement operations patterns Explore the official best practices for Angular Monitor and improve the performance of Angular applicationsWho this book is for If you want to increase your understanding of Angular and apply it to real-life application development, then this book is for you. Table of Contents TypeScript Best Practices Angular Bootstrapping Classical Patterns Navigational Patterns Stability Patterns Performance Patterns Operation Patterns Title Page Copyright and Credits Angular Design Patterns Packt Upsell Why subscribe? PacktPub.com Contributors About the author About the reviewer Packt is searching for authors like you Preface Who this book is for What this book covers To get the most out of this book Download the example code files Download the color images Conventions used Get in touch Reviews TypeScript Best Practices Environment setup Node.js and npm for Linux TypeScript Quick overview Best practices Naming Interface redefinitions Getters and setters Constructor Type guards Enumerator Pitfalls Type-casting and JSON Inheritance and polymorphism Summary Angular Bootstrapping Architectural overview Component Services Directives Pipes Routes Angular CLI Installation Creating a new application Generating Serving Deploying Summary Classical Patterns Components Singleton Factory method Observer TypeScript observables with parameters Observing HTTP responses Implementation Understanding the implementation Promises Summary Navigational Patterns MVC Model-view-controller at large Model-view-controller limitations for the frontend Angular's model-view-controller Redux Summary Stability Patterns Timeouts Circuit breaker  Factory Memento Summary Performance Patterns AJAX overkill Proxy patterns Loop count Change detection and immutable states Prototype and the reusable pool Summary Operation Patterns General health metrics Specific metrics Error reporting Method metrics with AOP Summary Other Books You May Enjoy Leave a review - let other readers know what you think

Similar books