Please log in to watch this conference skillscast.
In this SkillsCast recording of a (great) talk by Ian Cooper, Neil Robbins and Toby Henderson, you can learn why they believe CQRS is the new 'hotness' - and, rather than it just being the latest 'fad', they believe it might actually lead you to adopt this approach over a conventional layered architecture.
Looking back first, they explored how some of the debates in the DDD community about how to implement Eric Evans highlighting ideas led people to the CQRS solution.
They then had a look at some of the problems with aggregates and repositories that CQRS helps with, and how the vision of seperating core from other domains is simplified. They also went over some simple steps to begin moving your layered application in the CQRS direction and give you a taste of what is to come.
Once you have watched this SkillsCast, you should understand the problems that transitioning to CQRS will help you to resolve.
Other topics covered in this SkillsCast are:
Querying. The easiest part of CQRS to start with is probably querying. From building your view model directly instead of via your domain, through views or viewmodel stores up to dealing with eventual consistency we look at what it takes to put the Q into CQRS. We will talk about the difference between grid and task based approaches to the UI and how working on interaction style eases the burden to seperated queries. We will also look at composite UIs and how they become important when you begin working with scalable architectures. By the end of the session you should have an understanding of different approaches to seperating your queries from your commands and when to use them.
Commands: With queries under our belt it's time to look at commands. We'll look at how to work with a command bus to decouple your service layer. We will look at using domain events and why they are the missing concept in DDD. We will then talk about event sourcing capture events to allow you to rebuild the state of the system. We will show you how CQRS helps you to scale to meet increasing demand. By the end of this SkillsCast, you should know how to use commands to build a system instead of a more traditional layered architecture.
If this talk inspired you to learn more about CQRS and DDD, you may find the following links useful:
YOU MAY ALSO LIKE:
- DDD eXchange 2018 (in London on 26th - 27th April 2018)
- Greg Young's Advanced CQRS & DDD Workshop (in London on 21st - 23rd May 2018)
- Alberto Brandolini's DDD Modelling Workshop (in London on 4th - 6th July 2018)
- Greg Young's CQRS, Domain Events, Event Sourcing and how to apply DDD (in London on 11th - 13th July 2018)
CQRS: Why, What and How
Ian Cooper has over 20 years of experience delivering Microsoft platform solutions in government, healthcare, and finance. When he is not writing C# code he is also the and founder of the London .NET user group.
Neil is currently working as an applications architect at a multinational insurance company based in the City. He has previously worked variously as a developer, architect, and consultant.