Angular Design Patterns
图书信息
| 作者 | Mathieu Nayrolles |
| 出版社 | Packt Publishing |
| ISBN | 9781786460790 |
| 出版时间 | 2018-07-30 |
| 字数 | 20.0万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
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 applications Who 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.
目录
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
- 做好男人(百读)
- Desperate Sons(Standiford, Les)
- 2020年江西省军转干部安置考试《法律基础知识》考点手册(圣才电子书)
- 151 Provérbios de Shakespeare(Willian Castro)
- 热处理工程师理论基础(刘宗昌)
- 完美应用Ubuntu(第4版)(何晓龙)
- Orlando Furioso: Bilingual Edition (English – Italian)(Ludovico Ariosto)
- Delphi Collected Poetical Works of John Gower (Illustrated)(John Gower)
