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
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"