SlideShare a Scribd company logo
Three-tier architecture
with database
Table of contents
01
File Systems & Database
Why database is better
than file systems
02
Website structure
Why database is used
for web structure
1
Database
2
1
2
File systems
Website Structure & Tiers
Three-Tier Architecture
Our team
Bao Chau
Duc Duy
Quoc Khanh
Quang Trung
File
systems vs
Database
01
A process that manages
how and where data on a
storage disk is sorted,
accessed and managed
An organized collection of
large amount of data that
can be easily accessed,
managed and updated
File System Database
Definition
High data inconsistency:
- A state representing structural
inconsistency within a certain group of
a file
- Caused by:
+ A nonplanned system shutdown
+ Indiscriminately clearing group
locks
+ Overriding built-in file
protections when using delete-file
Maintains data consistency:
- Any database transaction
must change affected data
only in allowed ways
- Data written to the
database must be valid, and
meet preconditioned values
File System Database
Data
Consistency
- Simple structure
- Each department store
and control its own data
- Complex structure
- Data can accessed by different
users but stored only in a system
File System Database
Structure
- Using decentralized
approach  Not easy
- Using centralized
approach  Easy
File System Database
Data Sharing
- Each user defindes and
maintains the needed files
for specific purposes
 Cannot control
 Files of different users
don’t reflect others
 Inconsistency of data
- Control redundancy by
maintaining a defined single
repository of data
 No or less redundancy
 Remain consistency
File System Database
Redundancy
- Provide a password
mechanisim to protect data
- Many way to crack or hack
password
- Has specialized features
that help shielding to its
data
File System Database
Security
No backup and recovery
process
- Create a backup
subsystem to restore data if
required
- Provide crash recovery
mechanism
File System Database
Backup &
Recovery
- Files allow storing data while database is a
collection of organized data
- Database have many advantages over file
system
Summary
Website
Structure &
Tiers
02
Website Structure &
Tiers
Why it is important?
- Keep a website well-organized and uncluttered  Improve UX
- Important component of SEO strategy
+ Affect site ranks
+ Show most important website’s parts
Website Structure &
Tiers Three Tiers?
Website Structure &
Tiers
Two-Tier Architecture (Client-Server Architecture)
- A software architecture in which include:
+ A presentation layer or interface run on a client
+ A data layer or data structure gets stored on a server
- A two-tier architecture where:
+ A web browser makes a request: fill, submit forms, click on
links, type URLs into browsers
+ The web server response this request
Website Structure &
Tiers
Three-Tier Architecture (Database Architecture)
- Is a Client-Server architecture in which:
+ The functional process logic
+ Computer data storage
+ User interface
 Developed & maintained as independent modules on separate platform
- A software design pattern and a well-established software architecture
- A three-tier architecture where:
+ A web browser requests a resource
+ A response is generated from a database
Website Structure &
Tiers
Three-Tier Architecture (Layer Architecture)
- A three-tier architecture where:
+ A web browser requests the
resource generated from database
+ How the database and web server
respond to this request
 More complex architecture with
three-tiers: the browser is still the client
tier, the web server becomes the
middle tier, and the database is the
third or database tier.
Three-Tier Architecture
Two-Tier vs Three-Tier
It is a Client-Server Architecture. It is a Web-based application.
In two-tier, the application logic is either
buried inside the user interface on the client or
within the database on the server (or both).
In three-tier, the application logic or process
resides in the middle-tier, it is separated from
the data and the user interface.
Two-tier architecture consists of two layers :
Client Tier and Database (Data Tier).
Three-tier architecture consists of three layers :
Client Layer, Business Layer and Data Layer.
It is easy to build and maintain. It is complex to build and maintain.
Two-tier architecture runs slower. Three-tier architecture runs faster.
It is less secured as client can communicate
with database directly.
It is secured as client is not allowed to
communicate with database directly.
It results in performance loss whenever the
users increase rapidly.
It results in performance loss whenever the
system is run on Internet but gives more
performance than two-tier architecture.
Example – Contact Management System
created using MS-Access or Railway
Reservation System, etc.
Example – Designing registration form which
contains text box, label, button or a large
website on the Internet, etc.
Website Structure &
Tiers
Advantages of Three-Tier Architecture
- Efficiency: Each tier has their own function to perform which spreads out the work over
several systems
- Security: The relational database management system provides a single point of
access and governs who is retrieving the data and how the data is updated
- Scalability: The structure can run on many different types of hardware and operating
systems
- Flexibility: This type of architecture can support many types and sizes of businesses
- Performance: Because the presentation tier can cache request, network utilization is
minimized the load is reduced.
CREDITS: This presentation template was
created by Slidesgo, including icons by Flaticon,
and infographics & images by Freepik
Thanks!
Do you have any questions?

More Related Content

Similar to Three-tier-architecture-with-database.pptx

CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
flyinimohamed
 
DBMS Full.ppt
DBMS Full.pptDBMS Full.ppt
DBMS Full.ppt
pritikanamaity600
 
2.pptx
2.pptx2.pptx
Unit 1 DBMS
Unit 1 DBMSUnit 1 DBMS
Unit 1 DBMS
DhivyaSubramaniyam
 
Bn1030 oracle dba
Bn1030 oracle dbaBn1030 oracle dba
Bn1030 oracle dba
conline training
 
Ans mi0034-database management system-sda-2012-ii
Ans mi0034-database management system-sda-2012-iiAns mi0034-database management system-sda-2012-ii
Ans mi0034-database management system-sda-2012-ii
zafarishtiaq
 
Chapter2
Chapter2Chapter2
Chapter2suks_87
 
Introduction To Database.ppt
Introduction To Database.pptIntroduction To Database.ppt
Introduction To Database.ppt
RithikRaj25
 
UNIT 1-INtroduction_to_Database_Systems.pptx
UNIT 1-INtroduction_to_Database_Systems.pptxUNIT 1-INtroduction_to_Database_Systems.pptx
UNIT 1-INtroduction_to_Database_Systems.pptx
pncitechnologies
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
chatkall46
 
lec-01-WP.pdf
lec-01-WP.pdflec-01-WP.pdf
lec-01-WP.pdf
FumikageTokoyami4
 
Db lec 05_new
Db lec 05_newDb lec 05_new
Db lec 05_new
Ramadan Babers, PhD
 
Employee Self Services Portal
Employee Self Services Portal Employee Self Services Portal
Employee Self Services Portal
Mike Taylor
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
AaravSharma743156
 
Introductuction of sql server gain america
Introductuction of sql server  gain americaIntroductuction of sql server  gain america
Introductuction of sql server gain america
GainAmerica
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
Raj vardhan
 

Similar to Three-tier-architecture-with-database.pptx (20)

unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
 
DBMS Full.ppt
DBMS Full.pptDBMS Full.ppt
DBMS Full.ppt
 
Ch01
Ch01Ch01
Ch01
 
Client server architecture in .net by varun tiwari
Client server architecture in .net by varun tiwariClient server architecture in .net by varun tiwari
Client server architecture in .net by varun tiwari
 
2.pptx
2.pptx2.pptx
2.pptx
 
Unit 1 DBMS
Unit 1 DBMSUnit 1 DBMS
Unit 1 DBMS
 
Bn1030 oracle dba
Bn1030 oracle dbaBn1030 oracle dba
Bn1030 oracle dba
 
Ans mi0034-database management system-sda-2012-ii
Ans mi0034-database management system-sda-2012-iiAns mi0034-database management system-sda-2012-ii
Ans mi0034-database management system-sda-2012-ii
 
Chapter2
Chapter2Chapter2
Chapter2
 
Introduction To Database.ppt
Introduction To Database.pptIntroduction To Database.ppt
Introduction To Database.ppt
 
UNIT 1-INtroduction_to_Database_Systems.pptx
UNIT 1-INtroduction_to_Database_Systems.pptxUNIT 1-INtroduction_to_Database_Systems.pptx
UNIT 1-INtroduction_to_Database_Systems.pptx
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
lec-01-WP.pdf
lec-01-WP.pdflec-01-WP.pdf
lec-01-WP.pdf
 
Db lec 05_new
Db lec 05_newDb lec 05_new
Db lec 05_new
 
Employee Self Services Portal
Employee Self Services Portal Employee Self Services Portal
Employee Self Services Portal
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
 
Introductuction of sql server gain america
Introductuction of sql server  gain americaIntroductuction of sql server  gain america
Introductuction of sql server gain america
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 

Recently uploaded

How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
vencislavkaaa
 
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
foismail170
 
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
AlinaseFaith
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
foismail170
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
Pushpendra Kumar
 
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring ChapterHow Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
Hector Del Castillo, CPM, CPMM
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Sheldon Byron
 
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
larisashrestha558
 
134. Reviewer Certificate in Computer Science
134. Reviewer Certificate in Computer Science134. Reviewer Certificate in Computer Science
134. Reviewer Certificate in Computer Science
Manu Mitra
 
Personal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignmentPersonal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignment
ragingokie
 
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid feverWidal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
taexnic
 
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Dirk Spencer Corporate Recruiter LION
 
DIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptxDIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptx
FarzanaRbcomcs
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
Manu Mitra
 
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
gobogo3542
 
Heidi Livengood Resume Senior Technical Recruiter / HR Generalist
Heidi Livengood Resume Senior Technical Recruiter / HR GeneralistHeidi Livengood Resume Senior Technical Recruiter / HR Generalist
Heidi Livengood Resume Senior Technical Recruiter / HR Generalist
HeidiLivengood
 
Brand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio IBrand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio I
thomasaolson2000
 
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaaInteractive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
23211a7274
 
salivary gland disorders.pdf nothing more
salivary gland disorders.pdf nothing moresalivary gland disorders.pdf nothing more
salivary gland disorders.pdf nothing more
GokulnathMbbs
 

Recently uploaded (20)

How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
 
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
 
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
 
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring ChapterHow Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
 
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
 
134. Reviewer Certificate in Computer Science
134. Reviewer Certificate in Computer Science134. Reviewer Certificate in Computer Science
134. Reviewer Certificate in Computer Science
 
Personal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignmentPersonal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignment
 
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid feverWidal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
 
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
 
DIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptxDIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptx
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
 
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
 
Heidi Livengood Resume Senior Technical Recruiter / HR Generalist
Heidi Livengood Resume Senior Technical Recruiter / HR GeneralistHeidi Livengood Resume Senior Technical Recruiter / HR Generalist
Heidi Livengood Resume Senior Technical Recruiter / HR Generalist
 
Brand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio IBrand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio I
 
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaaInteractive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
 
salivary gland disorders.pdf nothing more
salivary gland disorders.pdf nothing moresalivary gland disorders.pdf nothing more
salivary gland disorders.pdf nothing more
 

Three-tier-architecture-with-database.pptx

  • 2. Table of contents 01 File Systems & Database Why database is better than file systems 02 Website structure Why database is used for web structure 1 Database 2 1 2 File systems Website Structure & Tiers Three-Tier Architecture
  • 3. Our team Bao Chau Duc Duy Quoc Khanh Quang Trung
  • 5. A process that manages how and where data on a storage disk is sorted, accessed and managed An organized collection of large amount of data that can be easily accessed, managed and updated File System Database Definition
  • 6. High data inconsistency: - A state representing structural inconsistency within a certain group of a file - Caused by: + A nonplanned system shutdown + Indiscriminately clearing group locks + Overriding built-in file protections when using delete-file Maintains data consistency: - Any database transaction must change affected data only in allowed ways - Data written to the database must be valid, and meet preconditioned values File System Database Data Consistency
  • 7. - Simple structure - Each department store and control its own data - Complex structure - Data can accessed by different users but stored only in a system File System Database Structure
  • 8. - Using decentralized approach  Not easy - Using centralized approach  Easy File System Database Data Sharing
  • 9. - Each user defindes and maintains the needed files for specific purposes  Cannot control  Files of different users don’t reflect others  Inconsistency of data - Control redundancy by maintaining a defined single repository of data  No or less redundancy  Remain consistency File System Database Redundancy
  • 10. - Provide a password mechanisim to protect data - Many way to crack or hack password - Has specialized features that help shielding to its data File System Database Security
  • 11. No backup and recovery process - Create a backup subsystem to restore data if required - Provide crash recovery mechanism File System Database Backup & Recovery
  • 12. - Files allow storing data while database is a collection of organized data - Database have many advantages over file system Summary
  • 14. Website Structure & Tiers Why it is important? - Keep a website well-organized and uncluttered  Improve UX - Important component of SEO strategy + Affect site ranks + Show most important website’s parts
  • 16. Website Structure & Tiers Two-Tier Architecture (Client-Server Architecture) - A software architecture in which include: + A presentation layer or interface run on a client + A data layer or data structure gets stored on a server - A two-tier architecture where: + A web browser makes a request: fill, submit forms, click on links, type URLs into browsers + The web server response this request
  • 17. Website Structure & Tiers Three-Tier Architecture (Database Architecture) - Is a Client-Server architecture in which: + The functional process logic + Computer data storage + User interface  Developed & maintained as independent modules on separate platform - A software design pattern and a well-established software architecture - A three-tier architecture where: + A web browser requests a resource + A response is generated from a database
  • 18. Website Structure & Tiers Three-Tier Architecture (Layer Architecture) - A three-tier architecture where: + A web browser requests the resource generated from database + How the database and web server respond to this request  More complex architecture with three-tiers: the browser is still the client tier, the web server becomes the middle tier, and the database is the third or database tier.
  • 19. Three-Tier Architecture Two-Tier vs Three-Tier It is a Client-Server Architecture. It is a Web-based application. In two-tier, the application logic is either buried inside the user interface on the client or within the database on the server (or both). In three-tier, the application logic or process resides in the middle-tier, it is separated from the data and the user interface. Two-tier architecture consists of two layers : Client Tier and Database (Data Tier). Three-tier architecture consists of three layers : Client Layer, Business Layer and Data Layer. It is easy to build and maintain. It is complex to build and maintain. Two-tier architecture runs slower. Three-tier architecture runs faster. It is less secured as client can communicate with database directly. It is secured as client is not allowed to communicate with database directly. It results in performance loss whenever the users increase rapidly. It results in performance loss whenever the system is run on Internet but gives more performance than two-tier architecture. Example – Contact Management System created using MS-Access or Railway Reservation System, etc. Example – Designing registration form which contains text box, label, button or a large website on the Internet, etc.
  • 20. Website Structure & Tiers Advantages of Three-Tier Architecture - Efficiency: Each tier has their own function to perform which spreads out the work over several systems - Security: The relational database management system provides a single point of access and governs who is retrieving the data and how the data is updated - Scalability: The structure can run on many different types of hardware and operating systems - Flexibility: This type of architecture can support many types and sizes of businesses - Performance: Because the presentation tier can cache request, network utilization is minimized the load is reduced.
  • 21. CREDITS: This presentation template was created by Slidesgo, including icons by Flaticon, and infographics & images by Freepik Thanks! Do you have any questions?