SlideShare a Scribd company logo
3-Tier Architecture
Main Points What is 3-Tier Architecture? Evolution to the 3-Tier Architecture Development What does 3-Tier Architecture offer you? Advantages and disadvantages using 3-Tier Architecture Example of how you can implement 3-Tier Architecture in .Net platform using C#.
What is 3-Tier Architecture? A three-way interaction in a client/server environment. The user interface is stored in the client. The bulk of the business aplication logic is stored in one or more servers. The data are stored in a database server.
What is 3-Tier Architecture
Evolution to the 3-Tier Architecture Single Tier Dual Tier Environments 3-Tier Architecture … N-Tier Architecture Tiers we are going to study…
Single Tier (I) Time of huge “Mainframe” All processing in a single computer. All resources attached to the same computer Access via dumb terminals
Single Tier (II) Advantages Simple Efficient Uncomplicated Disadvantages The cost of the central machine is very expensive
Dual Tier (I) The Personal Computer Necessity of providing personal software The client/server model was born!!!!
Dual Tier (III) Logical system components – most wich are on the client.
Dual Tier (II) Problems with this model: The connections are very expensive. One can only connects a limited number of users to a server before SQL server spends more time managing connections than processing request. Cost-ineffective. Many users only use their connection 2-3% of the time.
3-Tier Architecture (I) With the advent of Internet many people jumped to the conclusion that the days of the mainframe were back.  Client/Server obviously failed, personal computers had failed and Windows was on its way out. A host of “thin client” application where developed. Thus 3-tier applications were born.
3-Tier Architecture (II) This application runs the traditional client/server model but from a web server.
3-Tier Architecture (III) The client only displays the GUI and data, but has no part in producing results.
3-Tier Architecture (IV) Benefits: SCALABILITY:  The application servers can be deployed on many machines.  The database no longer requires a connection from every client (only from a smaller number of application servers). TP monitors or ORBs can be used to balance loads and dynamically manage the number of application server(s) available.
3-Tier Architecture (V) Benefits: BETTER RE-USE: If an estandard object is employed, the specific language of implementation of the middle tier can be made transparent. IMPROVE DATA INTEGRITY: The middle tier can ensure that only valid data is allowed to be updated in the database.
3-Tier Architecture (VI) Benefits: IMPROVED SECURITY: Since the client doesn’t have direct access to the database. Business Logic is generally more secure since it is placed on a more secure central server. REDUCED DISTRIBUTION: Changes to business logic only need to be updated on the application servers and do not have to be distribuited to all the clients.
3-Tier Architecture (VII) Benefits: IMPROVED AVAILABILITY: Mission-critical applications can make use of redundant application servers and redundant database servers, so it can recover from network or server failures. HIDDEN DATABASE STRUCTURE Since the actual structure of the database is hidden from the caller.
3-Tier Architecture (VIII) Drawbacks: INCREASED COMPLEXITY/EFFORT: In general is more difficult to build a 3-tier application compared a 2-tier application because: The points of communication are doubled. Many handy productivity enhacements provided by the client tools will be foregone or their benefit will be reduced. FEWER TOOLS: The existence of more tools available for a 2-tier model (e.g. most reporting tools).
3-Tier Architecture (IX) The complexity concerns in the 3-tier model can not be easily dismissed, but there are many situations in which it provides certain benefits.  Example: The bulk of data maintenance is done by a small number of users. A large number of users must be supported, but they only require a small subset of the total application logic Other application need to exchange some information/data with this application Some users need direct access to the data in order to use special tools (e.g. reporting tools).
3-Tier Architecture (X) Conclusions: Complex application rules easy to implement in application server. Business logic off-loaded from database server and  client, which improve performance Changes to business logic automatically enforce by server Application server is portable to other database server platforms by virtue of the application SW. Superior performance for medium to high volume environments
3-Tier application in ASP.Net Program organized into three major disjunctive tiers on layers: Application layer or Business layer Business layer  Property layer  Data layer
3-Tier application example Graphical User Interface
Presentation Layer
Property Layer (I)
Property Layer (II)
Business Layer
Data Layer
Presentation Layer Creating an object of the Property Layer
Presentation Layer Creating an object of the Business Layer
Presentation Layer Creating an object in wich will recieve the information
Presentation Layer Obtaining ID
Presentation Layer Calling of Business Layer Function
Business Layer Creating an object in wich will recieve the information
Business Layer Calling of Business Layer Function
Data Layer Result object declaration
Data Layer SQL Query definition
Data Layer Creating an object in wich we will recieve the information
Data Layer SQL Query Execution
Data Layer Returning the information of the database
Business Layer Returning the information of the Data Layer
Presentation Layer Returning Data from the Business Layer
Presentation Layer Displaying Results

More Related Content

PPTX
Real Time OS For Embedded Systems
PDF
Kubernetes - introduction
PDF
Can Protocol For Automobiles
PPTX
Chuong 6
PPTX
Relational algebra ppt
PPTX
Reuse Of Plastic Waste
PDF
User Interface Design Module 5 screen based controls
Real Time OS For Embedded Systems
Kubernetes - introduction
Can Protocol For Automobiles
Chuong 6
Relational algebra ppt
Reuse Of Plastic Waste
User Interface Design Module 5 screen based controls

What's hot (20)

PPTX
Ado.Net Tutorial
PPTX
Characteristics of cloud computing
PPT
3 Tier Architecture
PPTX
Distributed database management system
DOC
Naming in Distributed System
PPTX
Client server architecture
PPSX
Introduction to .net framework
PPTX
Cohesion and coupling
PPT
Data models
PPT
Introduction to .NET Framework
PPTX
Class Diagram
PPTX
Eucalyptus, Nimbus & OpenNebula
PPTX
Client server architecture
PDF
Service-Oriented Architecture (SOA)
PDF
Data Models
PPTX
object oriented methodologies
PPT
Webservices
PPTX
Client server model
PPTX
Distributed computing
Ado.Net Tutorial
Characteristics of cloud computing
3 Tier Architecture
Distributed database management system
Naming in Distributed System
Client server architecture
Introduction to .net framework
Cohesion and coupling
Data models
Introduction to .NET Framework
Class Diagram
Eucalyptus, Nimbus & OpenNebula
Client server architecture
Service-Oriented Architecture (SOA)
Data Models
object oriented methodologies
Webservices
Client server model
Distributed computing
Ad

Similar to 3 Tier Architecture (20)

PPTX
Overview of 3-tier Client Server Architecture
PPT
Topic1 Understanding Distributed Information Systems
PPTX
3 tier architecture
PPT
9. Distributed Systems Architecture.pptnnihi
PPTX
2-Tier and 3-Tier Architecture of Enterprise Resource Planning
PPS
Chapter2
PPTX
Client computing evolution ppt11
PDF
lec-01-WP.pdf
PPTX
two tier and three tier
PPT
client-server-architecture.ppt
PPT
client-server-architecture ss.ppt
PPT
Distributed information sys
DOCX
PPTX
Client/Server Architecture By Faisal Shahzad
PPT
Ch 8 Client Server
PDF
Comprehensive Guide to Effective Database Application Development Principles
PPT
Appathika.ppt
PPT
Part 1 network computing
Overview of 3-tier Client Server Architecture
Topic1 Understanding Distributed Information Systems
3 tier architecture
9. Distributed Systems Architecture.pptnnihi
2-Tier and 3-Tier Architecture of Enterprise Resource Planning
Chapter2
Client computing evolution ppt11
lec-01-WP.pdf
two tier and three tier
client-server-architecture.ppt
client-server-architecture ss.ppt
Distributed information sys
Client/Server Architecture By Faisal Shahzad
Ch 8 Client Server
Comprehensive Guide to Effective Database Application Development Principles
Appathika.ppt
Part 1 network computing
Ad

Recently uploaded (20)

PPTX
5 Stages of group development guide.pptx
PDF
Ôn tập tiếng anh trong kinh doanh nâng cao
PDF
Training And Development of Employee .pdf
PPTX
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
PDF
MSPs in 10 Words - Created by US MSP Network
PDF
WRN_Investor_Presentation_August 2025.pdf
DOCX
Business Management - unit 1 and 2
PDF
Business model innovation report 2022.pdf
PDF
Unit 1 Cost Accounting - Cost sheet
PPT
Chapter four Project-Preparation material
PPT
Data mining for business intelligence ch04 sharda
PDF
Reconciliation AND MEMORANDUM RECONCILATION
PDF
IFRS Notes in your pocket for study all the time
PPT
340036916-American-Literature-Literary-Period-Overview.ppt
PDF
Types of control:Qualitative vs Quantitative
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PPTX
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
PPTX
The Marketing Journey - Tracey Phillips - Marketing Matters 7-2025.pptx
PPTX
Business Ethics - An introduction and its overview.pptx
PDF
DOC-20250806-WA0002._20250806_112011_0000.pdf
5 Stages of group development guide.pptx
Ôn tập tiếng anh trong kinh doanh nâng cao
Training And Development of Employee .pdf
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
MSPs in 10 Words - Created by US MSP Network
WRN_Investor_Presentation_August 2025.pdf
Business Management - unit 1 and 2
Business model innovation report 2022.pdf
Unit 1 Cost Accounting - Cost sheet
Chapter four Project-Preparation material
Data mining for business intelligence ch04 sharda
Reconciliation AND MEMORANDUM RECONCILATION
IFRS Notes in your pocket for study all the time
340036916-American-Literature-Literary-Period-Overview.ppt
Types of control:Qualitative vs Quantitative
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
The Marketing Journey - Tracey Phillips - Marketing Matters 7-2025.pptx
Business Ethics - An introduction and its overview.pptx
DOC-20250806-WA0002._20250806_112011_0000.pdf

3 Tier Architecture

  • 2. Main Points What is 3-Tier Architecture? Evolution to the 3-Tier Architecture Development What does 3-Tier Architecture offer you? Advantages and disadvantages using 3-Tier Architecture Example of how you can implement 3-Tier Architecture in .Net platform using C#.
  • 3. What is 3-Tier Architecture? A three-way interaction in a client/server environment. The user interface is stored in the client. The bulk of the business aplication logic is stored in one or more servers. The data are stored in a database server.
  • 4. What is 3-Tier Architecture
  • 5. Evolution to the 3-Tier Architecture Single Tier Dual Tier Environments 3-Tier Architecture … N-Tier Architecture Tiers we are going to study…
  • 6. Single Tier (I) Time of huge “Mainframe” All processing in a single computer. All resources attached to the same computer Access via dumb terminals
  • 7. Single Tier (II) Advantages Simple Efficient Uncomplicated Disadvantages The cost of the central machine is very expensive
  • 8. Dual Tier (I) The Personal Computer Necessity of providing personal software The client/server model was born!!!!
  • 9. Dual Tier (III) Logical system components – most wich are on the client.
  • 10. Dual Tier (II) Problems with this model: The connections are very expensive. One can only connects a limited number of users to a server before SQL server spends more time managing connections than processing request. Cost-ineffective. Many users only use their connection 2-3% of the time.
  • 11. 3-Tier Architecture (I) With the advent of Internet many people jumped to the conclusion that the days of the mainframe were back. Client/Server obviously failed, personal computers had failed and Windows was on its way out. A host of “thin client” application where developed. Thus 3-tier applications were born.
  • 12. 3-Tier Architecture (II) This application runs the traditional client/server model but from a web server.
  • 13. 3-Tier Architecture (III) The client only displays the GUI and data, but has no part in producing results.
  • 14. 3-Tier Architecture (IV) Benefits: SCALABILITY: The application servers can be deployed on many machines. The database no longer requires a connection from every client (only from a smaller number of application servers). TP monitors or ORBs can be used to balance loads and dynamically manage the number of application server(s) available.
  • 15. 3-Tier Architecture (V) Benefits: BETTER RE-USE: If an estandard object is employed, the specific language of implementation of the middle tier can be made transparent. IMPROVE DATA INTEGRITY: The middle tier can ensure that only valid data is allowed to be updated in the database.
  • 16. 3-Tier Architecture (VI) Benefits: IMPROVED SECURITY: Since the client doesn’t have direct access to the database. Business Logic is generally more secure since it is placed on a more secure central server. REDUCED DISTRIBUTION: Changes to business logic only need to be updated on the application servers and do not have to be distribuited to all the clients.
  • 17. 3-Tier Architecture (VII) Benefits: IMPROVED AVAILABILITY: Mission-critical applications can make use of redundant application servers and redundant database servers, so it can recover from network or server failures. HIDDEN DATABASE STRUCTURE Since the actual structure of the database is hidden from the caller.
  • 18. 3-Tier Architecture (VIII) Drawbacks: INCREASED COMPLEXITY/EFFORT: In general is more difficult to build a 3-tier application compared a 2-tier application because: The points of communication are doubled. Many handy productivity enhacements provided by the client tools will be foregone or their benefit will be reduced. FEWER TOOLS: The existence of more tools available for a 2-tier model (e.g. most reporting tools).
  • 19. 3-Tier Architecture (IX) The complexity concerns in the 3-tier model can not be easily dismissed, but there are many situations in which it provides certain benefits. Example: The bulk of data maintenance is done by a small number of users. A large number of users must be supported, but they only require a small subset of the total application logic Other application need to exchange some information/data with this application Some users need direct access to the data in order to use special tools (e.g. reporting tools).
  • 20. 3-Tier Architecture (X) Conclusions: Complex application rules easy to implement in application server. Business logic off-loaded from database server and client, which improve performance Changes to business logic automatically enforce by server Application server is portable to other database server platforms by virtue of the application SW. Superior performance for medium to high volume environments
  • 21. 3-Tier application in ASP.Net Program organized into three major disjunctive tiers on layers: Application layer or Business layer Business layer Property layer Data layer
  • 22. 3-Tier application example Graphical User Interface
  • 28. Presentation Layer Creating an object of the Property Layer
  • 29. Presentation Layer Creating an object of the Business Layer
  • 30. Presentation Layer Creating an object in wich will recieve the information
  • 32. Presentation Layer Calling of Business Layer Function
  • 33. Business Layer Creating an object in wich will recieve the information
  • 34. Business Layer Calling of Business Layer Function
  • 35. Data Layer Result object declaration
  • 36. Data Layer SQL Query definition
  • 37. Data Layer Creating an object in wich we will recieve the information
  • 38. Data Layer SQL Query Execution
  • 39. Data Layer Returning the information of the database
  • 40. Business Layer Returning the information of the Data Layer
  • 41. Presentation Layer Returning Data from the Business Layer