Sandeep Pandey
Sandeep Pandey

Reputation: 1122

What does the "Hexagonal" in Hexagonal Architecture mean?

I was reading through the Hexagonal Architecture and somehow I understood the concept but I am keen to understand why it is called Hexagonal.

Upvotes: 3

Views: 797

Answers (1)

aridlehoover
aridlehoover

Reputation: 3615

The Hexagonal Architecture got its name from the way Alistair Cockburn diagrams the pattern. It has nothing to do with the actual code.

The hexagon is not a hexagon because the number six is important, but rather to allow the people doing the drawing to have room to insert ports and adapters as they need, not being constrained by a one-dimensional layered drawing. The term "Hexagonal Architecture" comes from this visual effect.

Source: https://declara.com/content/va7eLmgJ

Upvotes: 4

Related Questions