~/talk

Refactoring to Symfony Components

Talkat PHP UK Conference 2013 · 2013-02-21..02-23· [php]
links:none on file
slides:none on file

Refactors a messy, high‑traffic news site into a PSR‑autoloaded codebase over ~4 months using symfony2 components, Composer, the class loader, the Router, EventDispatcher, HTTP Foundation, YAML config, pimple for dependency injection, Twig for templating and Swift Mailer for email; introduces lazy services, event‑based email/notifications, template and route caching, and simple queuing; YAML parsing proves CPU‑heavy and one-line cleanup yields a 40% CPU gain; deployment swaps servers over a weekend and the staged refactor succeeds faster and with less risk than a full rewrite.

AI-written summary · about

  1. 0:00Introduction
  2. 0:52The Components
  3. 4:02Swift Mahler Twig
  4. 10:20Caching
  5. 10:33dependency injection container
  6. 17:18XML file parsing
  7. 18:35XML file caching
  8. 30:33Dispatch Event
  9. 30:49Gotcha
  10. 32:26Twig
  11. 33:57Pimple
  12. 37:43HTTP Foundation
  13. 39:03Content Type Translation
  14. 39:43Swift Mailer
  15. 40:54Moving for 4 days
  16. 41:28Overtime
  17. 42:04Business Logic
  18. 43:34Business Logic Issues
  19. 45:24Legacy Apps
  20. 46:20Project Size
  21. 47:17Files Methods
  22. 47:36New Features
  23. 48:19Deployment
  24. 49:31Functional Tests
  25. 50:02Challenges
~/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.