Avanscoperta
Domain Models in Practice Workshop: DDD, CQRS & Event Sourcing

Domain Models in Practice Workshop: DDD, CQRS & Event Sourcing

Learn how to model and implement software from a business perspective

Software that is aligned with the business needs of your customers is hard to build, and it is even harder to optimize for correct domain behaviour, execution performance and scalable information distribution at the same time. Distributing the model with microservices often falls short on the promised benefits and can leave you with a distributed monolith.

The secret to a successful implementation lies in the correct segregation of read and write models from a domain-driven perspective, and connections between them implemented with semantic events.
Join Marco Heimeshoff for these 5 half-day modules workshop as he’ll guide you to build semantic models with a high alignment between business and code.

Target audience

This workshop is for Architects and Senior Developers with a strong interest in Domain-Driven Design and modern message-driven architectures.

Regardless of your experience in either Object-Oriented Programming, Functional Programming, or other paradigms, all you need is the will and ability to build software with a focus on business behavior.

Program

In this course, you will learn how to scale your application so that any number of queries can be handled, while also maintaining a behaviour rich domain model that can deal with complex scenarios. Discover how Event Sourcing enables you to build highly cohesive and decoupled modules and changes the way you write and communicate about tests forever.

These patterns will help you to put your energy where the business value is, by letting you partition your team by their expertise and outsource the busy work. Drawing from Domain-Driven Design concepts, write code with Command Query Responsibility Segregation and learn how Event Sourcing tells a story in domain terms.

Keep your software system design in line with your organisation’s needs, improve readability, and strengthen your communication with key stakeholders.

Agenda

Session One

  • Domain-Driven Design overview – Essential ideas and terminology
  • Why, how and when to apply Domain-Driven Design
  • Cynefin – Different levels of complexity in strategic design
  • Making sense of your domain with various EventStorming flavours.

Session Two

  • Bounded Context Mapping – Align your architecture with your organisational structure
  • Modelling with Value Types, Entities and Aggregates
  • Tactical DDD Patterns – Exercises in implementing domain models
  • Hexagonal Architecture – Ports and Adapters in action
  • Handling intent instead of editing data.

Session Three

  • Events – Atomic building blocks of your domain
  • Lossless semantic persistence with Event Sourcing
  • Testing with events and commands
  • Decoupling bounded contexts through events.

Session Four

  • CQRS overview – Essential ideas and terminology
  • Implementing read models
  • Projecting streams of events into poly structured information
  • Domain model performance optimization
  • Dealing with scalability and eventual consistency.

Session Five

  • Implementing policies with Sagas
  • Strategies for long-lived, evolving event-sourced systems
  • Strategies for distributed systems
  • Benefits, risks and socio-technical implications of CQRS and Event Sourcing
  • Optional: Application of CQRS & Event Sourcing in front-end development.

Learning Objectives

  • Understand Domain-Driven Design (DDD) and when it applies
  • Learn to model the domain and explore multiple solutions to choose from
  • Align your design with your business needs using CQRS and DDD
  • Build scalable and decoupled applications with Event Sourcing.

Online Workshop – How does it work

We will meet online in a virtual classroom and use presentation through screen share, collaborative architecture modelling on Miro and Solo- and Mob-programming with screen-shared IDEs. Every module will begin with a presentation via screen share and lead to a collaborative exercise. Discussions and questions are encouraged all the time.

The workshop will happen online and in live streaming: the trainer and all other participants will be in a video conference. You’ll be interacting and working together in real-time thanks to a variety of tools you’ll have at your disposal.

The workshop will keep its highly interactive and hands-on spirit despite being online.
This is why we require that all participants keep their webcam on for the whole duration of the workshop: this will enhance the quality of the communication and of the workshop as a whole.
You won’t be sitting at your desk watching slides and videos, and you’ll be engaged in real-time activities for the majority of the time… as if we were in a real classroom!

Why should you buy a ticket

These patterns will help you to put your energy where the business value is, by letting you partition your team by their expertise and outsource the busy work.

Drawing from Domain-driven design concepts, write code with Command Query Responsibility Segregation and learn how Event Sourcing tells a story in domain terms.

Keep your software system design in line with your organisation’s needs, improve readability, and strengthen your communication with key stakeholders.

F.A.Q.

Anything to do prior to the workshop (books to read, stuff to install)?
Attendees will benefit from coming prepared with the knowledge about DDD, CQRS and Event Sourcing, but this is not a prerequisite.

In what language will the examples be written?
All code examples will be in C#. No prior experience in C# is required to understand the examples, we will work through the concepts from start to finish.

Is there anything I must do before I buy a ticket for this online workshop?
If you have a computer/tablet, a stable connection (at least 20 Mbps in download and 10 Mbps in upload), earphones, a microphone, and a webcam, then you’re ready to join the workshop.
You’ll get detailed information on what tools we’ll be using and how to get ready a couple of weeks prior to the workshop.
Check out your connection’s speed.
The workshop will keep its highly interactive and hands-on spirit despite being online. This is why we require that all participants keep their webcam on for the whole duration of the workshop: this will enhance the quality of the communication and of the workshop as a whole.

N.B.

This workshop will be confirmed upon reaching the minimum number of participants. We’ll send an official confirmation to all registered attendees two weeks prior to the workshop dates at the latest.

About the workshop

Language: English.
Laptop: Yes, check out the FAQ section.
Maximum number of attendees: 16 participants.
Tools and Workstation: The workshop will take place online and in live streaming by using digital tools. You’ll get detailed information on how to join the online workshop, how to get ready for it and how it will work a couple of weeks prior to the workshop.

How our tickets work

Tickets

Under_Cover_Learner Discount SAVE 20%

If you’re paying the ticket out of your own pocket and you don’t have a VAT number, you can get a 20% discount on any tickets and on any ticket tiers!

How? Just enter the Under_Cover_Learner promotional code on the field "Enter promo code" in the section above (before hitting the button "Checkout").

Please note: this code cannot be used in conjunction with any other offers/discount codes, and it applies to any ticket tier.

Testimonials

“What effectiveness to do an introduction of Domain-Driven Design + Cynefin & two types of EventStorming in 4 hours, and in an interactive way. Never seen before!”Xin Yao

Marco’s workshop is one of the best workshops that I have attended in years. The concepts and tools are explained very well. The prototypical implementation was for me the icing on the cake.Melvin Lee

Highly suggested to everyone who wants to practice EventStorming and then understand how to apply insights in CQRS+Event Sourcing pattern.Luca Gentile

Very open to Q&A. Good style in answering questions. So patient!James Ratesetter

[…] I’ve never seen a group enjoy a class so much, both product & engineers.Jamie Allen

Marco Heimeshoff

Marco Heimeshoff is a trainer, speaker and software developer from Germany.

He organizes KanDDDinsky, a conference about Domain-Driven Design and the art of business software and co-founded the german DDD community in 2013 and VirtualDDD.com in 2019.

Domain-Driven Design, CQRS and Event Sourcing Unlocked: Our interview with Marco Heimeshoff.

Inside Bounded Contexts: The video of Marco Heimeshoff’s talk hosted during our remote meetup “An Evening with” (15th April 2020).

About us

Avanscoperta is a growing community of professionals learning together, exchanging experiences and ideas, exploring uncharted territories.

We carefully select the most relevant topics and the best trainers and thought leaders worldwide with an eye to the most engaging teaching techniques.
Are you ready to learn with us? 🙂

Are you interested in this course?

If you have any specific questions, or if you want to receive more information on dates, content or offers about this course, drop us a line. We'll gladly get back to you!







NEWSLETTER

Get exclusive content from experts in software development, technology, business and design!

SUBSCRIBE TO OUR NEWSLETTER! :-)

Subscribe to our newsletter!