Architecture 1
Architecture 1
Software Architecture
SUMMER 2021
MD. RAFI-UR-RASHID
LECTURER, DEPT. OF CSE, UIU
Why This Lesson?
It is essential to learn how a software is
modularized and distributed into
manageable pieces
N-tier (Layered) Architecture
What is N-tier architecture?
3-tier
2-tier
1-tier
3-tier Architecture
2-tier Architecture
1-tier Architecture
Impacts of multi-tiering
Scalability
Reliability
Fault tolerance
Security
Maintainability
Reusability
Software Architectural Patterns
Types of Layered Architectural Pattern
MVC
HMVC
MVVM
MVP
MVC
MVC Components
Model: The Model component corresponds to all the data-related
logic that the user works with. This can represent the related data
that is being transferred between the View and Controller
components.
View: The View component is used for all the UI logic of the
application. For example, the Customer view will include all the UI
components such as text boxes, dropdowns, etc.
Spring (Java)
Django (python)
Rails (Ruby)
Laravel (PHP)
Advantages
Rapid development
Low coupling
Efficient debugging
High maintainability
Monolithic Architecture
It is built as a single and indivisible unit and all the functions are
managed and served in one place.
Tight coupling
Microservice Architecture
Breaks it down into a collection of smaller independent units.
Each service has its own logic and the database as well as perform
the specific functions.
Suitable for applications that have a fixed set of core routines and
dynamic set of rule that needs frequent updates.