知识卡片

普通读书笔记卡 · 1841.h.1.a.1.a.3.f.1.i

分层内部也能保护上下文

理解等级:中级

在已有分层系统中可先识别领域上下文,再用结构检查禁止外部依赖其内部实现,保留层内分工同时限制跨域复用。它提供不立即全面拆服务的演进路径。边界应涵盖数据和代码,不能只给目录换名就宣称已隔离。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Putting Evolutionary Architecture into Practice · 查看原书依据

      The team builds fitness functions in each appropriate place to prevent accidental coupling. Of course, returning to a common theme in this book, we can’t specify exactly what those fitness functions will look like—​it will depend on the assets the teams want to protect. However, the overarching goal should be clear: prevent violating the bounded context by violating the locality principle of connascence.

    参考来源

    - 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第09章《Putting Evolutionary Architecture into Practice》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch09.html;段落定位:prevent accidental coupling) - 结论依据:原文对“分层内部也能保护上下文”的定义或案例,支撑“在已有分层系统中可先识别领域上下文,再用结构检查禁止外部依赖其内部实现,保留层内分工同时限制跨域复用”的归纳。据其上下文,它提供不立即全面拆服务的演进路径。 - 原始内容:The team builds fitness functions in each appropriate place to prevent accidental coupling. Of course, returning to a common theme in this book, we can’t specify exactly what those fitness functions will look like—​it will depend on the assets the teams want to protect. However, the overarching goal should be clear: prevent violating the bounded context by violating the locality principle of connascence.