Hexagonal architecture

A structure that keeps core application logic independent of external systems by connecting them through defined ports.

Scheme

Broader terms