Difference between a Layer and Tier?

 Posted by Ddd on 3/22/2011 | Category: Design Pattern & Practices Interview questions | Views: 5366 | Points: 40
Answer:


Layer:
It refers to the separation of the logic (i.e the code and design) that is developed for an application in different files.

Tier:
It refers to the physical location of the Layer files.

example:
In an ASP.NET web site, we create GUI web forms, business logic , data access
logic, database all in one computer. In this case, we have 4 layers and 1 Tier.
if the GUI Web Forms,business logic, data access logic and database are all in
different computers, we have 4 layers and 4 Tiers.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Gaur1982 on: 7/25/2013 | Points: 10
What is the difference between “Layers” and “Tiers”? : http://www.planetofcoders.com/what-is-the-difference-between-layers-and-tiers/

Login to post response