what is the difference between multitier web application and multilayer web application?
A multi-tier application is any application developed and distributed among more than one layer. It logically separates the different application-specific, operational layers. The number of layers varies by business and application requirements, but three-tier is the most commonly used architecture.
Layers of Web ApplicationPresentation layer (PL) Data service layer (DSL) Business logic layer (BLL)
In simple term 3 layer architecture can implement in single machine then we can say that its is 1 tier architecture. If we implement each layer on separate machine then its called 3 tier architecture. A layer may also able to run several tier. In layer architecture related component to communicate to each other easily.
In three-tier, the application logic or process resides in the middle-tier, it is separated from the data and the user interface. Two-tier architecture consists of two layers : Client Tier and Database (Data Tier). Three-tier architecture consists of three layers : Client Layer, Business Layer and Data Layer.
As per my knowledge Tier is usually used to refer to the physical boundaries invloved in the architecture like web server, application server, database server where as
layer is used for logical boundaries like business layer, data access layer ui layer etc.
Layers Refer to specific layers of abstraction with in an application (software) where as tiers Refer to the physical residence of those layers (hardware)
App.Layer == "Software"-----logical
App.Tier == "Hardware"------physical
Layers:
1) presentation layer
2) business layer
3) data access layer
4) data layer
5) external system access layer
Tiers:
1) Presentation tier (webserver)
2) Data tier (database server)
To build on @Cybernate's answer:
If you have your solution split into UI, Business Logic, and Data Access then each of those is considered as separate layers.
If your data access was deployed on a separate machine and exposed via a web service, then that would be a multi-tiered design.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With