Please log in to watch this conference skillscast.
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:
- Event Driven Collaboration (SkillsCast recorded in May 2019)
- Design Patterns in Action — Full‑Day Workshop [SAG Digital 2021] (Online Course on 11th October 2021)
- Getting API Design Right: Learning from Anti-Patterns — Full‑Day Workshop [SAG Digital 2021] (Online Course on 11th October 2021)
- Software Architecture Gathering Digital 2021 (Online Conference on 13th - 14th October 2021)
- Domain-Driven Design Hands-On Workshop: A DDD-traineeship at "Carries Cars" (Online Meetup on 26th October 2021)
- Who Tests Their Cloud Code Anyway? (SkillsCast recorded in September 2021)
- Keynote: The Magic of Platforms (SkillsCast recorded in September 2021)
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.