~/talk

The framework-less Scala Dependency Injection framework

Talkat Scala.IO 2014 · 2014-10-23..10-24· [devops-and-delivery]
slides:none on file

Live-coding shows replacement of DI containers with pure, type-safe Scala: manual constructor wiring, then using the wire[] macro from the acquire library, producing the same bytecode as handwritten new calls. Uses lazy vals to get correct initialization order and simple scoping to create per-application or per-user singletons, modules to swap implementations, Java proxy–based interceptors for AOP, and a Play integration. Everything compiles and runs in the demos, enabling easier testing and modular configuration.

AI-written summary · about

  1. 0:00Framework-less Scala DI
  2. 1:54Avoiding traditional DI
  3. 3:51Live coding restaurant
  4. 9:03Lazy vals for init order
  5. 10:08Acquire library automation
  6. 12:59Singleton dependencies in modules
  7. 15:29Reusable wiring modules
  8. 18:22Module dependencies with types
  9. 20:32Swapping implementations
  10. 25:19Adding interceptors
  11. 29:18Testing with interceptors
  12. 32:11Play Framework integration
  13. 35:24Alternatives and patterns
  14. 36:59Resources and contribution
  15. 38:30Q&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.