php-ddd / domain-driven-design

{NEW} PHP implementation of Eric Evans' domain driven design
MIT License
29 stars 4 forks source link

Command system #7

Closed juliendufresne closed 9 years ago

juliendufresne commented 9 years ago

When it comes to change the state of an aggregate whether it's an addition, a deletion or a modification, it's probably a better idea not to have the same flow as when we read it.

The CQRS (command query responsibility segregation) design pattern is a way to fix that issue by defining a clear separation between the read and the write model.

We need to have this kind of feature inside our solution.

What should be included: