~/talk

Shrek, Onions and Architecture

Talkat PHP UK Conference 2025 · on Wednesday, 2025-02-19· [php, frontend-architecture]

Claims that large monoliths become maintainable by treating them as onions and applying hexagonal architecture, with concrete steps: define core domain abstractions, implement ports and adapters, use repositories and dependency injection, prefer value objects and fakes over mocks, and run static checks with dep track. Recipes map to practice via the Salt Fat acid Heat rules: remove redundant comments, avoid bloat, enforce lifecycles, and test implementations. A migration attempt stalls until the monolith is understood and money is saved.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Legacy monoliths misunderstood
  3. 3:57Onion and hexagonal architecture
  4. 13:58Onions and domain-driven design
  5. 23:05Legacy code with Salt Fat Acid Heat
  6. 31:22Salt for code clarity
  7. 31:43Fat and bloat in code
  8. 40:31Complexity vs dependencies
  9. 47:08Testing legacy code with heat
  10. 48:55Summary
~/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.