1
2 Comments

Guide to Hexagonal Architecture

Hexagonal Architecture is a software architecture that centers around the idea to isolate the core business of an application and separate out input and outputs to a system.

In this article I explain three topics

  • Problems in Designing applications
  • Main Principles
  • Components of Hexagonal Architecture

I also explain how to use this in real-world with a example of payment application.

📚 Read: mohitkhare.com/blog/hexagonal-architecture

Do share it with your community. Hope you learnt something new!

posted to Icon for group Developers
Developers
on December 15, 2020
  1. 1

    This could be a stupid question, but it seems like only four aspects/sides of the hexagon have concepts attached. Was hexagonal just cooler sounding?

    1. 1

      Hey, so in the example I shared I tried to keep it simple. The main idea behind hexagonal is to not have more than 3-4 ports on input/server side. Else it would defy the purpose if you have new port for each entity.

      Hope this clears the doubt.

Trending on Indie Hackers
Post-launch lesson: traffic came, activation didn’t User Avatar 36 comments You roasted my MVP. I listened. Here is v1.3 (Crash-proof & 100% Local) User Avatar 19 comments Building a daily selfie app with AI video generation User Avatar 17 comments Why I built a 'dumb' reading app in the era of AI and Social Feeds User Avatar 10 comments I Stopped Browsing Reddit Randomly. Here's the Keyword Monitoring System That Actually Gets Me Customers. User Avatar 8 comments For indie hackers: Outsource marketing or do it yourself? User Avatar 4 comments