The Art of Micro Frontends: Build websites using compositional UIs that grow naturally as your application scales
- Cut through the complexities of designing a monolithic web architecture using micro frontend architecture
- Explore architecture patterns for building large-scale applications
- Learn how to build, test, and secure your micro frontends efficiently
Micro frontend is a web architecture for frontend development borrowed from the idea of microservices in software development, where each module of the frontend is developed and shipped in isolation to avoid complexity and a single point of failure for your frontend.
Complete with hands-on tutorials, projects, and self-assessment questions, this easy-to-follow guide will take you through the patterns available for implementing a micro frontend solution. You’ll learn about micro frontends in general, the different architecture styles and their areas of use, how to prepare teams for the change to micro frontends, as well as how to adjust the UI design for scalability. Starting with the simplest variants of micro frontend architectures, the book progresses from static approaches to fully dynamic solutions that allow maximum scalability with faster release cycles. In the concluding chapters, you’ll reinforce the knowledge you’ve gained by working on different case studies relating to micro frontends.
By the end of this book, you’ll be able to decide if and how micro frontends should be implemented to achieve scalability for your user interface (UI).
What you will learn
- Understand how to choose the right micro frontend architecture
- Design screens for compositional UIs
- Create a great developer experience for micro frontend solutions
- Achieve enhanced user experiences with micro frontends
- Introduce governance and boundary checks for managing distributed frontends
- Build scalable modular web applications from scratch or by migrating an existing monolith
Who this book is for
Table of Contents
- Why Microfrontends?
- Common Challenges and Pitfalls
- Deployment Scenarios
- Domain Decomposition
- Types of Micro Frontend Architectures
- The Web Approach
- Server-Side Composition
- Edge-Side Composition
- Client-Side Composition
- SPA Composition
- Siteless UIs
- Preparing Teams and Stakeholders
- Dependency Management, Governance and Security
- Impact on UX and Screen Design
- Developer Experience
- Case Studies