- Layer is a logical separation, how to organize the code. E.g.: presentation (view), controller, models, repository, data access, and Tier is a physical separation, where the code / process runs. E.g.: client, application server, database server;
- Layers mainly help in architecture principal of Maintainability, to deploy separate code at separate server, in Tier helps in performance where we can improve app performance if we have more then 1 server, like app server and DB Server.
- Layers are like, presentation layer (or UI), business logic layer and Database Layer, and Tire is like 2 tire , with app server and DB server.
This blog contains .net related contents like Azure, SharePoint,.NET architecture,C#, ASP.NET, SQL Server etc
Thursday, May 19, 2016
Interview Question Series - Tier vs Layer
Labels:
.net,
architecture,
Interview Question Series,
layers,
tier,
Tier vs layers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment