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!

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.