知识卡片

普通读书笔记卡 · 1979.u.1

痛感提示模型失配

理解等级:中级

事务脚本和活动记录适合较简单的规则。当新增不变量使重复、状态不一致和改动困难不断增加,维护痛感可能意味着支撑子域正在变成核心,也可能只是模型落后。应先重新分析业务,再演进实现;不必为未知未来一开始对所有子域采用最复杂模式。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 演进设计决策 · 查看原书依据

      The main indicator of a change in a subdomain’s type is the inability of the existing technical design to support current business needs. Let’s go back to the example of a supporting subdomain becoming a core subdomain. Supporting subdomains are implemented with relatively simple design patterns for modeling the business logic: namely, the transaction script

    参考来源

    - 位置:《Learning Domain-Driven Design》第11章《演进设计决策》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch11.html) - 结论依据:原文说明技术设计无法支持当前需求是重估信号,并反对预先对所有子域采用复杂模式。 - 原始内容:The main indicator of a change in a subdomain’s type is the inability of the existing technical design to support current business needs. Let’s go back to the example of a supporting subdomain becoming a core subdomain. Supporting subdomains are implemented with relatively simple design patterns for modeling the business logic: namely, the transaction script