Monday, December 14, 2009

CQRS: The Domain - Design Options

When using the Command-Query Responsibility Segregation architecture the domain is solely responsible for executing update behavior.

Removing the query responsibility from your domain code enables new ways of designing and implementing the domain. The only additional requirement is that your domain must raise domain events so that the query database (and other interested parties) can be kept up-to-date.