[Understanding Software Architecture Spec] Layered Architecture

Infrastructure

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

Why we choose Layered Architecture

  • Suitable for Small and Simple application
    • Layered Architecture is really easy to understand and start

Architecture Evaluation

Architecture SpecScore
Separate TypeTech
Quantum Number1
Deployment Ease1
Elasticity1
Evolvability1
Resiliency1
Modularity1
Overall Cost5
Performance2
Reliability3
Scalability1
Simplicity5
Testability2

コメント

タイトルとURLをコピーしました