知识卡片

普通读书笔记卡 · 2283.q.1.a

按子域选择架构切片

理解等级:中级

架构模式不应被强制推广到整个系统或整个限界上下文。同一上下文可能包含复杂度不同的子域,适合各自采用分层、端口适配器或CQRS。除横向技术分层,还要以模块纵向封装子域;这些逻辑边界既防止单体变成泥团,也便于未来拆为物理边界。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 架构模式 · 查看原书依据

      In addition to the layers that partition the system horizontally, we can introduce additional vertical partitioning. It’s crucial to define logical boundaries for modules encapsulating distinct business subdomains and use the appropriate tools for each, as demonstrated in Figure 8-18. Appropriate vertical boundaries make a monolithic bounded context a modular one and help to prevent

    参考来源

    - 位置:《Learning Domain-Driven Design》第8章《架构模式》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch08.html) - 结论依据:原文围绕本卡所述机制给出定义、适用条件及相关取舍,以下摘录为直接依据。 - 原始内容:In addition to the layers that partition the system horizontally, we can introduce additional vertical partitioning. It’s crucial to define logical boundaries for modules encapsulating distinct business subdomains and use the appropriate tools for each, as demonstrated in Figure 8-18. Appropriate vertical boundaries make a monolithic bounded context a modular one and help to prevent