3 - Tier Architecture
3 - Tier Architecture
3- tier Architecture
Topics Covered
• What is 3-tier Architecture?
• Evolution of 3-tier Architecture Development.
• What does 3-tier Architecture Offer You?
▫ Advantages & Disadvantages
• An Example of how to implement 3-tier
Architecture in .Net Platform Using C#
3
3-Tier Architecture
• These Applications runs on
the Traditional Client/Server
Model But from a Application
server.
• Client only Displays the GUI
and data, but has no part in
producing results
• Database Server Serves to
few Connections
11
3-Tier Advantages
• Scalability
▫ The Application Servers can be deployed on many
machines
▫ The Database no longer requires a connection from
every client.
• Reusability
▫ If a standard object is employed, the specific language
of implementation of middle tier can be made
transparent.
• Data Integrity
▫ The middle tier can ensure that only valid data is
allowed to be updated in the database.
12
3-Tier Advantages
• Improved Security
▫ Since the client doesn’t have direct access to the database,
Data layer is more secure.
▫ Business Logic is generally more secure since it is placed on
a secured central server.
• Reduced Distribution
▫ Changes to business logic only need to be updated on
application servers and need not to distributed on clients
• Improved Availability
▫ Mission Critical Applications can make use of redundant
application servers and redundant application servers, so it
can recover from network of server failures.
13
3-Tier Disadvantages
• Increased Complexity / Effort
▫ In General 3-tier Architecture is more complex to
build compared to 2-tier Architecture.
▫ Point of Communication are doubled.
14
Conclusions
• Complex business rules easy to implement in application
server layer.
• Business Logic off-loaded from database server and
client, which improve performance
• Changes to business logic automatically enforce by
server.
• All tiers can be platform independent.
• Superior Performance for medium to High Volume
Environments
15
Presentation Layer
18
Presentation Layer
Creating an Object of
Property Layer
22
Presentation Layer
Creating an Object of
Business Layer
23
Presentation Layer
Presentation Layer
Presentation Layer
Query Execution
31
Presentation Layer
Presentation Layer
Displaying Result
35
Thank You!