知识卡片
设备专用后端适配前端需求
原书微内核案例在API层加入 Backends for Frontends(BFF)适配器:核心返回通用信息,面向 iOS 等设备的适配器再调整数据格式、分页和延迟要求。这样可在不把设备差异塞进核心领域组件的情况下扩展终端类型,但每种前端适配器仍需维护。iOS 是书中示例,不是本项目的实际客户端。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Choosing the Appropriate Architecture Style · 查看原书依据
The API layer supplies general information from the backend, which the BFF adapters translate into a suitable format for the frontend device.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第19章《Choosing the Appropriate Architecture Style》(阅读计划第22项,单元06;源文件:`OEBPS/ch19.html`)
- 结论依据:原书图19-4及正文给出BFF适配器、通用后端输出和iOS设备适配项;维护代价是机制推断。
- 原始内容:The API layer supplies general information from the backend, which the BFF adapters translate into a suitable format for the frontend device.