~/talk

Living the best life on a legacy project

Talkat Dutch PHP Conference 2024 · 2024-03-12..03-15· [legacy-modernisation]
slides:none on file

Argues legacy often means “working existing code” not junk and recommends concrete practices: use Xdebug to step through surprising flows, add static analysis baseline with PHPStan/Psalm and shrink it gradually, run PHP CS Fixer/PHPCS in CI, and containerize tests with Docker + GitHub/GitLab Actions. Start tests with a single happy-path test (or characterization tests) for core business flows, add a test whenever a bug is fixed, and prefer small incremental refactors only where business value and reduced developer pain justify the risk.

AI-written summary · about

  1. 0:00Introduction
  2. 3:36Legacy code stigma
  3. 7:55Stakeholder communication
  4. 13:17Remote team tips
  5. 16:06Documentation strategies
  6. 20:00Reading existing code
  7. 23:51Aligning code with goals
  8. 26:20Strategic refactoring
  9. 29:32Automated checks
  10. 33:24Testing culture
  11. 36:14Code review policies
  12. 41:30Minimal viable tests
  13. 44:18Sustainable legacy code
~/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.