GUIDE · SECTION · ARCHITECTURE
Architecture and implementation, where it goes in the project.
This section is about the shape of the project. Architectural styles compare Hexagonal, Onion, and Clean Architecture with traditional layering and show vertical slices as an alternative to horizontal splitting. Implementation in Symfony 8 maps DDD concepts onto Messenger, DI, and Doctrine. Authorization in DDD decides where permission checks belong – in the aggregate, in a voter, or outside the domain.