Skip to main content

概念

配色#

  • 实体绿色 read model
  • 领域事件橙色
  • 命令为蓝色 用户意图/动作/决策
  • 热点为紫色 代表问题、风险、警告或危险需要进一步探索的领域
  • policy策略 为淡紫色便笺,位于橙色事件和蓝色命令之间
  • 外部系统 粉红色的大贴纸
  • 黄色小便签 user
  • 黄色大便签 Aggregate

Business –> Software Design –> DDD/CQRS#

  • Green绿色便签: Key information –> Read model
  • Orange橙色便签: Fact(事实) –> Domain Event
  • Blue蓝色便签: Decision(决策) –> Action –> Command
  • Lilac淡紫色便签: Policy(策略) (‘Whenever’) –> Reactive Logic –> Listener, Process Manager (or Saga)
  • Yellow (小黄色便签): Actor/user –> Persona –> Role
  • Yellow (大黄色便签): ? -> Local Logic –> Aggregate