← 返回刚才阅读的位置

知识卡片

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

发布语言是文档化共享交换模型

理解等级:高级

发布语言是一套面向多方交换的共享领域表达:相关社群容易取得其定义,文档足够清楚,不同团队可独立实现而仍能兼容。各系统把本地模型按需译入、译出它,无须让其中一方的内部模型成为其他人的标准。

与[[开放主机服务复用共同集成协议]]配合时,公开交换模型可减少客户对主机私有领域方言的依赖。它不要求从零发明;已有且适用的发布语言可以直接采用。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第14章|Published Language · 查看原书依据

      a model of the domain for interchange between systems, even though that model may not be used internally by those systems. Here we go a step further and publish that language, or find one that is already published. By publish I simply mean that the language is readily available to the community that might be interested in using it, and is sufficiently documented to allow independent interpretations to be compatible.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第112章《Published Language》(源文件:_epub-src/0321125215_ch14lev1sec11.html;单元01) - 结论依据:原文定义“发布”为相关社群可获取、文档足够支持独立兼容实现,并要求共享语言作为交换媒介。 - 原始内容:a model of the domain for interchange between systems, even though that model may not be used internally by those systems. Here we go a step further and publish that language, or find one that is already published. By publish I simply mean that the language is readily available to the community that might be interested in using it, and is sufficiently documented to allow independent interpretations to be compatible.