When to use which architectural style
Clean Architecture, the hexagonal architecture, and FCIS share a great deal of similarities that engineers may find hard to choose for their applications. The layers of these three architectural styles can be approximately mapped as follows:
| Clean Architecture | Hexagonal Architecture | FCIS |
| Entities | Shared / Common libs | Shared / Common libs |
| Use Case | Core / Domain / Port | Core |
| Interface Adapters | Adapters | Shell |
| Frameworks and Drivers | Adapters | Shell |
Table 7.1 – Approximate mapping among the three architectural styles
If we accept...