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

Refactoring towards Clean Architecture Workshop...

Refactoring towards Clean Architecture Workshop Symfony Online 2026

Avatar for Damian Dziaduch

Damian Dziaduch

January 21, 2026
Tweet

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. 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
  3. • Dependency rule - how the f low goes •

    Use case per feature - generic • Read models (read f low) and entities (write f low) • Ports & adapters • Modularity & testability due to layers • Order in the code • Easy to switch the "implementation details"