知识卡片

普通读书笔记卡 · 2275.as.6.f.3.c.1.e.2.a.2

体验层靠近客户优化

理解等级:高级

面向用户的接口需要减少请求、缓存稳定内容、管理会话并验证输入。BFF为不同前端提供适配,避免移动端与桌面被同一后端表示束缚。体验域承担这些规则,源域仍负责其业务事实与权限。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Services and API Management · 查看原书依据

      Another way to improve the user experience and meet frontend clients’ needs is to handle user interface– and experience-related logic processing with an additional layer or additional components.17 You can optimize this layer for specific frontends. Mobile or single-page applications, for example, could have different optimizations and require different components than desktop-based web traffic. You may want to utilize GraphQL in this layer.

    参考来源

    - 位置:《Data Management at Scale》第05章《Services and API Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch05.html) - 结论依据:原文对optimize this layer for specific frontends的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。 - 原始内容:Another way to improve the user experience and meet frontend clients’ needs is to handle user interface– and experience-related logic processing with an additional layer or additional components.17 You can optimize this layer for specific frontends. Mobile or single-page applications, for example, could have different optimizations and require different components than desktop-based web traffic. You may want to utilize GraphQL in this layer.