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