Hexagonal Architecture
The term Hexagonal Architecture stems from Alistair Cockburn and has been around for quite some time.4 It applies the same principles that Robert C. Martin later described in more general terms in Clean Architecture.
4 The primary source for the term "Hexagonal Architecture" seems to be an article on Alistair Cockburn's website at https://alistair.cockburn.us/hexagonal-architecture/.
Figure 3.4 – A Hexagonal Architecture is also called a “Ports and Adapters” architecture since the application core provides specific ports for each adapter to interact with
Figure 3.4 shows what a Hexagonal Architecture might look like. The application core is represented as a hexagon, giving this architectural style its name. The hexagon shape has no meaning, however, so we might just as well draw an octagon and call it “Octagonal Architecture.” According to legend, the hexagon was simply...