03 Mar '12, 5am

CQRS

CQRS

domain driven design · application architecture · API design tags: CQRS stands for Command Query Responsibility Segregation . It's a pattern that I first heard described by Greg Young . At its heart is a simple notion that you can use a different model to update information than the model you use to read information. This simple notion leads to some profound consequences for the design of information systems. The mainstream approach people use for interacting with an information system is to treat it as a CRUD datastore. By this I mean that we have mental model of some record structure where we can c reate new records, r ead records, u pdate existing records, and d elete records when we're done with them. In the simplest case, our interactions are all about storing and retrieving these records. As our needs become more sophisticated we steadily move away from that model. W...

Full article: http://martinfowler.com/bliki/CQRS.html

Tweets