SlideShare a Scribd company logo
3- tier Architecture
Sanjeev Sarma, Webx
1
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#
2
What is 3-tier Architecture?
• A three-way interaction in a client/Server
environment
▫ The User Interface is stored in the Client.
▫ The Business Application Logic is Stored in one or
more Servers.
▫ The Data is Stored in a Database Server.
3
4
Evolution to the 3-tier Architecture
Tiers we are going to
study
5
Single Tier Architecture
• Time of Huge “Mainframe”
• All Processing in Single
Computer
• All Resources Attached to
the same Computer
• Access Via Dumb Terminals
6
Single Tier – Advantages & Disadvantages
• Advantages
▫ Simple
▫ Efficient
▫ Uncomplicated
• Disadvantages
▫ Very Expensive
7
Dual Tier Architecture
• The Personal Computer
• Necessity of Providing
Personal Software
• The Client Server Model
was Born!!
• Logical System
Components – Most of
which are on the Client
8
Dual Tier – Advantages & Disadvantages
• Advantages
▫ Less Expensive than Mainframe
• Disadvantages
▫ The Connections to the Database Server are very
Expensive
▫ One can only connects a limited number of users to a
server before Database Server spends more time
managing connections than processing requests
▫ Cost-ineffective. Many users only use their
connections 2-3% of the time.
9
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
10
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.
11
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.
12
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.
13
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
14
3-Tier Application in ASP.NET
• The Program is organised into three major
distinctive tiers or layers:
▫ Presentation Layer (User Interface)
▫ Business Layer (Business Access Layer)
▫ Data Layer (Data Access Layer)
15
User Interface Layer
16
Presentation Layer
17
Business Access Layer - Properties
18
Business Access Layer
19
Data Access Layer
20
Presentation Layer
21
Creating an Object of
Property Layer
Presentation Layer
22
Creating an Object of
Business Layer
Presentation Layer
23
Data Object to Receive Data
sent by Business Layer
Presentation Layer
24
Obtaining ID from Property
Layer
Presentation Layer
25
Calling Business Layer
Function
Business Access Layer
26
Calling Data Layer Function
Data Access Layer
27
Result Object Declaration
Data Access Layer
28
SQL Query Definition
Data Access Layer
29
Creating Object to receive
data
Data Access Layer
30
Query Execution
Data Access Layer
31
Returning the Information
of the Database
Business Access Layer
32
Retuning the Information of
Data Layer
Presentation Layer
33
Returning Data From
Business Layer
Presentation Layer
34
Displaying Result
Questions & Answers
If Any?
35
Thank You!
36

More Related Content

What's hot

3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier ArchitectureWebx
 
Ektron 3-Tier Architecture
Ektron 3-Tier ArchitectureEktron 3-Tier Architecture
Ektron 3-Tier Architecture
BillCavaUs
 
Client Server Architecture in Database Management System
Client Server Architecture in Database Management SystemClient Server Architecture in Database Management System
Client Server Architecture in Database Management System
Papan Sarkar
 
Client sever architecture
Client sever architectureClient sever architecture
Client sever architecture
Tahira Sadaf
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
Bhargav Amin
 
Client Server System Development
Client Server System DevelopmentClient Server System Development
Client Server System Development
ManjuShanmugam1593
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecture
Ashir Mubeen
 
QSpiders - Server Architecture
QSpiders - Server ArchitectureQSpiders - Server Architecture
QSpiders - Server Architecture
Qspiders - Software Testing Training Institute
 
Client Server Architecture ppt
Client Server Architecture pptClient Server Architecture ppt
Client Server Architecture ppt
OECLIB Odisha Electronics Control Library
 
A middleware system between web and database servers
A middleware system between web and database serversA middleware system between web and database servers
A middleware system between web and database servers
Hyun Dong Lee
 
Client server model
Client server modelClient server model
Client server model
Gd Goenka University
 
Webtech presentation
Webtech presentationWebtech presentation
Webtech presentation
Anil Pokhrel
 
Mule scopes request_response_scope
Mule scopes request_response_scopeMule scopes request_response_scope
Mule scopes request_response_scope
kunal vishe
 
Remote Admittance
Remote AdmittanceRemote Admittance
Remote Admittance
Ajit Yadav
 
Synapseindia mobile application architectures
Synapseindia mobile application architecturesSynapseindia mobile application architectures
Synapseindia mobile application architectures
Synapseindiappsdevelopment
 
Client server technology main
Client server technology mainClient server technology main
Client server technology main
Anwar Kamal
 
Client-Server Model
Client-Server ModelClient-Server Model
Client-Server Model
HTS Hosting
 

What's hot (20)

3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier Architecture
 
Ektron 3-Tier Architecture
Ektron 3-Tier ArchitectureEktron 3-Tier Architecture
Ektron 3-Tier Architecture
 
Client Server Architecture in Database Management System
Client Server Architecture in Database Management SystemClient Server Architecture in Database Management System
Client Server Architecture in Database Management System
 
Client sever architecture
Client sever architectureClient sever architecture
Client sever architecture
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Client Server System Development
Client Server System DevelopmentClient Server System Development
Client Server System Development
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecture
 
Distributed system
Distributed systemDistributed system
Distributed system
 
QSpiders - Server Architecture
QSpiders - Server ArchitectureQSpiders - Server Architecture
QSpiders - Server Architecture
 
Client Server Architecture ppt
Client Server Architecture pptClient Server Architecture ppt
Client Server Architecture ppt
 
A middleware system between web and database servers
A middleware system between web and database serversA middleware system between web and database servers
A middleware system between web and database servers
 
Client server model
Client server modelClient server model
Client server model
 
Webtech presentation
Webtech presentationWebtech presentation
Webtech presentation
 
Mule scopes request_response_scope
Mule scopes request_response_scopeMule scopes request_response_scope
Mule scopes request_response_scope
 
Remote Admittance
Remote AdmittanceRemote Admittance
Remote Admittance
 
Synapseindia mobile application architectures
Synapseindia mobile application architecturesSynapseindia mobile application architectures
Synapseindia mobile application architectures
 
Client server technology main
Client server technology mainClient server technology main
Client server technology main
 
Client-Server Model
Client-Server ModelClient-Server Model
Client-Server Model
 

Similar to 3 tierarchitecture-091103063446-phpapp01

3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
tahir khan
 
Client Server Architecture...pptx
Client Server Architecture...pptxClient Server Architecture...pptx
Client Server Architecture...pptx
praladbaral
 
Introduction and Basics to web technology .pptx
Introduction and Basics to web technology .pptxIntroduction and Basics to web technology .pptx
Introduction and Basics to web technology .pptx
LEENASAHU42
 
client server architecture
client server architecture client server architecture
client server architecture
Saurabh Soni
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
RituBhargava7
 
Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11Tech_MX
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
sandeep54552
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdf
EidTahir
 
Campus Network Design Presentaion.pptx
Campus Network Design Presentaion.pptxCampus Network Design Presentaion.pptx
Campus Network Design Presentaion.pptx
mdshoaghossain
 
Presentation3 Multi-User Architecture.pdf
Presentation3 Multi-User Architecture.pdfPresentation3 Multi-User Architecture.pdf
Presentation3 Multi-User Architecture.pdf
ssuserd86b931
 
Choosing the Best Approach for Monitoring Citrix User Experience: Should You ...
Choosing the Best Approach for Monitoring Citrix User Experience: Should You ...Choosing the Best Approach for Monitoring Citrix User Experience: Should You ...
Choosing the Best Approach for Monitoring Citrix User Experience: Should You ...
eG Innovations
 
Thick client application security assessment
Thick client  application security assessmentThick client  application security assessment
Thick client application security assessment
Sanjay Kumar (Seeking options outside India)
 
Ch2_Ed7_Network_Applications.ppt
Ch2_Ed7_Network_Applications.pptCh2_Ed7_Network_Applications.ppt
Ch2_Ed7_Network_Applications.ppt
FernandoLipardoJr
 
3 Tier Architecture
3 Tier Architecture3 Tier Architecture
3 Tier Architecture
guestd0cc01
 
Azure Application Architecture Guide
Azure Application Architecture GuideAzure Application Architecture Guide
Azure Application Architecture Guide
Masashi Narumoto
 
Database Management System - 2a
Database Management System - 2aDatabase Management System - 2a
Database Management System - 2a
SSN College of Engineering, Kalavakkam
 
Database architacture
Database architactureDatabase architacture
Database architacture
Param Radadiya
 

Similar to 3 tierarchitecture-091103063446-phpapp01 (20)

3tier architecture
3tier architecture3tier architecture
3tier architecture
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 
Client Server Architecture...pptx
Client Server Architecture...pptxClient Server Architecture...pptx
Client Server Architecture...pptx
 
Technical Architectures
Technical ArchitecturesTechnical Architectures
Technical Architectures
 
Introduction and Basics to web technology .pptx
Introduction and Basics to web technology .pptxIntroduction and Basics to web technology .pptx
Introduction and Basics to web technology .pptx
 
client server architecture
client server architecture client server architecture
client server architecture
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdf
 
Campus Network Design Presentaion.pptx
Campus Network Design Presentaion.pptxCampus Network Design Presentaion.pptx
Campus Network Design Presentaion.pptx
 
4. system models
4. system models4. system models
4. system models
 
Presentation3 Multi-User Architecture.pdf
Presentation3 Multi-User Architecture.pdfPresentation3 Multi-User Architecture.pdf
Presentation3 Multi-User Architecture.pdf
 
Choosing the Best Approach for Monitoring Citrix User Experience: Should You ...
Choosing the Best Approach for Monitoring Citrix User Experience: Should You ...Choosing the Best Approach for Monitoring Citrix User Experience: Should You ...
Choosing the Best Approach for Monitoring Citrix User Experience: Should You ...
 
Thick client application security assessment
Thick client  application security assessmentThick client  application security assessment
Thick client application security assessment
 
Ch2_Ed7_Network_Applications.ppt
Ch2_Ed7_Network_Applications.pptCh2_Ed7_Network_Applications.ppt
Ch2_Ed7_Network_Applications.ppt
 
3 Tier Architecture
3 Tier Architecture3 Tier Architecture
3 Tier Architecture
 
Azure Application Architecture Guide
Azure Application Architecture GuideAzure Application Architecture Guide
Azure Application Architecture Guide
 
Database Management System - 2a
Database Management System - 2aDatabase Management System - 2a
Database Management System - 2a
 
Database architacture
Database architactureDatabase architacture
Database architacture
 

Recently uploaded

Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
dylandmeas
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
Nicola Wreford-Howard
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
Cynthia Clay
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
LR1709MUSIC
 
20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf
tjcomstrang
 
Business Valuation Principles for Entrepreneurs
Business Valuation Principles for EntrepreneursBusiness Valuation Principles for Entrepreneurs
Business Valuation Principles for Entrepreneurs
Ben Wann
 
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdfMeas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
dylandmeas
 
Global Interconnection Group Joint Venture[960] (1).pdf
Global Interconnection Group Joint Venture[960] (1).pdfGlobal Interconnection Group Joint Venture[960] (1).pdf
Global Interconnection Group Joint Venture[960] (1).pdf
Henry Tapper
 
Buy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star ReviewsBuy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star Reviews
usawebmarket
 
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-indiafalcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
Falcon Invoice Discounting
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
tanyjahb
 
What are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdfWhat are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdf
HumanResourceDimensi1
 
Taurus Zodiac Sign_ Personality Traits and Sign Dates.pptx
Taurus Zodiac Sign_ Personality Traits and Sign Dates.pptxTaurus Zodiac Sign_ Personality Traits and Sign Dates.pptx
Taurus Zodiac Sign_ Personality Traits and Sign Dates.pptx
my Pandit
 
Project File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdfProject File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdf
RajPriye
 
5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer
ofm712785
 
Pitch Deck Teardown: RAW Dating App's $3M Angel deck
Pitch Deck Teardown: RAW Dating App's $3M Angel deckPitch Deck Teardown: RAW Dating App's $3M Angel deck
Pitch Deck Teardown: RAW Dating App's $3M Angel deck
HajeJanKamps
 
April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
NathanBaughman3
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
awaisafdar
 
Improving profitability for small business
Improving profitability for small businessImproving profitability for small business
Improving profitability for small business
Ben Wann
 
BeMetals Presentation_May_22_2024 .pdf
BeMetals Presentation_May_22_2024   .pdfBeMetals Presentation_May_22_2024   .pdf
BeMetals Presentation_May_22_2024 .pdf
DerekIwanaka1
 

Recently uploaded (20)

Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
 
20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf
 
Business Valuation Principles for Entrepreneurs
Business Valuation Principles for EntrepreneursBusiness Valuation Principles for Entrepreneurs
Business Valuation Principles for Entrepreneurs
 
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdfMeas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
 
Global Interconnection Group Joint Venture[960] (1).pdf
Global Interconnection Group Joint Venture[960] (1).pdfGlobal Interconnection Group Joint Venture[960] (1).pdf
Global Interconnection Group Joint Venture[960] (1).pdf
 
Buy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star ReviewsBuy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star Reviews
 
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-indiafalcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
 
What are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdfWhat are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdf
 
Taurus Zodiac Sign_ Personality Traits and Sign Dates.pptx
Taurus Zodiac Sign_ Personality Traits and Sign Dates.pptxTaurus Zodiac Sign_ Personality Traits and Sign Dates.pptx
Taurus Zodiac Sign_ Personality Traits and Sign Dates.pptx
 
Project File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdfProject File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdf
 
5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer
 
Pitch Deck Teardown: RAW Dating App's $3M Angel deck
Pitch Deck Teardown: RAW Dating App's $3M Angel deckPitch Deck Teardown: RAW Dating App's $3M Angel deck
Pitch Deck Teardown: RAW Dating App's $3M Angel deck
 
April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
 
Improving profitability for small business
Improving profitability for small businessImproving profitability for small business
Improving profitability for small business
 
BeMetals Presentation_May_22_2024 .pdf
BeMetals Presentation_May_22_2024   .pdfBeMetals Presentation_May_22_2024   .pdf
BeMetals Presentation_May_22_2024 .pdf
 

3 tierarchitecture-091103063446-phpapp01