Re:Better Software Design with Clean Architecture
by UK-AL on Monday July 03, 2017 @07:25AM
(#14687439)
CQRS and entity central solutions normally go together like peas in pod.
Command side has a domain model, which would be your business objects in this case. A command simply loads the entity, performs a method on it, saves it.
Query has a query model which designed for fast reads, normally built by events emitted by the domain model.
Command side has a domain model, which would be your business objects in this case. A command simply loads the entity, performs a method on it, saves it.
Query has a query model which designed for fast reads, normally built by events emitted by the domain model.