知识卡片
领域模型是选择性抽象
领域模型是团队按问题用途组织起来的一部分领域知识:它挑选重要概念、结构和关系,帮助人理解并设计软件。它既不是一张图,也不是专家脑中全部知识;图、代码或文字只是表达同一个模型的不同媒介。建模不追求“越像现实越好”,而要检查这套抽象能否支持当前问题的分析与实现。参见 [[模型按问题有意简化]]。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Part I: Putting the Domain Model to Work · 查看原书依据
A domain model is not a particular diagram; it is the idea that the diagram is intended to convey. It is not just the knowledge in a domain expert's head; it is a rigorously organized and selective abstraction of that knowledge
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第09章《Part I: Putting the Domain Model to Work》(源文件:_epub-src/0321125215_part01.html)
- 结论依据:原文把领域模型说成严格组织、选择性抽取的知识,并明确否定“某张图”与“专家头脑中全部知识”;又列图、代码和句子都可传达模型,并以用途而非逼真度评判建模。
- 原始内容:A domain model is not a particular diagram; it is the idea that the diagram is intended to convey. It is not just the knowledge in a domain expert's head; it is a rigorously organized and selective abstraction of that knowledge ... A diagram can represent and communicate a model, as can carefully written code, as can an English sentence.