~/talk

Overriding Symfony in a million ways

Talkat phpDay 2017 · 2017-05-12..05-13· [php]
slides:none on file

Claims that every Symfony default is replaceable and backs it with concrete edits: renaming directories (app → easy_publish), changing getCacheDir/getLogDir and front controller paths, tweaking composer.json params, and two concrete DI strategies — compiler pass to rewrite definitions and service decoration to wrap the original and receive it as an argument. Demonstrations include copying routes/templates into app_resources and showing a decorated service bar that delegates to foo. Warning: it works but increases maintenance cost.

AI-written summary · about

  1. 0:00Start
  2. 0:50Who Am I
  3. 2:33Overriding App
  4. 4:39Cache Directory
  5. 5:54Web Directory
  6. 7:43Vendor Directory
  7. 12:33Config Files
  8. 15:02Is It Wise To Have Multiple Kernels
  9. 17:18Routes
  10. 19:42Template
  11. 20:43The Bundle Inheritance
  12. 21:23Override the Show Action in the Exception Controller Coming from the Symphony Bundle
  13. 22:59Compiler Passes
  14. 24:14Container Builder
  15. 25:14Decoration of Service
  16. 26:18Duplicate Services
  17. 27:28Use Parameters
  18. 29:52Override Your Configuration Directly
  19. 31:26Override a Type
  20. 31:52Form Type Extension
  21. 33:51Translation
  22. 34:50Remarks
~/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.