返回主题:领域驱动设计统一过程

知识卡片

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

架构跟随业务实现模式

理解等级:中级

事件溯源模型通常需要CQRS提供可查询投影;领域模型适合端口与适配器以隔离基础设施;活动记录适合增加应用层的分层架构;事务脚本可用最小三层。若任何模式都需要多种持久化表示,也可采用CQRS。匹配关系用于减少实现阻力,不是对整个系统强制一种架构。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 设计启发式 · 查看原书依据

      Knowing the intended business logic implementation pattern makes choosing an architectural pattern straightforward: The event-sourced domain model requires CQRS. Otherwise, the system will be extremely limited in its data querying options, fetching a single instance by its ID only. The domain model requires the ports & adapters architecture. Otherwise, the layered architecture makes it hard

    参考来源

    - 位置:《Learning Domain-Driven Design》第10章《设计启发式》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch10.html) - 结论依据:原文围绕本卡所述机制给出定义、适用条件及相关取舍,以下摘录为直接依据。 - 原始内容:Knowing the intended business logic implementation pattern makes choosing an architectural pattern straightforward: The event-sourced domain model requires CQRS. Otherwise, the system will be extremely limited in its data querying options, fetching a single instance by its ID only. The domain model requires the ports & adapters architecture. Otherwise, the layered architecture makes it hard