SlideShare a Scribd company logo
1 of 12
Two tier and
three tier
Name : Kashaf Naz
Reg : SP18-BSI-025
Two-Tier
Architecture:
+ The two-tier is based on Client
Server architecture. The two-tier
architecture is like client server
application. The direct
communication takes place
between client and server. There
is no intermediate between client
and server. Because of tight
coupling a 2 tiered application
will run faster.
Two-Tier Architecture:
The Two-tier architecture is divided into
two parts:
+ Client Application (Client Tier)
+ Database (Data Tier)
Two-
Tier Architecture:
+ On client application side the
code is written for saving
the data in the SQL server
database. Client sends the
request to server and it process
the request & send back with
data. The main problem of two
tier architecture is the server
cannot respond multiple request
same time, as a result it cause a
data integrity issue.
Two-Tier Architecture:
Advantages Disadvantages
• Easy to maintain and modification is bit
easy
• In two tier architecture application
performance will be degrade upon
increasing the users.
• Communication is faster • Cost-ineffective
Three-Tier
Architecture
+ Three-tier architecture typically
comprise a presentation tier,
a business or data access tier, and
a data tier. Three layers in the three tier
architecture are as follows:
• Client layer
• Business layer
• Data layer
1) Client layer
+ It is also called as Presentation layer which contains UI part of our
application. This layer is used for the design purpose where data is
presented to the user or input is taken from the user. For example designing
registration form which contains text box, label, button etc.
2) Business layer
+ In this layer all business logic written like validation of data, calculations,
data insertion etc. This acts as a interface between Client layer and Data
Access Layer. This layer is also called the intermediary layer helps to make
communication faster between client and data layer.
3) Data layer:
+ In this layer actual
database is comes in the
picture. Data Access
Layer contains methods
to connect with database
and to perform insert,
update, delete, get data
from database based on
our input data.
Advantages
High performance, lightweight persistent objects
Scalability – Each tier can scale horizontally
Performance – Because the Presentation tier can cache requests, network utilization
is minimized, and the load is reduced on the Application and Data tiers.
High degree of flexibility in deployment platform and configuration
Better Re-use
Improve Data Integrity
Improved Security – Client is not direct access to database.
Easy to maintain and modification is bit easy, won’t affect other modules
In three tier architecture application performance is good.
Disadvantages
+ Increase Complexity/Effort
Thank you

More Related Content

What's hot

Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
Jotham Gadot
 
11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS
koolkampus
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization
emailharmeet
 
6. Integrity and Security in DBMS
6. Integrity and Security in DBMS6. Integrity and Security in DBMS
6. Integrity and Security in DBMS
koolkampus
 

What's hot (20)

Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
 
2 tier and 3 tier architecture
2 tier and 3 tier architecture2 tier and 3 tier architecture
2 tier and 3 tier architecture
 
Create table
Create tableCreate table
Create table
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
 
ER-Model-ER Diagram
ER-Model-ER DiagramER-Model-ER Diagram
ER-Model-ER Diagram
 
11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Restful web services ppt
Restful web services pptRestful web services ppt
Restful web services ppt
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
Advantages of DBMS
Advantages of DBMSAdvantages of DBMS
Advantages of DBMS
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
 
DBMS: Types of keys
DBMS:  Types of keysDBMS:  Types of keys
DBMS: Types of keys
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
6. Integrity and Security in DBMS
6. Integrity and Security in DBMS6. Integrity and Security in DBMS
6. Integrity and Security in DBMS
 
Decomposition using Functional Dependency
Decomposition using Functional DependencyDecomposition using Functional Dependency
Decomposition using Functional Dependency
 

Similar to two tier and three tier

Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11
Tech_MX
 
Chapter2
Chapter2Chapter2
Chapter2
suks_87
 
Topic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information SystemsTopic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information Systems
sanjoysanyal
 
Three-tier-architecture-with-database.pptx
Three-tier-architecture-with-database.pptxThree-tier-architecture-with-database.pptx
Three-tier-architecture-with-database.pptx
DuyTrn880338
 

Similar to two tier and three tier (20)

2-Tier and 3-Tier Architecture of Enterprise Resource Planning
2-Tier and 3-Tier Architecture of Enterprise Resource Planning2-Tier and 3-Tier Architecture of Enterprise Resource Planning
2-Tier and 3-Tier Architecture of Enterprise Resource Planning
 
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
 
Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11
 
Chapter2
Chapter2Chapter2
Chapter2
 
Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad
 
client server architecture
client server architecture client server architecture
client server architecture
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
3 Tier Architecture
3 Tier Architecture3 Tier Architecture
3 Tier Architecture
 
Topic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information SystemsTopic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information Systems
 
Odbc and data access objects
Odbc and data access objectsOdbc and data access objects
Odbc and data access objects
 
Three-tier-architecture-with-database.pptx
Three-tier-architecture-with-database.pptxThree-tier-architecture-with-database.pptx
Three-tier-architecture-with-database.pptx
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 
05_system architecture
05_system architecture05_system architecture
05_system 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
 
3 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp013 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp01
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier 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
 
Distributed information sys
Distributed information sysDistributed information sys
Distributed information sys
 
client-server.pptx
client-server.pptxclient-server.pptx
client-server.pptx
 

More from Kashafnaz2 (9)

AI Computer vision
AI Computer visionAI Computer vision
AI Computer vision
 
Commands and create account
Commands and create accountCommands and create account
Commands and create account
 
GIT AND GITHUB
GIT AND GITHUBGIT AND GITHUB
GIT AND GITHUB
 
Business idea / Bioinformatics startup
Business idea / Bioinformatics startupBusiness idea / Bioinformatics startup
Business idea / Bioinformatics startup
 
EVOLUTION / CONVERSATONS IN EVOLUTION THEORY 
EVOLUTION / CONVERSATONS IN EVOLUTION THEORY EVOLUTION / CONVERSATONS IN EVOLUTION THEORY 
EVOLUTION / CONVERSATONS IN EVOLUTION THEORY 
 
what is Epigenetics and It's Functionality
what is Epigenetics and It's Functionalitywhat is Epigenetics and It's Functionality
what is Epigenetics and It's Functionality
 
Fatty acid catabolism
Fatty acid catabolismFatty acid catabolism
Fatty acid catabolism
 
PCR presentation
PCR presentationPCR presentation
PCR presentation
 
Predict activity of short antimicrobial peptides
Predict activity of short antimicrobial peptidesPredict activity of short antimicrobial peptides
Predict activity of short antimicrobial peptides
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 

two tier and three tier

  • 1. Two tier and three tier Name : Kashaf Naz Reg : SP18-BSI-025
  • 2. Two-Tier Architecture: + The two-tier is based on Client Server architecture. The two-tier architecture is like client server application. The direct communication takes place between client and server. There is no intermediate between client and server. Because of tight coupling a 2 tiered application will run faster.
  • 3. Two-Tier Architecture: The Two-tier architecture is divided into two parts: + Client Application (Client Tier) + Database (Data Tier)
  • 4. Two- Tier Architecture: + On client application side the code is written for saving the data in the SQL server database. Client sends the request to server and it process the request & send back with data. The main problem of two tier architecture is the server cannot respond multiple request same time, as a result it cause a data integrity issue.
  • 5. Two-Tier Architecture: Advantages Disadvantages • Easy to maintain and modification is bit easy • In two tier architecture application performance will be degrade upon increasing the users. • Communication is faster • Cost-ineffective
  • 6. Three-Tier Architecture + Three-tier architecture typically comprise a presentation tier, a business or data access tier, and a data tier. Three layers in the three tier architecture are as follows: • Client layer • Business layer • Data layer
  • 7. 1) Client layer + It is also called as Presentation layer which contains UI part of our application. This layer is used for the design purpose where data is presented to the user or input is taken from the user. For example designing registration form which contains text box, label, button etc.
  • 8. 2) Business layer + In this layer all business logic written like validation of data, calculations, data insertion etc. This acts as a interface between Client layer and Data Access Layer. This layer is also called the intermediary layer helps to make communication faster between client and data layer.
  • 9. 3) Data layer: + In this layer actual database is comes in the picture. Data Access Layer contains methods to connect with database and to perform insert, update, delete, get data from database based on our input data.
  • 10. Advantages High performance, lightweight persistent objects Scalability – Each tier can scale horizontally Performance – Because the Presentation tier can cache requests, network utilization is minimized, and the load is reduced on the Application and Data tiers. High degree of flexibility in deployment platform and configuration Better Re-use Improve Data Integrity Improved Security – Client is not direct access to database. Easy to maintain and modification is bit easy, won’t affect other modules In three tier architecture application performance is good.