~/talk

How to Effectively Isolate Layers?

TalkinPolishat 4Developers 2021 · 2021-05-24..05-27· [software-architecture]
links:none on file
slides:none on file

Shows how to refactor a typical Symfony application into a hexagonal, DDD and CQRS architecture by reorganizing code into four folders (infrastructure, application, domain, ui), removing controller annotations and replacing fat controllers with thin single-action controllers, and moving business logic into domain models and validators. Demonstrates using Symfony Messenger to dispatch commands and queries, implementing interface-based repositories and a ParamConverter for custom requests, fixing a flush-related memory leak, and delivering a modular monolith with tests and a public repository.

AI-written summary · about

  1. 0:00Layer isolation intro
  2. 6:29Code problem diagnosis
  3. 8:18Hexagonal architecture in practice
  4. 10:46Removing framework dependencies
  5. 15:51Domain layer as app core
  6. 20:30App layer responsibilities
  7. 23:42Commands and Command pattern
  8. 27:16Data validation and custom requests
  9. 30:11Error handling and events
  10. 31:59Summary and next steps
~/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.