Micro Frontends in Action
暫譯: 微前端實戰

Geers, Michael

買這商品的人也買了...

相關主題

商品描述

Browser-based software can quickly become complex and difficult to maintain, especially when it's implemented as a large single-page application. By adopting the micro frontends approach and designing your web apps as systems of features, you can deliver faster feature development, easier upgrades, and pick and choose the technology you use in your stack. Micro Frontends in Action is your guide to simplifying unwieldy frontends by composing them from small, well-defined units.

Summary

Browser-based software can quickly become complex and difficult to maintain, especially when it's implemented as a large single-page application. By adopting the micro frontends approach and designing your web apps as systems of features, you can deliver faster feature development, easier upgrades, and pick and choose the technology you use in your stack. Micro Frontends in Action is your guide to simplifying unwieldy frontends by composing them from small, well-defined units.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Micro frontends deliver the same flexibility and maintainability to browser-based applications that microservices provide for backend systems. You design your project as a set of standalone components that include their own interfaces, logic, and storage. Then you develop these mini-applications independently and compose them in the browser.

About the Book

Micro Frontends in Action teaches you to apply the microservices approach to the frontend. You'll start with the core micro frontend design ideas. Then, you'll build an e-commerce application, working through practical issues like server-side and client-side composition, routing, and maintaining a consistent look and feel. Finally, you'll explore team workflow patterns that maximize the benefit of developing application components independently.

What's Inside

- Create a unified frontend from independent applications
- Combine JavaScript code from multiple frameworks
- Browser and server-side composition and routing
- Implement effective dev teams and project workflow

About the Reader

For web developers, software architects, and team leaders.

About the Author

Michael Geers is a software developer specializing in building user interfaces.

Table of Contents

PART 1 - GETTING STARTED WITH MICRO FRONTENDS

1 What are micro frontends?

2 My first micro frontends project

PART 2 - ROUTING, COMPOSITION, AND COMMUNICATION

3 Composition with Ajax and server-side routing

4 Server-side composition

5 Client-side composition

6 Communication patterns

7 Client-side routing and the application shell

8 Composition and universal rendering

9 Which architecture fits my project?

PART 3 - HOW TO BE FAST, CONSISTENT, AND EFFECTIVE

10 Asset loading

11 Performance is key

12 User interface and design system

13 Teams and boundaries

14 Migration, local development, and testing

商品描述(中文翻譯)

瀏覽器基礎的軟體可能會迅速變得複雜且難以維護,特別是當它被實現為大型單頁應用程式時。透過採用微前端(micro frontends)方法並將您的網頁應用程式設計為功能系統,您可以實現更快的功能開發、更簡單的升級,並自由選擇您在技術堆疊中使用的技術。《微前端實戰(Micro Frontends in Action)》是您簡化繁瑣前端的指南,透過將其組合成小型、明確定義的單元來實現。

**摘要**

瀏覽器基礎的軟體可能會迅速變得複雜且難以維護,特別是當它被實現為大型單頁應用程式時。透過採用微前端方法並將您的網頁應用程式設計為功能系統,您可以實現更快的功能開發、更簡單的升級,並自由選擇您在技術堆疊中使用的技術。《微前端實戰》是您簡化繁瑣前端的指南,透過將其組合成小型、明確定義的單元來實現。

購買印刷書籍可獲得Manning Publications提供的免費電子書,格式包括PDF、Kindle和ePub。

**關於技術**

微前端為基於瀏覽器的應用程式提供了與微服務(microservices)對後端系統所提供的相同靈活性和可維護性。您將項目設計為一組獨立的組件,這些組件包含自己的介面、邏輯和存儲。然後,您獨立開發這些迷你應用程式並在瀏覽器中組合它們。

**關於本書**

《微前端實戰》教您如何將微服務方法應用於前端。您將從核心的微前端設計理念開始。接著,您將構建一個電子商務應用程式,處理伺服器端和客戶端組合、路由以及保持一致的外觀和感受等實際問題。最後,您將探索最大化獨立開發應用程式組件的團隊工作流程模式。

**內容概覽**

- 從獨立應用程式創建統一的前端
- 結合來自多個框架的JavaScript代碼
- 瀏覽器和伺服器端的組合與路由
- 實施有效的開發團隊和項目工作流程

**讀者對象**

適合網頁開發人員、軟體架構師和團隊領導者。

**作者介紹**

**Michael Geers** 是一位專注於構建用戶介面的軟體開發人員。

**目錄**

第一部分 - 微前端入門

1. 什麼是微前端?
2. 我的第一個微前端專案

第二部分 - 路由、組合與通訊

3. 使用Ajax和伺服器端路由的組合
4. 伺服器端組合
5. 客戶端組合
6. 通訊模式
7. 客戶端路由和應用程式外殼
8. 組合和通用渲染
9. 哪種架構適合我的專案?

第三部分 - 如何快速、一致且有效

10. 資源加載
11. 性能是關鍵
12. 用戶介面和設計系統
13. 團隊與邊界
14. 遷移、本地開發和測試

作者簡介

Michael Geers is a software developer specializing in building user interfaces. He has written software for the web since he was a teenager. In the last few years, he has worked on various customer projects with verticalized architectures. He shares his experiences on this topic at international conferences, in a series of magazine articles, and runs the site micro-frontends.org.

作者簡介(中文翻譯)

邁克爾·基爾斯是一位專注於構建用戶界面的軟體開發人員。他從青少年時期開始就為網路編寫軟體。在過去幾年中,他參與了多個具有垂直架構的客戶專案。他在國際會議上分享他在這個主題上的經驗,並在一系列雜誌文章中發表相關內容,同時經營網站 micro-frontends.org。