Command and Query Responsibility Segregation (CQRS)
Command and Query Responsibility Segregation uses the same definition of Commands and Queries and maintains the viewpoint that they should be pure. The fundamental difference is that in CQRS objects are split into two objects, one containing the Commands one containing the Queries.
- Related patterns
Event Sourcing: CQRS is often used in combination with the Event Sourcing pattern.