~/talk

Model Mitosis: a dynamic pattern to deal with model tensions

Talkat Craft Conference 2024 · 2024-05-30..05-31· [software-architecture]
slides:none on file

Claim: when a single model accrues conflicting needs, split it by behavior into domains, carve a shared kernel for identical invariants, and duplicate-and-specialize objects until tensions vanish. Demonstration uses real code, tests, DI and an anti‑corruption layer to translate Search → Booking, implements a Booking feature in production, adds tax computations, fixes a past‑booking bug by specializing Schedule, and ends with a modular monolith ready to become microservices if the shared kernel stabilizes.

AI-written summary · about

  1. 0:00Model Mitosis pattern
  2. 1:08MVP success and booking feature
  3. 4:02Big ball of mud critique
  4. 10:59Splitting domains by behaviors
  5. 14:06Booking and search domains
  6. 17:18Resolving model tension
  7. 20:50Shared kernel concept
  8. 23:42Anti-corruption layer
  9. 28:35Tax computation tensions
  10. 33:35Debugging model flaws
  11. 36:43Microservices adoption
  12. 41:16Pattern summary
  13. 45:06Q&A
~/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.