Hi All,
GoodDay!!!,
iam new developer in Dotnet Technology ., i need Online Classes in 3-tier Archicture , please any one Share your knowledge in 3- tier Archicture .
Thanks & REGARDS,
SUBBAREDDY.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Munesh SharmaPosted Jun 20, 2015, 12:50 PM
Manoj BhoirPosted Jun 20, 2015, 12:36 PM
It is one confusing question for beginner. Few think that both are same. But they are not same. Tier represents different hardware box. Means the components are physically separated to different machines. But in case of layer all component remains in same system.
What are the Layers?
Theoretically it is N-Tier architecture. So, we can create as much layer as possible but basically people classify code in three different categories and put them in three different layers.
Presentation Layer/ UI Layer
This is the top most layer of application where user performs their activity. Let’s take example of any application where user needs to fill up one form. This form is nothing nut presentation layer. In windows application windows form is presentation layer and in web application web form belongs to presentation layer. Basically user’s input validation and rule processing performs in this layer.
Business Layer
This is on top of presentation layer. As the name suggest, most of the business operation performs here. For example, after collecting form data we want to validate them with our custom business rule. Basically we define classes and business entities in this layer.
Data Access Layer
It is on top of Business Logic Layer Data Access Layer presents. It contains methods that helps business layer to connect with database and perform CRUD operation. In data access layer generally all database related code and stuff belongs to. Sometimes people use platform independent data access layer to fetch data from different database vendor.