Layered Architecture Topology
- Presentation Layer
- Presentation Layer is responsible for User Interface(UI) and Backend Interface
- Business Layer
- Business Logic Layer for each requests like fetch data from persistence layer
- Persistence Layer
- Fetch/Create/Update data from database layer
- Database Layer
Specification
The most important part of Layered Architecture is Separation of Domains.
This architecture helps you to build effective role and responsibility models.
- Layer Separation
- Closed Layer
- When a request moves from top to bottom in a layer, it must go through the layer directly below without skipping any of the layers
- Closed layers facilitate separation of layers and help isolate changes within the architecture
- Open Layer
- opposite of Closed Layer
- Closed Layer
Why we choose Layered Architecture
- Suitable for Small and Simple application
- Layered Architecture is really easy to understand and start
Architecture Evaluation
Architecture Spec | Score |
---|---|
Separate Type | Tech |
Quantum Number | 1 |
Deployment Ease | 1 |
Elasticity | 1 |
Evolvability | 1 |
Resiliency | 1 |
Modularity | 1 |
Overall Cost | 5 |
Performance | 2 |
Reliability | 3 |
Scalability | 1 |
Simplicity | 5 |
Testability | 2 |
コメント