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

Building 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 behaviour.

Topics

  • Domain-driven design overview: Essential patterns and practices
  • Defining a Ubiquitous Language
  • Domain model implementation patterns
  • Implementing Aggregates, Entities and Value Objects
  • Bounded Contexts
  • Applying DDD in practice.
  • Capturing user intention instead of editing data
  • Implementing business behaviour in semantic code
  • Applying Event Sourcing
  • Testing with Domain Events using Behaviour Driven Development
  • Decoupling Bounded Contexts
  • Dealing with performance optimisation and snapshots.
  • Implementing read models
  • Projecting Event Streams into poly-structured data
  • Dealing with eventual consistency
  • Building distributed systems with Pub/Sub
  • Automating business processes with Sagas
  • Strategies for long lived, evolving Event Sourced systems
  • Discussing benefits, risks and socio-technical implications of CQRS and Event Sourcing.

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 language
  • Why, how and when to apply Domain-driven Design
  • Introducing the domain
  • Modelling Value types and Entities
  • Theory on aggregates in Domain-driven Design
  • Modelling Aggregates.

Session Two

  • Capturing intent instead of editing data
  • Applying Event Sourcing
  • Testing with Event Sourcing
  • Dealing with tradeoffs / heuristics around using events.

Session Three

  • CQRS Theory
  • Coding: Separating Write model from Readmodel in our domain
  • Implementing read models with poly structured data
  • Dealing with eventual consistency.

Session Four

  • Building distributed systems with Pub/Sub
  • Strategies for long lived, evolving Event Sourced systems
  • Benefits, risks and socio-technical implications of CQRS and Event Sourcing
  • Design APIs of Event Sourced systems depending on socio-technical relationships.

Session Five

  • Discussions, Q&A and review of exercises and case-studies “one week after the workshop”
  • Optional: Application of CQRS & Event Sourcing in front-end development.

Learning Objectives

  • Understand Domain-driven design (DDD) and when it applies
  • Model the problem 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.

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

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 al più tardi un mese prima del corso.

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. A iscrizione avvenuta, riceverai tutti i dettagli su come accedere al corso e interagire con il docente e gli altri partecipanti, e su come prepararti al meglio.

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

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

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

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

Inside Bounded Contexts: Il video del 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!