SIGN UP MEMBER LOGIN:    
ARTICLE

Two-Tier and Three-Tier Architecture with example

Posted by Gomathi Palaniswamy Articles | Design & Architecture September 28, 2010
In this article I will show a simple example to demonstrate about the two types of architecture.
Reader Level:

In this article we are going to discuss about the two-tier and three-tier architecture.

Two-Tier Architecture:

The two-tier architecture is like client server application. The direct communication takes place between client and server. There is no intermediate between client and server.

1.gif

The above figure shows the architecture of two-tier. Here the communication is one to one. Let us see the concept of two tier with real time application. For example now we have a need to save the employee details in database. The two tiers of two-tier architecture is
  1. Database (Data tier)
  2. Client Application (Client tier)
So, in client application the client writes the program for saving the record in SQL Server and thereby saving the data in the database.

Advantages:
  1. Understanding and maintenances is easier.
Disadvantages:
  1. Performance will be reduced when there are more users.
Three-Tier Architecture:

Three tier architecture having three layers. They are 
  1. Client layer
  2. Business layer
  3. Data layer
Client layer: Here we design the form using textbox, label etc.

Business layer: It is the intermediate layer which has the functions for client layer and it is used to make communication faster between client and data layer. It provides the business processes logic and the data access.

Data layer: it has the database.

2.gif

Advantages
  1. Easy to modify with out affecting other modules
  2. Fast communication
  3. Performance will be good in three tier architecture.

Login to add your contents and source code to this article
share this article :
post comment
 

its very good for beginners....thanks

Posted by janardhana reddy Jan 04, 2012

h

Posted by priya P Apr 25, 2011

This is very helpful to me.......for better understanding of three tier architecture you can visit following link.... http://dotnetpeoples.blogspot.com/2011/04/three-tier-architecture-in-aspnet.html

Posted by jatin nahar Apr 05, 2011
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
Nevron Gauge for SharePoint
Become a Sponsor