CodeX
Published in

CodeX

DDD — Command Query Responsibility Segregation (CQRS)

Photo by hannah joshua on Unsplash

Commands are complex, Queries are simple

Previously we’ve looked at DDD Entities, that have state, and Events, where state changes. To reduce complexity we can be specific about what has state and encapsulate where it changes. Events are high level code, sitting in the middle of the Onion Architecture. In this article, we will look at how lower…

--

--

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Phillip Johnson

Over 20 years experience in software engineering, mostly in Tech Lead and Lead Dev positions. Passionate about software craftsmanship.