知识卡片
核心域应小而集中高水平设计
核心域是应用目的中最有区别性、最居中的领域模型部分,是软件价值的主要来源。大型系统组件都可能必要,却不会同等值得深挖。应把核心从辅助模型与代码中凸显出来,维持可掌握的大小,让强开发者与领域专家优先投入深模型和柔性设计。
其他部分也要达到可用质量,但其投入需说明如何支撑核心。时间冲突时,原书建议优先重构最影响核心的部分;这是一条资源分配原则,不是说所有非核心代码可忽略。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第15章|Core Domain · 查看原书依据
Boil the model down. Find the CORE DOMAIN and provide a means of easily distinguishing it from the mass of supporting model and code. Bring the most valuable and specialized concepts into sharp relief. Make the CORE small.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第117章《Core Domain》(源文件:_epub-src/0321125215_ch15lev1sec1.html;单元01)
- 结论依据:原文要求缩小并突出核心域,将顶尖人才投入核心,其他投入以支持核心为依据。
- 原始内容:Boil the model down. Find the CORE DOMAIN and provide a means of easily distinguishing it from the mass of supporting model and code. Bring the most valuable and specialized concepts into sharp relief. Make the CORE small.