Search This Blog

Thursday, February 2, 2012

Difference between Layer and Tier

Layer corresponds to logical separation of code. A layer typically live within the same process and machine.
Typical Layers include:
1) Presentation Layer
2) Business Layer
3) Data Access Layer

Tier corresponds to physical separation of components i.e, different components like exe, dll, etc are deployed on the same server or multiple servers. Hence it can be said that Tiers are physical deployment of Layers.
Typical Tiers include:
1) Presentation Tier
2) Business Logic Tier
3) Data Tier