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.
域模型并非一種特殊的圖,卻是這種圖所要傳達(dá)的含義。它并不僅是域?qū)<翌^腦中的知識,它是嚴(yán)格組織出來的,并且有選擇的抽象的知識。一張圖示可以展現(xiàn)以及表達(dá)一種模型,同樣的,一段仔細(xì)斟酌的代碼可以,一句英文也可以。
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.模型和設(shè)計的核心交相輝映。
2.模型是所有團隊成員交流方式的中心。
3.模型是精化后的知識。
posted on 2006-08-21 20:50
littlegai 閱讀(296)
評論(0) 編輯 收藏 引用 所屬分類:
我的讀書筆記