~/talk

Exploring domain driven design in Go

Talkat GoLab 2023 · 2023-11-19..11-21· [software-architecture]
slides:none on file

Shows concrete DDD techniques applied in Go: uses Go package structure as context maps, demonstrates value objects (string-backed types with validation), aggregate roots with explicit constructors and domain methods, and a repository interface plus a Postgres subpackage implementation that returns typed errors. Argues this keeps code idiomatic Go rather than Java-style patterns, explains anti-corruption layers and CDC/event approaches for cross-boundary sync, and cites the NHS £10 billion failure as a motivation to prioritize domain understanding. Sample code repo is provided.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:07What is Domain Driven Design
  3. 3:57Why DDD matters for business
  4. 6:28Strategic design and context mapping
  5. 8:16Real-world example: Email validation
  6. 11:44Go packaging for boundaries
  7. 17:50Strategic design patterns recap
  8. 18:54Tactical design: Value objects
  9. 23:49Tactical design: Aggregate roots
  10. 29:04Tactical design: Repository pattern
  11. 34:46Idiomatic Go with DDD patterns
  12. 35:29Q&A session
~/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.