473,467 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

App Quesion

ion
My application is a 2 tier design (client and db server) however I split it
up into 3 components: UI layer, business layer and data access layer. My
question is regarding how the UI interacts with the business layer. I split
my UI layer into two sub layers: Forms and UI control classes. In my
design all of the interaction goes through my UI control classes between the
the other layers and my UI (forms). This work well (encapsulating flow
code) however I have noticed with this design I am passing values (user
input) from my form to my UI control class to my business object (persisting
the data) and eventually to my data access layer. Should I be concerned?

Thanks
Nov 16 '05 #1
1 1800
Hi ion

IMHO there is no problem in doing it this way. The point you should always note that is the service layers should be independent of the client layers. Eg:. The DALC (data layer) should service the BO (biz layer) - not the other way round, which implicitly mean that changes in the BO should not affect the DALC. The same applies to the higher layers too.

MSDN Fitch and Mather and other enterprise samples provides good literature on the design of layers

Hope this helps
fbhca

Nov 16 '05 #2

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

Similar topics

1
by: Matthew K Jensen | last post by:
I've been trying to find a way to detect when a command run by os.popen (or similar) has completed (in Windows, btw). I found such a function (i don't remember the exact name and library), but the...
17
by: laniik | last post by:
Hi. I have a simple question, but I couldnt find the answer in any literature online. i have a base class A, that has some functions. now, my understanding of virtual functions means that in:...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.