DDD, Hexagonal, Onion, Clean, CQRS, … How I put it all together
Ports & Adapters architecture identifies three fundamental blocks of code in a system. In most languages and in its most simple form, the Port will be an Interface, but it might actually be composed of several Interfaces and DTOs.