473,471 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Presentation layer depends on ????

rbg
Hi,

I am trying to understand the layering concept with the ASP.NET 2.0
apps.

I have a ASP.NET 2.0 Web app which has 3 layers

Presentation layer which contains UI elements and Input validation
logic

Business layer which contains Business Rules, Business Objects and
Business Workflow

DataTier which contains database tables and stored procedures

I understand that each layer is a independent entity and can be
considered a blackbox by all other layers. Thus each layer can be built
independently of the other layers.

But in the above scenario can somebody tell me does the Presentation
layer depend on the Business layer only or does it depend on the
DataTier as well since there is Input validation involved in the
Presentation layer????

Also does the Business layer depend on the DataTier???

Thanks

Jul 3 '06 #1
1 1596
Hello rbg,

I am not sure what you mean exactly by "depend on", but simply put, the Presentation
Layer "uses" the business layer, which in turn uses the "Data Layer".

The Presentation layer should never communicate directly with the Data layer,
if it does, then you should re-think your architecture. The business layer
should be the is the only one that communicates directly with both as it
carries user input and commands from the presentation layer to the data layer
and sends back the resulting data from the Data layer to the presentation
layer. The business layer also functions as the thinking part of your application
with some functions not needing any database access, like calculations, business
logic descision making, data conversions and manipulation, file access ...etc

The presentation layer is best reserved for receiving and validating user
input in addition to formatting the output on the screen.

I hope this helps.
Hi,

I am trying to understand the layering concept with the ASP.NET 2.0
apps.

I have a ASP.NET 2.0 Web app which has 3 layers

Presentation layer which contains UI elements and Input validation
logic

Business layer which contains Business Rules, Business Objects and
Business Workflow

DataTier which contains database tables and stored procedures

I understand that each layer is a independent entity and can be
considered a blackbox by all other layers. Thus each layer can be
built independently of the other layers.

But in the above scenario can somebody tell me does the Presentation
layer depend on the Business layer only or does it depend on the
DataTier as well since there is Input validation involved in the
Presentation layer????

Also does the Business layer depend on the DataTier???

Thanks

Jul 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: MG | last post by:
A Newbie question perhaps, but here goes: Is it possible to seaprate the presentatieon layer, i.e., the html, from the application itself. For example, our developer has told us that we cannot...
11
by: Michael Rodriguez | last post by:
I have a windows form that makes a call to my BLL to get some data. The windows form has a progress bar component that I would like updated as the data retrieval takes place. However, strictly...
13
by: Michelle | last post by:
Hi all... I could use a little TLC here for understanding and not for solving a specific problem... sorry if I've got the wrong group, but I'm using VB so I figured this was the most appropriate...
5
by: Learner | last post by:
Hi there, I am just trying to set up 3 tier architecture. When i add my Datalayer project to the Business layer project the methods are exposed to in my business class. But in the similar way when...
2
by: Ily | last post by:
Hi all I am using Visual studio 2005. Im my project I have a presentation layer, a business layer and a data access layer. From my business layer i have a reference to my data layer. I also...
6
by: Dhananjay | last post by:
hello everyone i have got a problem i want to design business layer, data access layer , presentation layer for asp.net using C#.net , can anyone help me to solve this problem. i want some...
1
by: | last post by:
I'm querying Index Server to return search results, both regular properties and some custom properties I've created. Index Server has this preference for thinking about information as strings...
1
by: Clark Simpson | last post by:
Hi, Apologies if this is such a simple query but if I have an ASP/.NET Application which I normally access via www.foo.com/myapp on Machine A can I access this application layer machine via a...
0
by: johnlim20088 | last post by:
Can someone help me on this? I need a sample console application built in C# net with new practice -> separate in three layer architecture 1) Presentation layer 2) Business logic layer 3)...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.