Angular design patterns implement the Gang of Four patterns in your apps with Angular
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, p...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt
2018.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630685106719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Chapter 1: 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
- Chapter 2: Angular Bootstrapping
- Architectural overview
- Component
- Services
- Directives
- Pipes
- Routes
- Angular CLI
- Installation
- Creating a new application
- Generating
- Serving
- Deploying
- Summary
- Chapter 3: Classical Patterns
- Components
- Singleton
- Factory method
- Observer
- TypeScript observables with parameters
- Observing HTTP responses
- Implementation
- Understanding the implementation
- Promises
- Summary
- Chapter 4: Navigational Patterns
- MVC
- Model-view-controller at large
- Model-view-controller limitations for the frontend
- Angular's model-view-controller
- Redux
- Summary
- Chapter 5: Stability Patterns
- Timeouts
- Circuit breaker
- Factory
- Memento
- Summary
- Chapter 6: Performance Patterns
- AJAX overkill
- Proxy patterns
- Loop count
- Change detection and immutable states
- Prototype and the reusable pool
- Summary
- Chapter 7: Operation Patterns
- General health metrics
- Specific metrics
- Error reporting
- Method metrics with AOP
- Summary
- Other Books You May Enjoy
- Index.