← 返回刚才阅读的位置

知识卡片

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

通用语言以模型为骨架

理解等级:初级

通用语言是团队围绕同一领域模型形成的共享表达:术语对应模型概念,词与词的组合反映概念关系。它可包含类和重要操作的名称、已显式建模的业务规则,以及团队常用的设计模式名称。开发者与领域专家用它讨论需求、计划、功能和代码,减少在业务说法与技术说法之间来回翻译。

这里的“通用”指同一模型所覆盖的团队工作;原书随后才讨论多个模型及语言如何并存,不能推成全企业只有一套词。参见 [[团队共享领域模型]]。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第17章《原书第02章|Ubiquitous Language》(源文件:_epub-src/0321125215_ch02lev1sec1.html) - 结论依据:原文把领域模型称为共同语言骨架,列出类名、操作、规则及模式等词汇,说明模型关系构成语言组合规则;又明确指出本节先假定只有一个模型,后文才处理不同模型和语言并存。 - 原始内容:With a conscious effort by the team, the domain model can provide the backbone for that common language, while connecting team communication to the software implementation. ... The vocabulary of that UBIQUITOUS LANGUAGE includes the names of classes and prominent operations. The LANGUAGE includes terms to discuss rules that have been made explicit in the model. ... The model relationships become the combinatory rules all languages have.