更新时间:2021-07-16 13:04:43
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Scale from a JavaScript Perspective
Scaling influencers
Architectural perspectives
The browser is a unique environment
Making architectural trade-offs
Frameworks versus libraries
Summary
Chapter 2. Influencers of Scale
Scaling users
Scaling features
Scaling development
Influencer checklist
Chapter 3. Component Composition
Generic component types
Extending generic components
Mapping features to components
Decomposing components
Pluggable business logic
Organizing component code
Chapter 4. Component Communication and Responsibilities
Communication models
Communication data schema
Traceable component communication
Communication overhead
Areas of communication responsibility
Loosely-coupled communication
Component layers
Chapter 5. Addressability and Navigation
Approaches to routing
How routers work
URI parts and patterns
Mapping resources to URIs
Triggering routes
Router configuration
Troubleshooting routers
Chapter 6. User Preferences and Defaults
Preference types
Supporting locales
Setting the locale
Generic component configuration
Configuring behavior
Changing the look and feel
Performance implications
Chapter 7. Load Time and Responsiveness
Component artifacts
Loading components
Communication bottlenecks
Component optimization
API data
Optimizing components at runtime
Chapter 8. Portability and Testing
Decoupling the backend
Feature design process
Unit testing tools
Testing mock scenarios
End-to-end tests and continuous integration
Chapter 9. Scaling Down
Scaling constraints
Conflicting features
Design failures
Application composition
Chapter 10. Coping with Failure
Failing fast
Fault tolerance
Failure recovery
Performance and complexity
Logging and debugging
Improving the architecture
Index