The Art of Micro Frontends: Build websites using compositional UIs that grow naturally as your application scales
- Length: 310 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2021-09-09
- ISBN-10: 1800563566
- ISBN-13: 9781800563568
- Sales Rank: #1266818 (See Top 100 Books)
Apply your experience of web development with HTML and JavaScript to build micro frontends for large-scale web projects using frameworks such as React and popular web tooling such as Node.js with Express or webpack
Key Features
- 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
Book Description
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
This book is for software/solution architects or (mostly lead) developers as well as web developers and frontend engineers. Beginner-level knowledge of HTML and CSS along with a solid understanding of JavaScript programming and its ecosystem, including Node.js and NPM, is assumed.
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