The Art of Micro Frontends - Second Edition: Build highly scalable, distributed web applications with multiple teams (微前端的藝術(第二版):與多個團隊共同構建高度可擴展的分佈式網頁應用程式)

Rappl, Florian, Schöttner, Lothar

  • 出版商: Packt Publishing
  • 出版日期: 2024-10-04
  • 售價: $1,580
  • 貴賓價: 9.5$1,501
  • 語言: 英文
  • 頁數: 356
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1835460356
  • ISBN-13: 9781835460351
  • 相關分類: JVM 語言
  • 立即出貨 (庫存=1)

相關主題

商品描述

Apply your web development experience with HTML and JavaScript to build micro frontends for large-scale web projects, independent of frameworks and tooling

Key Features:

- Cut through the complexities of designing a monolithic web architecture using micro frontend architecture

- Explore architecture patterns and their areas of use for building large-scale applications

- Learn how to build, test, and secure your micro frontends efficiently

- Purchase of the print or Kindle book includes a free PDF eBook

Book Description:

The organizational pattern of micro frontends allows you to split web applications into multiple parts, where each part can be owned by an autonomous team. Each team can have its own development and deployment life cycle, allowing every part of an application to be shipped in isolation. Following the strategies outlined in this book, you can avoid complexity while increasing resilience for your frontend.

This updated second edition will guide you through the patterns available to implement a micro frontend solution. You'll learn about micro frontends, the different architecture styles, and their areas of use. Then, you'll learn how to prepare teams for the change to micro frontends, as well as how to adjust the user interface (UI) design and your CSS styles 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 strengthen the security level of your micro frontend solution, while reinforcing your overall knowledge with real-world case studies relating to micro frontends.

By the end of this book, you'll be able to decide whether and how micro frontends should be implemented to achieve high scalability for your web app.

What You Will Learn:

- Understand how to choose the right micro frontend architecture

- Use screen designs and isolated styles for compositional UIs

- Create outstanding developer experiences for micro frontend solutions

- Introduce governance and boundary checks to manage distributed frontends

- Share dependencies and expose micro frontends with module federation

- Build scalable modular web applications from scratch or by migrating an existing monolith

Who this book is for:

This book is for software architects, lead developers, senior web developers, and frontend engineers. Beginner-level knowledge of HTML and CSS, as well as a solid understanding of JavaScript programming and its ecosystem, including Node.js and npm, is assumed.

Table of Contents

- Why Micro Frontends?

- 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

- Sharing Dependencies with Module Federation

- Isolating CSS

- Securing the Application

- Decoupling Using a Discovery Service

- Preparing Teams and Stakeholders

- Dependency Management, Governance, and Security

- Impact of Micro Frontends on UX and Screen Design

- Building a Great Developer Experience

- Case Studies

商品描述(中文翻譯)

應用您在 HTML 和 JavaScript 的網頁開發經驗,為大型網頁專案構建微前端,獨立於框架和工具。

主要特點:
- 簡化使用微前端架構設計單體網頁架構的複雜性
- 探索架構模式及其在構建大型應用程式中的應用領域
- 學習如何高效地構建、測試和保護您的微前端
- 購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書

書籍描述:
微前端的組織模式允許您將網頁應用程式拆分為多個部分,每個部分可以由一個自主團隊擁有。每個團隊可以擁有自己的開發和部署生命週期,允許應用程式的每個部分獨立發佈。遵循本書中概述的策略,您可以在增加前端韌性的同時避免複雜性。

這本更新的第二版將指導您實施微前端解決方案的可用模式。您將了解微前端、不同的架構風格及其應用領域。接著,您將學習如何為微前端的變化準備團隊,以及如何調整用戶界面(UI)設計和 CSS 樣式以實現可擴展性。本書從最簡單的微前端架構變體開始,逐步進展到完全動態的解決方案,這些解決方案允許最大可擴展性和更快的發佈週期。在最後幾章中,您將加強微前端解決方案的安全性,同時通過與微前端相關的實際案例研究增強您的整體知識。

在本書結束時,您將能夠決定是否以及如何實施微前端,以實現您的網頁應用程式的高可擴展性。

您將學到的內容:
- 理解如何選擇合適的微前端架構
- 使用螢幕設計和獨立樣式來構建組合式 UI
- 為微前端解決方案創造卓越的開發者體驗
- 引入治理和邊界檢查來管理分散的前端
- 共享依賴並通過模組聯邦暴露微前端
- 從零開始或通過遷移現有單體構建可擴展的模組化網頁應用程式

本書適合對象:
本書適合軟體架構師、首席開發者、高級網頁開發者和前端工程師。假設讀者具備 HTML 和 CSS 的初級知識,以及對 JavaScript 程式設計及其生態系統(包括 Node.js 和 npm)的扎實理解。

目錄:
- 為什麼選擇微前端?
- 常見挑戰與陷阱
- 部署場景
- 領域分解
- 微前端架構類型
- 網頁方法
- 伺服器端組合
- 邊緣端組合
- 客戶端組合
- 單頁應用組合
- 無狀態 UI
- 通過模組聯邦共享依賴
- 隔離 CSS
- 保護應用程式
- 使用發現服務進行解耦
- 準備團隊和利益相關者
- 依賴管理、治理和安全性
- 微前端對用戶體驗和螢幕設計的影響
- 建立卓越的開發者體驗
- 案例研究