Difference between Layered Architecture and N-Tier Architecture
Layered Architecture vs N-Tier Architecture
Layered
Architectural Style
Layers are
the separation of code or you can say organize your come.
Layers may be residing in same
computer (1 tier) or in separate computer (N- Tier). In the Application each
layer communicates with other layer.
For example, normally in the application
following layer is defined
·
Presentation Layer (UI)
·
Business Layer
·
Data Access Layer
N-Tier
Architectural Style
In the N-Tier each layer can be
deployed on separate computer. In N-Tier application is logically separated
into minimum three layers. Each layer is responsible for specific functionality.
Example in Web application security
is important so the business layer is deployed behind firewall, and presentation
layer is on separate network.
Advantages of a layered architecture:
Layered architecture provides flexibility, maintainability, and scalability.
Layered architecture provides flexibility, maintainability, and scalability.
Layered
architecture parallel team works on different part of application.
Layered
architecture is loosely coupled.
Disadvantages of a layered architecture:
Performance is
slower because extra overhead.
Comments
Post a Comment