2 options
Angular design patterns : implement the Gang of Four patterns in your apps with Angular / Mathieu Nayrolles.
- Format:
- Book
- Author/Creator:
- Nayrolles, Mathieu, author.
- Language:
- English
- Subjects (All):
- AngularJS (Software framework).
- Application software--Development.
- Application software.
- Web site development.
- Physical Description:
- 1 online resource (178 pages)
- Edition:
- 1st edition
- Place of Publication:
- Birmingham : Packt, 2018.
- System Details:
- text file
- Summary:
- 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. Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
- Contents:
- 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
- Chapter 3: Classical Patterns
- Components
- Singleton
- Factory method
- Observer
- TypeScript observables with parameters
- Observing HTTP responses
- Implementation
- Understanding the implementation
- Promises
- Chapter 4: Navigational Patterns
- MVC
- Model-view-controller at large
- Model-view-controller limitations for the frontend
- Angular's model-view-controller
- Redux
- Chapter 5: Stability Patterns
- Timeouts
- Circuit breaker
- Factory
- Memento
- Chapter 6: Performance Patterns
- AJAX overkill
- Proxy patterns
- Loop count
- Change detection and immutable states
- Prototype and the reusable pool
- Chapter 7: Operation Patterns
- General health metrics
- Specific metrics
- Error reporting
- Method metrics with AOP
- Other Books You May Enjoy
- Index.
- Notes:
- Description based on print version record.
- ISBN:
- 9781786461728
- 1786461722
- OCLC:
- 1050953420
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.