← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 4359.f

前端边界可与服务边界对齐

理解等级:中级

微服务原本希望界面也属于相应的限界上下文,但 Web 应用的拆分约束使这一目标难以直接实现。原书列出两种常见形态:单体前端由一个界面经 API 层调用服务;微前端把界面组件与对应后端服务按相近粒度隔离。选择时看界面能否独立演进,以及拆分、集成和交付成本;微前端是可选的边界安排,不是使用微服务的前提。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Microservices Architecture · 查看原书依据

      The micro-frontend approach uses components at the UI level to create a synchronous level of granularity and isolation in the UI and the backend services, thus forming relationships between the UI components and corresponding backend services.

    参考来源

    - 位置:《Fundamentals of Software Architecture》原书第18章《Microservices Architecture》(阅读计划第21项,单元09;源文件:`OEBPS/ch18.html`) - 结论依据:原书图18-5、18-6分别展示单体前端与微前端,并说明后者的界面组件与后端服务对应;末句的选择条件是据此作出的设计推断。 - 原始内容:The micro-frontend approach uses components at the UI level to create a synchronous level of granularity and isolation in the UI and the backend services, thus forming relationships between the UI components and corresponding backend services.