What problem does it solve?
It keeps backend services maintainable by separating domain, use case, and infrastructure concerns to avoid dependency leaks, tangled monoliths, and untestable layers.
Core Features & Use Cases
- Pattern Catalog: Clean Architecture, Hexagonal Architecture, and DDD tactical patterns provide layered blueprints that keep dependencies flowing inward and allow adapters to be swapped without touching core logic.
- Port-and-adapter discipline ensures use cases import only domain interfaces while infrastructure binds concrete implementations, preventing circular imports and enabling in-memory test doubles.
- Use Case Example: Apply this when designing a new microservice, refactoring a monolith, or defining bounded contexts and dependency rules before coding to keep each layer pure and testable.
Detailed context maps, DI wiring, and Anti-Corruption Layer examples live in references/advanced-patterns for deeper study.
Quick Start
Describe clean architecture layers and bounded contexts for designing a new order management microservice.