知识卡片
领域驱动设计优先处理领域
领域驱动设计是一套面向复杂业务领域的设计思路与取舍顺序:
- 先把用户活动与业务规则作为软件设计的主要关注点。
- 用模型组织复杂领域的概念和逻辑,让设计能够表达它们。
这不否认网络、数据库等技术设计的重要性;原书强调的是,基础设施再完善,也不能代替对业务本身复杂性的处理。对领域简单、主要难点在别处的项目,不能机械照搬这一优先次序。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- The Challenge of Complexity · 查看原书依据
For most software projects, the primary focus should be on the domain and domain logic. Complex domain designs should be based on a model. Domain-driven design is both a way of thinking and a set of priorities, aimed at accelerating software projects that have to deal with complicated domains.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第04章《The Challenge of Complexity》(源文件:_epub-src/0321125215_fm01lev1sec2.html)
- 结论依据:原文先区分技术复杂性与用户活动中的领域复杂性,再明确列出“聚焦领域逻辑”和“复杂领域设计基于模型”两项前提;最后一句是依据其“复杂领域项目”范围所加的适用边界。
- 原始内容:For most software projects, the primary focus should be on the domain and domain logic. Complex domain designs should be based on a model. Domain-driven design is both a way of thinking and a set of priorities, aimed at accelerating software projects that have to deal with complicated domains.