知识卡片

普通读书笔记卡 · 1971.o.1.b.1.a.2.c.1.b.2.f.1

开放协议会传播主机模型语言

理解等级:高级

开放主机服务的接口需要共同词汇,消费者因此会依赖主机团队的模型语言。协议虽然减少逐客定制,却未自动消除语义耦合;客户仍需理解主机的领域概念。

若各方适合用已有的公开交换语言,原书提示可用它降低耦合、方便理解。这里仅提出选项,具体“发布语言”的条件和设计以后续正文为准。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第14章|Open Host Service · 查看原书依据

      This formalization of communication implies some shared model vocabulary—the basis of the SERVICE interfaces. As a result, the other subsystems become coupled to the model of the OPEN HOST, and other teams are forced to learn the particular dialect used by the HOST team. In some situations, using a well-known PUBLISHED LANGUAGE as the interchange model can reduce coupling and ease understanding. . . .

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第111章《Open Host Service》(源文件:_epub-src/0321125215_ch14lev1sec10.html;单元01) - 结论依据:原文说明开放主机服务的接口词汇会使其他系统耦合于主机模型,并指出发布语言可能缓解。 - 原始内容:This formalization of communication implies some shared model vocabulary—the basis of the SERVICE interfaces. As a result, the other subsystems become coupled to the model of the OPEN HOST , and other teams are forced to learn the particular dialect used by the HOST team. In some situations, using a well-known PUBLISHED LANGUAGE as the interchange model can reduce coupling and ease understanding. . . .