Back to Vol 20, Issue 9

PHP Architect · Vol 20, Issue 9 · September 2021

CQRS—Reasoning and Architectural Prospects

by Alexandros Gougousis

Command and Query Responsibility Segregation (CQRS) is a technique that has become popular in the last few years as a means to scale reads and protect the encapsulation of domain objects optimally. However, it is usually presented in combination with other topics (Event Sourcing, DDD, Microservices), which gives many developers a hard time understanding what is part of CQRS and what is not. Here, we will try to explain the idea of CQRS and how we can take advantage of it, under what circumstances, and the price we have to pay for it.

The full article is in PHP Architect Vol 20, Issue 9. Subscribe to read it and every new issue.

Subscribe
Alexandros Gougousis

About the author

Alexandros Gougousis

Alexandros Gougousis is a software engineer with an academic background in Electrical & Computer Engineering. He started as a system administrator, switched to programming in 2010 and since 2017 he is focusing exclusively on the back-end of web application development. Alexandros writes a developer blog. In his free time, he loves reading history and playing board games.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →