知识卡片
分析模式提供建模起点
分析模式是针对常见业务关系的一组概念组合:它把别的项目中试过的模型及其细节问题整理为起点。面对相似领域问题时,可先借它识别对象和关系,再回到当前领域语言、约束与场景中重构、试验。
它比实体、值对象等通用构件更具体,却不是即装即用的技术方案;“见过相似形状”只提供候选模型,不证明当前业务与原案例等同。后续章节会用 Fowler 的库存与会计模式作教学例子,不能把示例当模式全集。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter Eleven. Applying Analysis Patterns · 查看原书依据
The analysis patterns Fowler presents arose from experience in the field, and so they are practical, in the right situation. Such patterns provide someone facing a challenging domain with very valuable starting points for their iterative development process. The name emphasizes their conceptual nature. Analysis patterns are not technological solutions; they are guides to help you work out a model in a particular domain.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第83章《Chapter Eleven. Applying Analysis Patterns》(源文件:_epub-src/0321125215_ch11.html;单元01)
- 结论依据:原文把分析模式界定为概念性模型起点,区分于技术方案和可直接套用的答案,并强调仍须迭代试验。
- 原始内容:The analysis patterns Fowler presents arose from experience in the field, and so they are practical, in the right situation. Such patterns provide someone facing a challenging domain with very valuable starting points for their iterative development process. The name emphasizes their conceptual nature. Analysis patterns are not technological solutions; they are guides to help you work out a model in a particular domain.