~/talk

A practical introduction to DDD, CQRS & Event Sourcing

slides:none on file

Shows a concrete mortgage application model: a MortgageApplication aggregate that enforces the invariant “all proofs must be signed” with optimistic concurrency via a version number. Writes become domain events stored in an event store (apply for mortgage, proof added, application approved) and reads are fast materialized views (Mongo/Elasticsearch) built by projectors that rebuild projections. Demonstrates auditability and time travel, blue‑green reprojection for schema changes, tradeoffs: eventual consistency lag, projector complexity, archiving/tombstoning and when CRUD would have been simpler.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 7:02Domain-Driven Design basics
  3. 11:33CQRS and read/write separation
  4. 17:56Event Sourcing introduction
  5. 24:40When to use these patterns
  6. 33:33Handling projections and versions
  7. 43:17Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.