Software Architecture · Clean Architecture
What is ports and adapters in Clean Architecture?
Ports are stable application-facing contracts and adapters connect those contracts to external technologies. In practice, the value of this concept comes from understanding where it belongs in the architecture, what problem it solves, and what constraints or tradeoffs it introduces.