Software Architecture Hexagonal. Hexagonal Architecture Style Characteristics Layers. Fig 1 depicts a layout of a hexagonal architecture.
In onion hexagonal or clean architecture the domain layer is in the center ie. The domain layer does not depend on any layers other than the domain model which is used for transferring data to other layer or accepting data from the higher layer. We know use cases as abstract descriptions of what users are doing with our software.
Input and Output Ports.
The term hexagonal architecture comes from this visual effect. This enables a higher level of isolation testability and control over your business specific code. The domain is totally independent of other layers and frameworks. The domain layer does not depend on any layers other than the domain model which is used for transferring data to other layer or accepting data from the higher layer.