473,396 Members | 1,775 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 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 2078
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**************@tk2msftngp13.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**************@tk2msftngp13.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
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...
25
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...
4
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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...
0
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...

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.