Answered by:
How to create 3-tier architecture

Question
-
User-566393114 posted
structure of 3-tier architrcture
Thursday, September 16, 2010 12:38 PM
Answers
-
User-952121411 posted
How do we transfer data from presentation layer to business logic layer??I will give a brief answer to a generally abstract question (not a problem, but please add specifics if you had anything in mind already); create an instance of a business object from your BLL and pass it back. Pass objects or objects boxed as their Interface type if using a design implementing interfaces.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, September 18, 2010 5:32 PM
All replies
-
User-1802908944 posted
these should be three layer:
Presentation Layer
Business Login Layer
Data Access Layer
http://www.dotnetfunda.com/articles/article71.aspx
Thursday, September 16, 2010 2:10 PM -
User1480033891 posted
Hi,
In essense,
Presentation Layer is your web page where you display information which may include a submit button, when clicked page is submitted to the server.
Business Logic layer is you server side code (Page class or separate file) which processes inputs from the submitted page.
Data Layer - this is also a separate class that accesses your database (ADO.NET) normally called by the your business Logic Layer.
I hope this makes sense.
Thursday, September 16, 2010 2:25 PM -
Thursday, September 16, 2010 2:36 PM
-
User-952121411 posted
structure of 3-tier architrcture
Wow that is brief!
By tier I think you might mean layer, but regardless here is some help for both scenarios. A traditional 3-layer application consists of a UI (or Presentation) layer, the Busniess Logic Layer, and the Data Access Layer. These are 'logical' layers that could actually exist all on a single server. When you being separating layers onto thier own machines, that is when they become 'tiers'. Adding tiers to an architecture is much more expensive than adding layers in general due to the extra domain calls required.
Here are some links that might help you understand some more in depth including code examples:
3-tier Architecture with ASP.NET 2.0:
http://msdn.microsoft.com/en-us/library/aa581769.aspx
Building an N-Tier Application in .NET:
http://msdn.microsoft.com/en-us/library/ms973279.aspx
Creating a UI-BLL-DAL:
http://www.asp.net/data-access/tutorials/introduction
N-Layered Web Applications with ASP.NET 3.5 Part 1: General Introduction:
http://imar.spaanjaars.com/476/n-layered-web-applications-with-aspnet-35-part-1-general-introduction
Next, to help with understanding the difference between tiers and layers. The following links will help with this:
Should all apps be n-tier?
http://www.lhotka.net/WeBlog/PermaLink.aspx?guid=efa88d0a-2388-4909-bee1-c9bddb6e9868
A variety of physical n-tier options:
http://www.lhotka.net/weblog/AVarietyOfPhysicalNtierOptions.aspx
Friday, September 17, 2010 2:37 PM -
User-1392959185 posted
http://forums.asp.net/t/1071505.aspxFriday, September 17, 2010 2:47 PM -
User-1989030018 posted
How do we transfer data from presentation layer to business logic layer??
Saturday, September 18, 2010 11:15 AM -
User-952121411 posted
How do we transfer data from presentation layer to business logic layer??I will give a brief answer to a generally abstract question (not a problem, but please add specifics if you had anything in mind already); create an instance of a business object from your BLL and pass it back. Pass objects or objects boxed as their Interface type if using a design implementing interfaces.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, September 18, 2010 5:32 PM