~/talk

Hexagonal architecture

Talkat SymfonyLive London 2015 · 2015-09-17..09-18· [software-architecture]
slides:none on file

Argues that hexagonal ports and adapters architecture keeps the domain core independent of Symfony, Doctrine and delivery mechanisms so use cases live as plain command objects handled by command handlers; suggests using a command bus (SimpleBus or Tactician), interfaces in the core and concrete MySQL/Doctrine or in-memory repository adapters in infrastructure. Shows this reduces slow tests, lets tests run against fast in-memory stores, enables reusing the same logic from web or CLI, and makes persistence interchangeable.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00The problem with MVC
  3. 2:58Framework dependencies
  4. 5:34Encapsulation vs abstraction
  5. 8:25Coupling and reusability
  6. 13:59The core application
  7. 17:17Layers and dependencies
  8. 21:39Ports and adapters
  9. 25:49Messages and handlers
  10. 29:02Managing persistence
  11. 32:43Dependency inversion
  12. 35:40Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.