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
- 尼采与基督教(刘小枫)
- 纸上王国(邓安庆)
- 一年级爱科学:异想天开的玉米粒(代晓琴)
- 软装设计师手册(简明敏)
- 从Paxos到Zookeeper:分布式一致性原理与实践(倪超)
- 女性排毒与食补(元秀 编著)
- 2020—2021年中国战略性新兴产业发展蓝皮书(精装版)(中国电子信息产业发展研究院)
- 赢在思维——初中化学拉分题专项集训300题(9年级+中考)(彭嘉全)
