知识卡片
领域分区缩小变更范围
可维护性是增删改功能及内部升级的难易程度,受组件耦合、内聚、复杂度、大小和分区方式影响。按技术层分区时,一个愿望清单过期字段会横跨界面、业务、数据库,并牵涉多个团队;按业务领域聚合可把相关修改限制在领域部署单元,细粒度服务进一步限制到功能。其中耦合观察组件如何相互依赖,内聚观察内部操作如何相关,语句数近似组件规模;内部复杂度和分区方式也需一同考察。关键是领域变化与模块边界对齐。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 架构模块化的业务驱动 · 查看原书依据
Modular architectures, on the other hand, partition domains and subdomains into smaller, separately deployed units of software, thereby making it easier to modify a domain or subdomain. Notice that with a distributed service-based architecture, as shown in Figure 3-5, the change scope of the new requirement is at a domain level within a particular domain service, making it easier to isolate the specific deployment unit requiring the change.
参考来源
- 位置:《Software Architecture: The Hard Parts》第3章《架构模块化的业务驱动》(来源项目: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/ch03.xhtml)
- 结论依据:原文的定义、比较或案例支持“可维护性是增删改功能及内部升级的难易程度,受组件耦合、内聚、复杂度、大小和分区方式影响”;正文据此解释其用途与适用边界。
- 原始内容:Modular architectures, on the other hand, partition domains and subdomains into smaller, separately deployed units of software, thereby making it easier to modify a domain or subdomain. Notice that with a distributed service-based architecture, as shown in Figure 3-5, the change scope of the new requirement is at a domain level within a particular domain service, making it easier to isolate the specific deployment unit requiring the change.