~/talk

The IoC Hydra

Talkat SymfonyLive London 2015 · 2015-09-17..09-18· [software-architecture]
links:none on file
slides:none on file

IoC is broader than DI and has three practical forms: DI, AOP and events. Containers excel at resolving huge object graphs but many bundles and config files slow compilation — one real project produces an 8MB container PHP file — so splitting kernels for API and UI speeds cold builds. Avoid service-locator and setter injection; prefer constructor injection with a null object for optional deps. EventDispatcher is a mediator (mutable events create hidden coupling). Note prototype scope removed in Symfony 3.0.

AI-written summary · about

  1. 0:00Intro
  2. 2:37PROS
  3. 3:39CONS
  4. 5:39EXAMPLE WITH EVENTS
  5. 7:36EXAMPLE WITH AOP USING DECORATOR
  6. 10:54RESOLVING GRAPHS OF OBJECTS
  7. 11:58LIFECYCLE MANAGEMENT
  8. 12:19SERVICE LOCATOR
  9. 15:04SETTER INJECTION
  10. 16:46FUNCTIONAL WAY OF DOING THINGS
  11. 18:04FEATURES
  12. 18:29PERFORMANCE OF SYMFONY DIC
  13. 19:22SLOW COMPILATION
  14. 20:57LARGE CONTAINERS
  15. 21:44PRIVATE SERVICES
  16. 23:35INJECTING CONTAINER DIRECTLY
  17. 24:23USING PROXY OBJECTS
  18. 25:11DEFINING CLASS NAMES AS PARAMETERS
  19. 29:23PROBLEMS WITH INJECTING REQUEST TO SERVICES
  20. 31:14STATEFUL SERVICES
  21. 33:19EXTENDING BASE CONTROLLER
  22. 34:54CONTROLLER AS A SERVICE
  23. 38:10INDIRECT COUPLING PROBLEM
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.