Advanced Topics
Deep dive into advanced hexagonal architecture patterns and techniques.
Topics Covered
- Architecture patterns and best practices
- Doctrine configuration and YAML mapping
- Repository pattern and why not to use EntityManager directly
- Testing strategies (unit, integration, functional)
- Event-driven architecture with domain events
- CQRS implementation patterns with Query Functions
- Value objects and immutability
- Shared kernel organization
Architecture Guides
- WHY-HEXAGONAL - Business case and benefits
- ARCHITECTURE - Complete architecture guide (French)
- SOLID Principles - SOLID in hexagonal architecture (French)
These guides provide comprehensive explanations of hexagonal architecture concepts, patterns, and best practices.
Table of contents
- Why Hexagonal Architecture
- Architecture Guide (FR)
- SOLID Principles (FR)
- Repository Pattern
- Domain vs Application Logic
- Request-Response Flow
- Port Interface Design Principles
- Primary vs Secondary Adapters
- CQRS Cost-Benefit Analysis
- Dependency Injection Configuration
- Factory Pattern Implementation
- Error Handling Strategy
- Anti-Patterns and Pitfalls