Date: 2020-04-19
Author: mw
Accepted
What type of application architecture is to be used ?
Considered options:
-
Layered architecture
-
Ports and adapters architecture
Drivers:
- The Reservation module is an example of a deep module.
- A large number of business rules.
- Some of the rules are quite complicated.
- Application should be well - tested .
Option no 2 - Ports and Adapters architecture. It is dedicated for modules with high business complexity. It separates domain logic from application logic. It allows to create independent tests for each type of logic.
Architecture is more complicated than Layered Architecture, but it gives much more opportunities.