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:
- Greg Young's CQRS, Domain Events, Event Sourcing and how to apply DDD (in on 22nd - 24th October 2018)
- Alberto Brandolini's DDD Modelling Workshop (in London on 24th - 26th October 2018)
- µCon London 2018 - The Microservices Conference (in London on 5th - 6th November 2018)
- Russ Miles' Microservices Workshop (in London on 12th - 14th December 2018)
CQRS: Why, What and How
Polyglot Coding Architect in London, founder of #ldnug, speaker, tabletop gamer, geek. Tattooed, pierced, and bearded. The 'guv' on @BrighterCommand
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.