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. A diagram can represent and communicate a model, as can carefully written code, as can an English sentence.
域模型并非一种特殊的图,却是这种图所要传达的含义。它并不仅是域专家头脑中的知识,它是严格组织出来的,并且有选择的抽象的知识。一张图示可以展现以及表达一种模型,同样的,一段仔细斟酌的代码可以,一句英文也可以。
In domain-driven design, three basic uses determine the choice of a model.
1.The model and the heart of the design shape each other.
2.
The model is the backbone of a language used by all team members.
3.
The model is distilled knowledge.
在DDD中,三种基本用途决定了模型的选择。
1.模型和设计的核心交相辉映。
2.模型是所有团队成员交流方式的中心。
3.模型是精化后的知识。
posted on 2006-08-21 20:50
littlegai 阅读(281)
评论(0) 编辑 收藏 引用 所属分类:
我的读书笔记