SlideShare a Scribd company logo
1 of 18
1
Subject: Web engineering
University of Education Okara Campus
Inam Ul Haq
Inam.bth@gmail.com
3-Tier Architecture
3-Tier Architecture
3 tier architecture is a three way interaction in Client-
Server environment
User interface stored in Client
Business Application Logic is used as one more server
The Data is stored in Database server
2
Evolution of 3-Tier Architecture
Single Tier
Dual Tier
3-Tier
………..
N Tier
Tiers we are going to
Study
3
Single Tier Architecture
• Time of Huge Main-Frame computers
• Single Computer manage all processes
• All Resources Attached to the same computer
• Access via dumb Terminals
4
Advantages and Disadvantages
Advantage
• Simple
• Efficient
• Uncomplicated
Disadvantages
• Very Expensive
5
Dual Tier Architecture
• Time of Personal computers
• The Client Server model was Born!
• Logical System Component most of which are on the client
6
Advantages and Disadvantages
Advantages
• Less expensive then Main-Frame
Disadvantages
• The connection to the database server are very expensive
• One user can connect to the user of server at a time
• Server need more time to respond existing connections
• Cost-ineffective: many users can use their connection 2-
3% of time
7
3-Tier Architectures
A three-tier architecture is a client-server architecture in which
the functional process, data access, computer data storage
and user interface are developed and maintained as
independent modules on separate platforms
8
3-Tier Architectures(Cont…)
•Presentation Tier:
displays information related to services
available on a website.
•Application Tier:
this tier is pulled from the presentation
tier. It controls application functionality
by performing detailed processing.
•Data Tier:
Houses database servers where
information is stored and retrieved.
9
Scalability
• The application server can be deployed on many machines
• Database no longer require connection from every client
Data Integrity
• Middle tier can ensure that only valid data is allowed to be
updated in the database
Improved security
• Because client does not have direct access to the database
therefore data is more secure
Advantages
10
Reduced distribution
• Updating is only need for application server and no need for
distributed on client
Maintainability
• Changes to the components in one layer have no effect on any
others layers
Reliability
• A 3-Tier architecture, if deployed on multiple servers, makes it
easier to increase reliability of a system by implementing
multiple levels of redundancy.
Advantages (Cont...)
11
Disadvantages
Increased complexity / efforts
• 3-tier architecture is more complex to build compared to 2-
tier architecture
12
Why 3-Tier Architecture ?
Needs of new world’s applications(Web Apps)
 Business will increasingly compete being the first to
market with new electronic goods and services
 Companies will create virtual corporations through
alliances with a shifting set of partners
 Roles and relationships btw. enterprises will shift
frequently
13
Use of artificial
intelligence
Why 3-Tier Architecture ? (Cont..)
 Meets the requirements of large-scale internet and
intranet client/server applications
 Is easier to manage and deploy on the network
 Provides better security
14
Web Applications
Web applications are a very common example of 3 tier applications.
The presentation tier consists of HTML, CSS and JavaScript, the
application logic tier runs on a web server in form of Java Servlets,
JSP, ASP.NET, PHP etc., and the data tier consists of a database of
some kind (mysql, postgresql, a noSQL database etc.). Here is a
diagram of a typical 3 tier web application
15
Mobile Applications
• Actually, it is the same principle with mobile applications that
are not standalone applications. A mobile application that
connects to a server typically connect to a web server and
send and receive data. Here is a diagram of a typical 3 tier
mobile application
16
Another 3-Tier Model
• You could also think of this as a 4-tier architecture:
• The database management system (DBMS)
• A persistence manager ( primary interface for application
components.)
• The main application software
• A GUI
17
• The purpose of N tier architecture is to insulate the different
layers of the application from each other. The GUI client
doesn't know how the server is working internally, and the
server doesn't know how the database server works internally
etc. They just communicate via standard interfaces.
Another 3-Tier Model (cont..)
18

More Related Content

What's hot

Full stack web development
Full stack web developmentFull stack web development
Full stack web developmentCrampete
 
Web ,app and db server presentation
Web ,app and db server presentationWeb ,app and db server presentation
Web ,app and db server presentationParth Godhani
 
Distributed Query Processing
Distributed Query ProcessingDistributed Query Processing
Distributed Query ProcessingMythili Kannan
 
Complete dbms notes
Complete dbms notesComplete dbms notes
Complete dbms notesTanya Makkar
 
Database backup and recovery basics
Database backup and recovery basicsDatabase backup and recovery basics
Database backup and recovery basicsShahed Mohamed
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and modelssabah N
 
Front End Development | Introduction
Front End Development | IntroductionFront End Development | Introduction
Front End Development | IntroductionJohnTaieb
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architectureKumar
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management SystemAjay Jha
 
Database architecture
Database architectureDatabase architecture
Database architectureVENNILAV6
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier ArchitectureWebx
 
Web Application Development Process presented by @Cygnismedia
Web Application Development Process presented by @CygnismediaWeb Application Development Process presented by @Cygnismedia
Web Application Development Process presented by @CygnismediaClark Davidson
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and UsesSuvradeep Rudra
 

What's hot (20)

2 tier and 3 tier architecture
2 tier and 3 tier architecture2 tier and 3 tier architecture
2 tier and 3 tier architecture
 
Full stack web development
Full stack web developmentFull stack web development
Full stack web development
 
Web ,app and db server presentation
Web ,app and db server presentationWeb ,app and db server presentation
Web ,app and db server presentation
 
AWS Simple Storage Service (s3)
AWS Simple Storage Service (s3) AWS Simple Storage Service (s3)
AWS Simple Storage Service (s3)
 
Distributed Query Processing
Distributed Query ProcessingDistributed Query Processing
Distributed Query Processing
 
Complete dbms notes
Complete dbms notesComplete dbms notes
Complete dbms notes
 
Database backup and recovery basics
Database backup and recovery basicsDatabase backup and recovery basics
Database backup and recovery basics
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
Front End Development | Introduction
Front End Development | IntroductionFront End Development | Introduction
Front End Development | Introduction
 
Web Development - Lecture 1
Web Development - Lecture 1Web Development - Lecture 1
Web Development - Lecture 1
 
SQL - RDBMS Concepts
SQL - RDBMS ConceptsSQL - RDBMS Concepts
SQL - RDBMS Concepts
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
Ajax ppt
Ajax pptAjax ppt
Ajax ppt
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Web application
Web applicationWeb application
Web application
 
Database architecture
Database architectureDatabase architecture
Database architecture
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier Architecture
 
Web Application Development Process presented by @Cygnismedia
Web Application Development Process presented by @CygnismediaWeb Application Development Process presented by @Cygnismedia
Web Application Development Process presented by @Cygnismedia
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and Uses
 

Viewers also liked

Viewers also liked (20)

3 Tier Architecture
3 Tier Architecture3 Tier Architecture
3 Tier Architecture
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 
6 3 tier architecture php
6 3 tier architecture php6 3 tier architecture php
6 3 tier architecture php
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 
3 tier data warehouse
3 tier data warehouse3 tier data warehouse
3 tier data warehouse
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
E business n_tier_arch
E business n_tier_archE business n_tier_arch
E business n_tier_arch
 
Groovy technology ecosystem
Groovy technology ecosystemGroovy technology ecosystem
Groovy technology ecosystem
 
penanganan kesalahan, optimasi kode, tabel informasi (Teknik Kompilasi)
penanganan kesalahan, optimasi kode, tabel informasi (Teknik Kompilasi)penanganan kesalahan, optimasi kode, tabel informasi (Teknik Kompilasi)
penanganan kesalahan, optimasi kode, tabel informasi (Teknik Kompilasi)
 
Chap 10(structure and unions)
Chap 10(structure and unions)Chap 10(structure and unions)
Chap 10(structure and unions)
 
IS 151 Lecture 3
IS 151 Lecture 3IS 151 Lecture 3
IS 151 Lecture 3
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7
 
IS 151 - Lecture 3
IS 151 - Lecture 3IS 151 - Lecture 3
IS 151 - Lecture 3
 
Truth table analysis
Truth table analysisTruth table analysis
Truth table analysis
 
Chapter one
Chapter oneChapter one
Chapter one
 
IS 151 Lecture 2
IS 151 Lecture 2IS 151 Lecture 2
IS 151 Lecture 2
 
Cd unit i
Cd unit iCd unit i
Cd unit i
 
pointer, structure ,union and intro to file handling
pointer, structure ,union and intro to file handlingpointer, structure ,union and intro to file handling
pointer, structure ,union and intro to file handling
 
aaالمملكة العربية السعودية
aaالمملكة العربية السعوديةaaالمملكة العربية السعودية
aaالمملكة العربية السعودية
 
Logical and Conditional Operator In C language
Logical and Conditional Operator In C languageLogical and Conditional Operator In C language
Logical and Conditional Operator In C language
 

Similar to 3 tier architecture

3 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp013 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp01asif khan
 
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 .pptxLEENASAHU42
 
Client Server Architecture...pptx
Client Server Architecture...pptxClient Server Architecture...pptx
Client Server Architecture...pptxpraladbaral
 
Client server architecture
Client server architectureClient server architecture
Client server architectureRituBhargava7
 
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-2sandeep54552
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfEidTahir
 
client server architecture
client server architecture client server architecture
client server architecture Saurabh Soni
 
Odbc and data access objects
Odbc and data access objectsOdbc and data access objects
Odbc and data access objectsSangeetha Sg
 
Part 1 network computing
Part 1 network computingPart 1 network computing
Part 1 network computingLinh Nguyen
 
Data stream processing and micro service architecture
Data stream processing and micro service architectureData stream processing and micro service architecture
Data stream processing and micro service architectureVyacheslav Benedichuk
 
Distributed information sys
Distributed information sysDistributed information sys
Distributed information sysMeena Chauhan
 

Similar to 3 tier architecture (20)

3 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp013 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp01
 
3tier architecture
3tier architecture3tier architecture
3tier architecture
 
3tier architecture
3tier architecture3tier architecture
3tier architecture
 
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...pptx
Client Server Architecture...pptxClient Server Architecture...pptx
Client Server Architecture...pptx
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
lec-01-WP.pdf
lec-01-WP.pdflec-01-WP.pdf
lec-01-WP.pdf
 
Technical Architectures
Technical ArchitecturesTechnical Architectures
Technical Architectures
 
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
 
client server architecture
client server architecture client server architecture
client server architecture
 
Clientserver
ClientserverClientserver
Clientserver
 
Odbc and data access objects
Odbc and data access objectsOdbc and data access objects
Odbc and data access objects
 
Part 1 network computing
Part 1 network computingPart 1 network computing
Part 1 network computing
 
Data stream processing and micro service architecture
Data stream processing and micro service architectureData stream processing and micro service architecture
Data stream processing and micro service architecture
 
4. system models
4. system models4. system models
4. system models
 
Distributed information sys
Distributed information sysDistributed information sys
Distributed information sys
 
Network administration Book
Network administration BookNetwork administration Book
Network administration Book
 
SOFTWARE COMPUTING
SOFTWARE COMPUTINGSOFTWARE COMPUTING
SOFTWARE COMPUTING
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

3 tier architecture

  • 1. 1 Subject: Web engineering University of Education Okara Campus Inam Ul Haq Inam.bth@gmail.com 3-Tier Architecture
  • 2. 3-Tier Architecture 3 tier architecture is a three way interaction in Client- Server environment User interface stored in Client Business Application Logic is used as one more server The Data is stored in Database server 2
  • 3. Evolution of 3-Tier Architecture Single Tier Dual Tier 3-Tier ……….. N Tier Tiers we are going to Study 3
  • 4. Single Tier Architecture • Time of Huge Main-Frame computers • Single Computer manage all processes • All Resources Attached to the same computer • Access via dumb Terminals 4
  • 5. Advantages and Disadvantages Advantage • Simple • Efficient • Uncomplicated Disadvantages • Very Expensive 5
  • 6. Dual Tier Architecture • Time of Personal computers • The Client Server model was Born! • Logical System Component most of which are on the client 6
  • 7. Advantages and Disadvantages Advantages • Less expensive then Main-Frame Disadvantages • The connection to the database server are very expensive • One user can connect to the user of server at a time • Server need more time to respond existing connections • Cost-ineffective: many users can use their connection 2- 3% of time 7
  • 8. 3-Tier Architectures A three-tier architecture is a client-server architecture in which the functional process, data access, computer data storage and user interface are developed and maintained as independent modules on separate platforms 8
  • 9. 3-Tier Architectures(Cont…) •Presentation Tier: displays information related to services available on a website. •Application Tier: this tier is pulled from the presentation tier. It controls application functionality by performing detailed processing. •Data Tier: Houses database servers where information is stored and retrieved. 9
  • 10. Scalability • The application server can be deployed on many machines • Database no longer require connection from every client Data Integrity • Middle tier can ensure that only valid data is allowed to be updated in the database Improved security • Because client does not have direct access to the database therefore data is more secure Advantages 10
  • 11. Reduced distribution • Updating is only need for application server and no need for distributed on client Maintainability • Changes to the components in one layer have no effect on any others layers Reliability • A 3-Tier architecture, if deployed on multiple servers, makes it easier to increase reliability of a system by implementing multiple levels of redundancy. Advantages (Cont...) 11
  • 12. Disadvantages Increased complexity / efforts • 3-tier architecture is more complex to build compared to 2- tier architecture 12
  • 13. Why 3-Tier Architecture ? Needs of new world’s applications(Web Apps)  Business will increasingly compete being the first to market with new electronic goods and services  Companies will create virtual corporations through alliances with a shifting set of partners  Roles and relationships btw. enterprises will shift frequently 13 Use of artificial intelligence
  • 14. Why 3-Tier Architecture ? (Cont..)  Meets the requirements of large-scale internet and intranet client/server applications  Is easier to manage and deploy on the network  Provides better security 14
  • 15. Web Applications Web applications are a very common example of 3 tier applications. The presentation tier consists of HTML, CSS and JavaScript, the application logic tier runs on a web server in form of Java Servlets, JSP, ASP.NET, PHP etc., and the data tier consists of a database of some kind (mysql, postgresql, a noSQL database etc.). Here is a diagram of a typical 3 tier web application 15
  • 16. Mobile Applications • Actually, it is the same principle with mobile applications that are not standalone applications. A mobile application that connects to a server typically connect to a web server and send and receive data. Here is a diagram of a typical 3 tier mobile application 16
  • 17. Another 3-Tier Model • You could also think of this as a 4-tier architecture: • The database management system (DBMS) • A persistence manager ( primary interface for application components.) • The main application software • A GUI 17
  • 18. • The purpose of N tier architecture is to insulate the different layers of the application from each other. The GUI client doesn't know how the server is working internally, and the server doesn't know how the database server works internally etc. They just communicate via standard interfaces. Another 3-Tier Model (cont..) 18