473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

N-tier applications with VB.NET: Where to put everything practically?

Hi,

I'm developping VB.NET-applications for 2 years now, and I'm now moving on
to bigger porjects, so I'm examining the use of Visio for enterprise
architects, and 'the design' we should use.

I'm my whole carreer already using the concept of the 3 tiers
(presentation-, business- and datalayer), but I don't now 'the exact way' to
do it (shame on me, hehe). Does anybody know some good articles about this
subject? So not the theoretical way, but really more practical.

What do I have to put actually in which layer? Les't take for exemple a
simple application that let the user administer the Northwind-database.
- Do I create one big Datalayer-class with different SqlDataAdapters and 1
DataSet? Or one class with one SqlDataAdapter and its own DataSet that I
inherit for every object/table?
- The logic behind for exemple a "Save"-button on a Form with a DataGrid: Do
I put this in the Business Layer, or in the Presentation Layer?
- The same with for exemple a button that will open a Form that shows all
the Orders of a Customer? Where do I search for its Orders etc?
- Do I create for each Form its own Business-class?

I know I'm asking some really dumb questions, but I'm getting confused, and
I really want to know the 'right' way :-)

Thanks a lot for any hints, documents, example

Nov 21 '05 #1
2 3469
There's a good article at the Patterns and Practices website called
"Application Architecture of .Net: Designing Applications and Services".
Its a real good read. It leans heavily in the SOA direction, as do most of
their papers these days, so you'll have to look past that (unless you need
that functionality).
http://www.microsoft.com/resources/p...s/default.mspx

Dave

"DraguVaso" <pi**********@hotmail.com> wrote in message
news:zd********************@phobos.telenet-ops.be...
Hi,

I'm developping VB.NET-applications for 2 years now, and I'm now moving on
to bigger porjects, so I'm examining the use of Visio for enterprise
architects, and 'the design' we should use.

I'm my whole carreer already using the concept of the 3 tiers
(presentation-, business- and datalayer), but I don't now 'the exact way' to do it (shame on me, hehe). Does anybody know some good articles about this
subject? So not the theoretical way, but really more practical.

What do I have to put actually in which layer? Les't take for exemple a
simple application that let the user administer the Northwind-database.
- Do I create one big Datalayer-class with different SqlDataAdapters and 1
DataSet? Or one class with one SqlDataAdapter and its own DataSet that I
inherit for every object/table?
- The logic behind for exemple a "Save"-button on a Form with a DataGrid: Do I put this in the Business Layer, or in the Presentation Layer?
- The same with for exemple a button that will open a Form that shows all
the Orders of a Customer? Where do I search for its Orders etc?
- Do I create for each Form its own Business-class?

I know I'm asking some really dumb questions, but I'm getting confused, and I really want to know the 'right' way :-)

Thanks a lot for any hints, documents, example

Nov 21 '05 #2
Thanks! Indeed a great article!
Tyhe whole link is:
http://msdn.microsoft.com/library/de...AppArchCh2.asp

It also links to another great article:
http://msdn.microsoft.com/library/de...tml/BOAGag.asp

Thanks a lot!

Pieter

"David Young" <RE******************@yahoo.com> wrote in message
news:uF**************@tk2msftngp13.phx.gbl...
There's a good article at the Patterns and Practices website called
"Application Architecture of .Net: Designing Applications and Services".
Its a real good read. It leans heavily in the SOA direction, as do most of their papers these days, so you'll have to look past that (unless you need
that functionality).
http://www.microsoft.com/resources/p...s/default.mspx

Dave

"DraguVaso" <pi**********@hotmail.com> wrote in message
news:zd********************@phobos.telenet-ops.be...
Hi,

I'm developping VB.NET-applications for 2 years now, and I'm now moving on to bigger porjects, so I'm examining the use of Visio for enterprise
architects, and 'the design' we should use.

I'm my whole carreer already using the concept of the 3 tiers
(presentation-, business- and datalayer), but I don't now 'the exact way'
to
do it (shame on me, hehe). Does anybody know some good articles about
this subject? So not the theoretical way, but really more practical.

What do I have to put actually in which layer? Les't take for exemple a
simple application that let the user administer the Northwind-database.
- Do I create one big Datalayer-class with different SqlDataAdapters and 1 DataSet? Or one class with one SqlDataAdapter and its own DataSet that I
inherit for every object/table?
- The logic behind for exemple a "Save"-button on a Form with a DataGrid: Do
I put this in the Business Layer, or in the Presentation Layer?
- The same with for exemple a button that will open a Form that shows

all the Orders of a Customer? Where do I search for its Orders etc?
- Do I create for each Form its own Business-class?

I know I'm asking some really dumb questions, but I'm getting confused,

and
I really want to know the 'right' way :-)

Thanks a lot for any hints, documents, example


Nov 21 '05 #3

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

Similar topics

5
by: Ken Dopierala Jr. | last post by:
Hi, I was wondering if there were any commercial applications out there that use .Net. Like games, accounting programs, and etc. I havn't seen any myself. I know a lot of web sites are built on...
1
by: Patrick Carroll | last post by:
Hi, I have a problem installing MS VS.NET 2003. First of all, I have all the pre-requisites installed and I have the requirements in system and in OS. (Win2000 SP3, etc..) Now, I had to...
2
by: DraguVaso | last post by:
Hi, I'm developping VB.NET-applications for 2 years now, and I'm now moving on to bigger porjects, so I'm examining the use of Visio for enterprise architects, and 'the design' we should use. ...
0
by: Sam | last post by:
Hi, I have 2 applications I designed and launched in VS.NET 2002. Later on, I converted them to VS.NET 2003 applications. I also installed .NET v1.1 on the server that hosts these applications....
5
by: Steve Sprague | last post by:
I have a .Net Framework question. I have installed VB.NET version 1.0.3705 I tried to install a small tutorial utillity. It told me I first needed to upgrade my Framework Version. So I went to...
28
by: Jim Hubbard | last post by:
I've noticed (for quite some time now) that .Net UIs are not as responsive (see Franklin Covey's PlanPlus for Windows XP or Symantec's .Net Norton Antivirus or even the .Net version of Paint done...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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...
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,...

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.