~/talk

Dependency Injection Component 4

Talkat SymfonyLive London 2017 · 2017-09-21..09-22· [php, developer-experience]
slides:none on file

Live demo upgrades a Symfony skeleton to show concrete DI changes: PHP-based service and route configurators, loading services by namespace with auto-wiring by FQCN, defaults that make services private and autowired, and tagging a controller with controller.service_augment to create per-action lazy argument resolvers so injected services are instantiated only when used. It wires strings and arrays from environment variables (including env JSON decode and file secrets), builds lazy service locators and resettable services, and the demo runs successfully.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:08Creating a Symfony project
  3. 5:09Building a basic controller
  4. 8:30PHP-based configuration
  5. 10:41Using Twig for rendering
  6. 13:13Dependency Injection basics
  7. 15:29Auto-wiring explained
  8. 17:35Auto-wiring all controllers
  9. 18:58Abstract Controller benefits
  10. 20:25Creating a custom service
  11. 21:53Private services by default
  12. 23:21Auto-wiring all services
  13. 24:08Lazy service injection
  14. 26:43Auto-configuration feature
  15. 29:24Configuring services with parameters
  16. 31:11Environment variables in Symfony
  17. 33:44Parameter binding
  18. 36:56Advanced environment variable handling
  19. 37:48JSON configuration via env vars
  20. 41:31Key Symfony 3.4 features
  21. 45:07Advanced DI techniques overview
  22. 47:17Lazy collections and performance
~/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.