← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.o

领域分组先于服务提取

理解等级:高级

组件领域把相关组件逻辑归组,命名空间层级表达领域、子领域、叶组件,后续才能整体提取服务。须与业务负责人核验:组件都有去处且组内业务内聚。先完成全部领域识别与重构,再迁出,可避免迁出后才发现调查等功能归错领域而反复搬动。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 基于组件的分解模式 · 查看原书依据

      A word of advice, however: don’t apply this pattern until all of the component domains have been identified and refactored. This helps reduce the amount of modification needed to each domain service when moving components (and hence source code) around.

    参考来源

    - 位置:《Software Architecture: The Hard Parts》第5章《基于组件的分解模式》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch05.xhtml) - 结论依据:原文的定义、比较或案例支持“组件领域把相关组件逻辑归组,命名空间层级表达领域、子领域、叶组件,后续才能整体提取服务”;正文据此解释其用途与适用边界。 - 原始内容:A word of advice, however: don’t apply this pattern until all of the component domains have been identified and refactored. This helps reduce the amount of modification needed to each domain service when moving components (and hence source code) around.