473,657 Members | 2,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

N Tier Architecture ?

Hi

1. I am in process of designing N-Tier Application using ASP.NET. Can
anyone guide me the right material or microsoft guidelines document
which I can used in designing the N-Tier application.

2. I would also like to know whether to use Web Services or .Net
Remoting in designing N-Tier application
3. General 3 Tier architecture has 3 Tier : Presentation Layer ,
Business Layer and Database Layer
How this 3 layers are seperated out in N-Tier architecture.

Help would be very much appreciated.

Thanks

Silent Ocean
Nov 19 '05 #1
2 2086
This book is widely considered to be "the authority" on such matters.
I suggest you read it:

Expert One-on-One Visual Basic .NET Business Objects (by Rockford Lhotka)
http://www.amazon.com/exec/obidos/AS...&link_code=as1

or here's the C# version if you prefer:
http://www.amazon.com/exec/obidos/AS...&link_code=as1

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Silent Ocean" <si************ @yahoo.com> wrote in message
news:ek******** ******@tk2msftn gp13.phx.gbl...
Hi

1. I am in process of designing N-Tier Application using ASP.NET. Can
anyone guide me the right material or microsoft guidelines document which
I can used in designing the N-Tier application.

2. I would also like to know whether to use Web Services or .Net Remoting
in designing N-Tier application
3. General 3 Tier architecture has 3 Tier : Presentation Layer , Business
Layer and Database Layer
How this 3 layers are seperated out in N-Tier architecture.

Help would be very much appreciated.

Thanks

Silent Ocean

Nov 19 '05 #2
You will, no doubt, receive a number of excellent references in this thread.
So, my contribution will be to explain the underlying principles which guide
them all. I have found that understanding the underlying principles of
things makes life much simpler, and aids in the application of the derived
methodolgies, which will vary, as the application of the principles can
manifest itself in various valid ways.

The first principle of N-Tier application development is basically one of
the same prinicples that guide object-oriented programming in general. That
is, by organizing and encapsulating functionality into various independent
"modules," one enhances productivity and avoids many future pitfalls. A
class should have as few external dependencies as possible in order to be as
reusable as possible, so good object-oriented design dictates that classes
should, for the most part, manage themselves. Similarly, for example, the
data layer of a classic 3-tier application should manage itself, and not
perform any business logic with data. It should simply manage raw data from
whatever data sources it is designed to work with.

Loose coupling is another basic principle of N-Tier development. The data
layer of an N-Tier app, for example, should have an API that is not tied to
any specific client, so as to be reusable in any application. It may also
have a back-end which can be configured to work with a variety of data
sources in different ways without much external management. It should
encapsulate its inner workings.

Similarly, the business layer of an N-Tier application should be designed to
manipulate data, to perform the required business logic involved in fetching
data from the data tier, and applying logic to organize and present the data
to the presentation tier. It is the "middle-man" of the application. It is
not cognizant of where the data comes from, nor how it is to be presented to
the user. As far as it knows, it is fetching data from the data tier, and
feeding the data TO the data tier. By not having any presentation logic, it
can be easily re-purposed for a variety of presentation tiers, such as
Windows Forms, Web Services, ASP.Net applications, other business clients,
etc. It should have an API that is not specific to any client.

Finally, the presentation tier encapsulates only user interface logic. It
should not perform any business logic, but rely on the business layer to
organize and manipulate data. The presentation tier should take input from
the user, and use the business layer's API to communicate between the user
and the business layer. In essence, the presentation layer is simply a
communicator. It translates the user's interaction with it into instructions
that are relayed to the business layer. It is "user-friendly," meaning that
the user understands its user interface, and "business friendly" in that it
can speak to the business layer through its API. It is like the old Star
Trek Universal Translator.

By using this combination of the principles of encapsulation and loose
coupling, one will spend less time in the long run in dealing with the
developmnent of the application, identifying and fixing bugs, and the
inevitable changes that occur over the lifetime of an application.

And it is important to remember that the 3-Tier model is basically a rough
idea of these principles. In fact, these 3 tiers are often sub-divided
according to the needs of the developer, and the requirements and
anticipated requirements of the application.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.
"Silent Ocean" <si************ @yahoo.com> wrote in message
news:ek******** ******@tk2msftn gp13.phx.gbl...
Hi

1. I am in process of designing N-Tier Application using ASP.NET. Can
anyone guide me the right material or microsoft guidelines document which
I can used in designing the N-Tier application.

2. I would also like to know whether to use Web Services or .Net Remoting
in designing N-Tier application
3. General 3 Tier architecture has 3 Tier : Presentation Layer , Business
Layer and Database Layer
How this 3 layers are seperated out in N-Tier architecture.

Help would be very much appreciated.

Thanks

Silent Ocean

Nov 19 '05 #3

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

Similar topics

77
5667
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a database from SQL Server to Oracle or DB2 or vice versa... and that's it.... And a lot of these enterprises don't need it as they already know what database they are going to use and they don't plan on switching in and out database in the first...
25
5598
by: David Noble | last post by:
We've been developing a web site using 3-tier architecture for 18 months now. There is a common layer that defines the classes - using XML schemas. The data layer acts as a wrapper to 3 databases - SQL Server, Oracle and AS400. The business layer exposes web services which communicate with the front end, ASP.Net. All 3 tiers are on different boxes. This works well. Now I am leading a team to build a winforms app. I need some advice as
4
7018
by: Patrick | last post by:
I'm writing a winforms database application in C#. I've come across a lot of stuff lately about "N-Tier" architecture. Can anyone give me a simple explanation of N-Tier? The descriptions that I've found online are chock full of lingo that I simply don't know. I need the "N-Tier" for Dummies description. Talk to me like I'm in kindergarten. Of course, I'm particularly interested in how N-Tier relates to creating a winforms database...
3
14509
by: RAJESH | last post by:
I am working with c# and asp.net in developing web applications, iam using ..netframework 1.1 ,i want to know what is the need of 3-tier or 4-tier architecture in our application development.what is its part when some body is using our application.plese give links where i can find the answer.
0
8319
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8739
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7347
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6175
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4171
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.