知识卡片
从命令事件找边界
完整探索触发关系后,把接收相关命令并产出相关事件的概念组织为聚合;再根据业务关联或策略耦合,找出相关聚合组成的上下文候选。这里得到的是建模假设,不能略过事务要求和模型冲突分析而直接当作最终部署图。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 事件风暴 · 查看原书依据
Once all the events and commands are represented, the participants can start thinking about organizing related concepts in aggregates. An aggregate receives commands and produces events. Aggregates are represented as large yellow sticky notes, with commands on the left and events on the right, as depicted in Figure 12-10. Figure 12-10. Commands and domain events
参考来源
- 位置:《Learning Domain-Driven Design》第12章《事件风暴》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch12.html)
- 结论依据:原文最后两步先组织聚合,再从功能关系和策略耦合中寻找限界上下文候选。
- 原始内容:Once all the events and commands are represented, the participants can start thinking about organizing related concepts in aggregates. An aggregate receives commands and produces events. Aggregates are represented as large yellow sticky notes, with commands on the left and events on the right, as depicted in Figure 12-10. Figure 12-10. Commands and domain events