~/talk

Natural partners: Kotlin and Domain Driven Design

Talkat Conference for Kotliners 2019 · on Friday, 2019-06-07· [kotlin, frontend-architecture]
links:none on file
slides:none on file

Claims Kotlin and DDD can coexist and scale: N26 runs ~150 microservices with about 50% in Kotlin, and the approach is production‑proven. Concrete practices: model shopping cart and payment aggregates, keep validation and domain logic inside entities, represent state with sealed classes, use data classes for entities and pass repository dependencies into entity methods rather than constructor injection. Tests run with JUnit and Kotlin test, use inner classes to access private fields, and the patterns reduce anemic models while staying persisting via infrastructure converters.

AI-written summary · about

  1. 0:00Introduction
  2. 10:30Layers
  3. 12:37Use cases
  4. 14:30Data class
  5. 18:45Repository
  6. 20:18Seal classes
  7. 21:07Payment ICU Pass
  8. 23:17Refunding Payment
  9. 25:17State of refunded payment
  10. 26:05Validation
  11. 26:59Testing
  12. 30:07Questions
  13. 35:49Conclusion
~/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.