Blog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2025 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Architecture
Architecturemedium

Hexagonal / Ports and Adapters — what’s the core idea?

Tags
#hexagonal#ports-adapters#clean-architecture#decoupling
Back to categoryPractice quiz

Answer

Keep business logic in the center (domain/use cases) and talk to the outside world through ports (interfaces). Adapters implement those ports for DB, HTTP, queues, etc., so you can swap infrastructure without rewriting core logic.

Related questions

Monoliths
Domain events inside a monolith: why use them and what are the pitfalls?
#monoliths#ddd#events