返回主题:领域驱动设计统一过程

知识卡片

普通读书笔记卡 · 1972.ak.1

未知领域先留宽边界

理解等级:高级

核心子域在早期常伴随高不确定性与频繁变化,过早拆成细小物理服务会让一次业务变化跨上下文协调。可先用较宽限界上下文纳入核心子域及其密切协作子域,内部保持逻辑模块;知识稳定后再拆。逻辑重构通常比物理边界重构便宜,大小应服从模型而非预设尺寸。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 设计启发式 · 查看原书依据

      Broad bounded context boundaries, or those that encompass multiple subdomains, make it safer to be wrong about the boundaries or the models of the included subdomains. Refactoring logical boundaries is considerably less expensive than refactoring physical boundaries. Hence, when designing bounded contexts, start with wider boundaries. If required, decompose the wide boundaries into smaller ones

    参考来源

    - 位置:《Learning Domain-Driven Design》第10章《设计启发式》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch10.html) - 结论依据:原文围绕本卡所述机制给出定义、适用条件及相关取舍,以下摘录为直接依据。 - 原始内容:Broad bounded context boundaries, or those that encompass multiple subdomains, make it safer to be wrong about the boundaries or the models of the included subdomains. Refactoring logical boundaries is considerably less expensive than refactoring physical boundaries. Hence, when designing bounded contexts, start with wider boundaries. If required, decompose the wide boundaries into smaller ones