473,327 Members | 2,071 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,327 software developers and data experts.

What is the need of 3 tier architecture or 4 tier architecture

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.
Nov 17 '05 #1
3 14483

"RAJESH" wrote...
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.


The underlying architecture should be transparent to the user, i.e. he/she
shouldn't be bothered with how the design of the construction is.

The advantages of n-tier architectures are mostly of maintainability for the
developers, where some keywords are "reusability", "pluggable architecture",
etc.

Though, some solutions *need* n-tier of some sort to even work (e.g.
distributed applications).

You wanted links? Here are some to start with...

http://www.microsoft.com/belux/nl/ms...tt/ntier1.mspx

http://msdn.microsoft.com/library/de...ml/distapp.asp

// Bjorn A
Nov 17 '05 #2
Basically, it's all about components. Let's say you have a Windows
application that performs a set of tasks. Now your boss tells you that it
needs to run as a Web Service. If the UI (presentation) logic is mixed up
with the business (task) logic, this is going to be a bear to do. You'll
have to slog through all that code and filter out the business code from the
presentation code. But if you put these into separate components (tiers),
you can easily plug your business code into any type of user interface or
API.

There's more to it, of course, but that's the basic principle. Software
evolves. Build it for evolution, extensibility, scalability.

See the links that Bjorn supplied for more detailed information. But never
forget the basic principles.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
There's a seeker born every minute.
- Dr. "Happy" Harry Cox

"RAJESH" <RA****@discussions.microsoft.com> wrote in message
news:12**********************************@microsof t.com...
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.

Nov 17 '05 #3
They are used for scalability too. Think of it like this if you are a
small firm and you use an n-tier environment and choose to use Access
as the backend database. As the company grows you will need an
enterprise level RDBMS like SQL Server. If developed well you will
only need to change the data tier and database management tier (the
RDBMS itself).

Think of each tier as a black box that only has functionality that is
related to what it needs to do. The tiers can just be logical or
physical. In the example above it's move a physical tiers.

Now say you are writing a very small Windows program that uses Access
as a backend database that is on the same computer as your exe. This
one exe does everything; UI logic, business logic and database logic,
you can separate all your logical tiers (UI, Business and Data) into
different objects (Which are scalable when it comes to program design
but not when it comes to architecture design.). When it comes to
performance this would be very very fast but it's not very scalable
because everything is on one computer. Because you divided everything
up logically you can split them into their own physical tier with
little work.

Now you take that exe and keep the UI in one exe and store it on each
user's computer and take the business logic and database logic out of
the UI and put each in its own executable and put them on the same
remote computer. Because you have the UI tier on the user's computer
and business and data tier on a remote computer together everything
becomes much more scalable less efficient because it goes over the
wire.

Now you switch from Access to SQL Server and put SQL Server on its own
computer and all you have to do is change the logic in the data tier.
Now the users wouldn't even know you are switching to a different RDBMS
because the data tier is on a different computer than the UI. Now
because you switched to an enterprise level RDBMS everything is even
more scalable but less efficient because it's going over the wire two
times instead of once now.

Now say the business tier and data tier is getting so much activity
that it's slowing down response time. So now you put the business tier
and data tier on their own servers which becomes even more scalable but
less efficient because now it has to go over the wire 3 times!!

Pretty much what I'm saying is 3-tier or n-tier architecture is more
scalable and can grow with your business. However at the same time
you are giving up some efficiency for scalability because anytime you
have to communicate over the wire or even between executables it's
less efferent but much more scalable because it can grow.

Anyway, hope that helps a bit,
Bravescharm

Nov 17 '05 #4

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

Similar topics

1
by: Droolboy | last post by:
Hi, I'm about to start building a simple invoicing system for internal use, and am leaning towards using Java in some form. Thing is, there are so many ways it could be done, I'm having a hard...
2
by: William Gower | last post by:
Having come from a Java background, I am used to the MVC framework. What is the official MS view on this? In .net we have a form class, I can create a class to represent the domain and I can use...
2
by: Frank Skare | last post by:
Hello, I have a lot MP3's and I want to build a simple MP3 player that helps me to sort out MP3 files that I don't like that much and want to delete. Instead of simply adding a delete feature...
2
by: Anil | last post by:
I want to download 3-tier/n-tier sample applications/source code for VB.NET. I searched a lot over google but couldnot find suitable links. So kindly suggest any links for the same.
7
by: Jon Davis | last post by:
I have a couple questions. First of all, would anyone consider a multi-layered programming approach (building business objects that are seperate from data access logic and seperate from user...
4
by: vunet.us | last post by:
I would like to create web charts. My site is using AJAX, so I thought of VML and SVG for chart graphics. But there is a browser compatibility issue. Flash would be a good solution but I do not...
0
by: Nick Caramello | last post by:
We are in the process of prototyping an architecture for a multi-tier application, and have run into the following problem: 1) We have a client application who calls a method sending over a...
18
by: pankajit09 | last post by:
Hello, Please tell me about 3-Tier Architecture in development of a software?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.