Avanscoperta
Domain Models in practice: DDD, CQRS & Event Sourcing

Domain Models in practice: DDD, CQRS & Event Sourcing

Learn how to model and implement software from a business perspective

Domain-Driven Design (DDD) is an approach to software design that focuses on the application’s domain or problem area. It is a technique for aligning the implementation and team topology with the underlying structure of the domain.

This training course will teach you all the fundamentals of DDD. How to collaborate between stakeholders from the business side and software development side to ensure the software meets the needs of the business.
Creating a shared understanding of the domain through various modelling techniques, from Business Model Canvas at the company strategy level via EventStorming and Context Mapping for exploration & design to domain-specific languages in tactical and architectural patterns.

Learn to build a scalable and decoupled system optimized for correct domain behaviour without sacrificing execution performance. The secret to a successful implementation lies in the proper segregation of models and a focus on language.

Join Marco Heimeshoff for this five 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.

You should know about software product delivery. Experience in software architecture and coding paradigms is welcome but not required.

Program

Software is usually written to solve actual business problems, yet the connection between understanding the domain and designing the code is often poorly understood or dismissed.
We will explore all intersections in the software development process. We will take the entire journey from strategic analysis and domain exploration to system design, architectural blueprints and implementation.

In this course, you will learn how to approach any modelling situation at various flight levels, and you will start building your own toolbelt of heuristics to adapt to any future needs.
Learn about the systemic forces between business strategy, team topologies and software architecture and become an expert in designing and implementing a software system aligned with the domain in a simple, cohesive and decoupled way.

Marco 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.

Agenda

The first three sessions focus strongly on business strategy, exploratory modelling and strategic design. The last two sessions dive deep into implementing domain models with CQRS and EventSourcing.

The agenda will constantly dynamically adjust to the level and expectations of the attendees.

Session One

  • Domain-Driven Design overview: Essential ideas and terminology
  • Understanding your business model and the stakeholder needs
  • Explore various methods for collaborative exploration
  • Why, how and when to apply Domain-Driven Design
  • The forces that shape your solution

Session Two

  • Introduction to various flavours of EventStorming
  • Synchronising mental models in the problem space
  • Exploring options to improve the solution space
  • Heuristics to generate value from an EventStorming model.

Session Three

  • Optimize strategy using Subdomain Mapping
  • Context Mapping – Align your architecture with your organizational structure
  • Discover heuristics to design and decouple bounded contexts
  • Cynefin – Different Levels of complexity in strategic design.

Session Four

  • Hexagonal Architecture – Ports and Adapters in action
  • Tactical DDD Patterns – Exercises in implementing domain models
  • Events – Atomic building blocks of your domain
  • Projections – Poly Structured information into various read models
  • Implementation using Behaviour-Driven Development.

Session Five

  • CQRS overview: Essential ideas and terminology
  • Dealing with scalability, performance and eventual consistency
  • Implementing policies with Sagas
  • Strategies for long-lived, evolving and distributed systems
  • Benefits, risks and socio-technical implications of CQRS and Event Sourcing.

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. The modules are designed to help you learn in a brain-friendly way. Every module will begin with an interactive lecture 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 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, we’ll write code with Command Query Responsibility Segregation and learn how Event Sourcing tells a story in domain terms.
We’ll also learn how to keep your software system design in line with your organisation’s needs, improve readability, and strengthen your communication with key stakeholders.

F.A.Q.

Per partecipare sono necessarie conoscenze pregresse?
Una conoscenza minima di DDD, CQRS ed Event Sourcing è consigliata ma non è richiesta.

In che linguaggio sono presentati gli esempio pratici durante il corso?
Tutti gli esempi sul codice saranno in C#. Non è richiesta alcuna esperienza con C#, Marco spiegherà gli esempi partendo dalle basi.

Cosa devo assolutamente avere per potermi iscrivere a questo corso online?
Se possiedi un computer e un monitor, una rete stabile (almeno 20 Mbps in download e 10 Mbps in upload), cuffie, microfono e videocamera, allora puoi iscriverti al corso senza problemi. Un paio di settimane prima del corso ti invieremo tutte le informazioni sugli strumenti che useremo e come accedervi.
Per la rete, prova a fare uno Speed Test.
Nonostante la modalità online, il corso mantiene il suo approccio interattivo e partecipativo. Per questo motivo, è richiesto che tutti i partecipanti abbiano la telecamera accesa per tutta la durata del workshop per una migliore fruizione e comunicazione.

N.B.

Il workshop sarà confermato al raggiungimento del numero minimo di partecipanti. Invieremo una comunicazione con la conferma del corso agli iscritti 10-15 giorni prima del corso.

Last chance! L’ultimo giorno utile per acquistare il biglietto per questo workshop è lunedì 20 febbraio 2023. Se non raggiungiamo i numeri minimi di partecipanti richiesti per attivarlo, il corso non sarà confermato e verrà posticipato… non aspettare all’ultimo per comprare il tuo biglietto!

Prima raggiungiamo i numeri minimi utili alla sua attivazione, prima saremo in grado di confermare il corso e garantirne l’esecuzione.

Info pratiche sul workshop

Lingua: Inglese.
Laptop: Sì, ti servirà il laptop per poter seguire il corso. Controlla le specifiche nella sezione F.A.Q.
Numero massimo di partecipanti: 20.
Strumenti e postazione: il corso si svolgerà online e in diretta, attraverso l’uso di alcuni strumenti digitali. Una volta confermato, riceverai tutti i dettagli su come accedere al corso e interagire con il docente e gli altri partecipanti, e su come prepararti al meglio.
È consigliato che ciascun partecipante segua il corso dalla sua postazione: è preferibile non condividere il laptop e la stanza con altre persone e colleghi per una migliore esperienza da remoto.

Vuoi saperne di più sui nostri biglietti?

Biglietti

Under_Cover_LearnerSCONTO 20%

Se ti stai iscrivendo al corso a titolo personale e non hai la Partita IVA, c’è una tariffa speciale per te: uno sconto del 20% sul prezzo corrente del biglietto, che potrai ottenere inserendo il codice Under_Cover_Learner su Eventbrite qui sopra, dove trovi "Enter promo code" (prima di premere il tasto "checkout").

N.B.: Il codice non può essere utilizzato con nessun’altra offerta, ed è valido su tutti i tipi di biglietto.

Testimonials

I really enjoyed the workshop. Countless aha moments even for people who are into DDD for a long time now!Maxime Sanglan-Charlier

The half-day format is very useful for those who have a busy schedule, and the workshop makes it very quick to understand and practice the basics of DDD.Dario Rigolin

It’s great if you want to see how an Event Sourcing architecture is actually made, starting from the visual modelling with EventStorming to the actual code.Pietro Di Bello

DDD is a huge universe. This workshop is the starship that gives you the possibility to explore it safely.Marcello Santambrogio

This is a great experience. Learning by examples is extremely valuable… and Marco’s code is really full of insights!Franco Lombardo

“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 è un Trainer, Speaker e Sviluppatore Software, EventStorming Facilitator .

Organizzatore di KanDDDinsky, conferenza sul tema Domain-Driven Design e sul business software, e cofondatore della comunità DDD tedesca (2013) e di VirtualDDD.com (2019).

APPROFONDIMENTI

Blog

Domain-Driven Design, CQRS and Event Sourcing Unlocked: La nostra intervista con Marco Heimeshoff.

Video

Small Talk: una chiacchierata informale con Marco Heimeshoff.

Meet the Trainer: Marco Heimeshoff presenta il suo workshop Domain Models in Practice: DDD, CQRS and Event Sourcing.

Inside Bounded Contexts: Il talk di Marco Heimeshoff nel corso del nostro remote meetup “An Evening with” (15 aprile 2020).

Chi siamo, in breve :)

Avanscoperta è un ecosistema in espansione fatto di professionisti con una grande passione per l’apprendimento: ci piace imparare cose nuove e scambiare esperienze e idee, esplorando territori finora inesplorati in ambito software, nella sua accezione più ampia possibile.

Selezioniamo con attenzione gli argomenti più rilevanti e i migliori docenti da tutto il mondo, e diamo particolare importanza alle tecniche di insegnamento, preferendo approcci pratici e coinvolgenti.
Unisciti a noi!

Ti interessa questo corso?

Se hai delle domande specifiche, o vuoi ricevere maggiori informazioni, scrivici. Saremo felici di risponderti!







    NEWSLETTER

    Vuoi ricevere una volta a settimana i nostri contenuti esclusivi su tecnologia, sviluppo software, business e design?

    ISCRIVITI ALLA NEWSLETTER :-)

    Iscriviti alla newsletter!