知识卡片
设计决策树只是起点
子域判断可以串起业务实现、架构和测试重点,形成一致的技术选择,但经验规则不能脱离团队背景。熟练掌握事件溯源的团队可能觉得统一使用它更简单,另一些团队采用按需选择更高效。决策需要解释为什么当前收益大于新增复杂性,并随着知识和需求变化验证有效性。
相关:[[启发式聚焦关键线索]]。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 设计启发式 · 查看原书依据
The decision tree is based on my preference to use the simple tools, and resort to the advanced patterns—domain model, event-sourced domain model, CQRS, and so on—only when absolutely necessary. On the other hand, I’ve met teams that have a lot of experience implementing the event-sourced domain model and therefore use it for all their
参考来源
- 位置:《Learning Domain-Driven Design》第10章《设计启发式》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch10.html)
- 结论依据:原文围绕本卡所述机制给出定义、适用条件及相关取舍,以下摘录为直接依据。
- 原始内容:The decision tree is based on my preference to use the simple tools, and resort to the advanced patterns—domain model, event-sourced domain model, CQRS, and so on—only when absolutely necessary. On the other hand, I’ve met teams that have a lot of experience implementing the event-sourced domain model and therefore use it for all their