CQRS - how to model a scenario execution system

前端 未结 2 864
广开言路
广开言路 2021-02-08 20:06

I recently started investigating CQRS and DDD for a green field project that I\'m about to start. I studied a great deal of material from Udi Dahan, Greg Young, Mark Nijhof and

2条回答
  •  名媛妹妹
    2021-02-08 20:20

    CQRS states nothing about that there shouldn't be domain logic in the query part of the application. If it's possible and practical then it's ok to have separate denormalized query stores for every aspect or even query of your application but of course it is not necessary.

    In short, a query is a query, no matter how complex the task of finding it's answer.

提交回复
热议问题