Hexagonal Architecture

Turkish equivalent: altıgen mimariDomain: Software Engineering

An architectural style that isolates application/domain logic behind ports and connects infrastructure through adapters.

Technical Context

The key boundary is dependency direction, not folder naming or drawing a hexagon. Database, HTTP, messaging, and test doubles should depend on application-facing contracts so business rules remain testable without infrastructure.

  • Ports and Adapters
  • Dependency Inversion
  • domain model
  • adapter