The Trinity Architecture proposed here is an architectural pattern for backend enterprise applications. It emanates from a typical 4-layers architecture employing the Dependency Inversion Principle (DIP). It is ideal for, but not limited to, Domain-Driven Design (DDD) applications.
The three pillars of Trinity are:
- the Domain Model (DOMAIN)
- the public Application Programming Interface (API)
- the Auxiliary Services (AUX)
Trinity emphasizes on balancing uncontrolled flexibility with consistency. It provides specific implementation guidelines with eight top modules.