Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Refactoring towards Clean Architecture SymfonyL...

Refactoring towards Clean Architecture SymfonyLive Berlin 2026

Slides from the workshop

Avatar for Damian Dziaduch

Damian Dziaduch

May 11, 2026

More Decks by Damian Dziaduch

Other Decks in Programming

Transcript

  1. "Software architecture is a set of key decisions and system

    structures that determine how easy, expensive, and fast it will be to develop and maintain the system in the future"
  2. "Software architecture is a set of trade-o ff s we

    make within constraints. There is no perfect architecture. Only architecture that f its your context."
  3. Kernel, Routing, Security, Middleware, CLI, etc. Framework Adapts framework code

    to the primary port requirements Primary Adapter De f ines what application can do Primary Port De f ines what application needs Secondary Port Tactical DDD Domain Adapts framework code to the secondary port requirements Secondary Adapter Database, cache, outgoing HTTP, f ile systems, etc. Framework Orchestrates the f low Use Case
  4. • Primary and secondary actors • Ports & adapters •

    Dependency rule - how the f low goes • Use case per feature - generic • Read models (read f low) and entities (write f low) • Modularity & testability due to layers • Easy to switch the "implementation details"