SlideShare a Scribd company logo
2
Most read
5
Most read
7
Most read
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

PPTX
2 tier and 3 tier architecture
PPTX
Robotics
PPT
Hive(ppt)
PPTX
DNA based Cryptography_Final_Review
PDF
Specialisation & the division of labour
PDF
Bisection method
PPTX
Operating systems
2 tier and 3 tier architecture
Robotics
Hive(ppt)
DNA based Cryptography_Final_Review
Specialisation & the division of labour
Bisection method
Operating systems

What's hot (20)

PPTX
Database architecture
PPTX
Er diagrams presentation
PPT
1. Introduction to DBMS
PPTX
Data Modeling PPT
PPT
11. Storage and File Structure in DBMS
PPTX
Ado.Net Tutorial
PPTX
Architecture of dbms(lecture 3)
PPT
Files Vs DataBase
PPT
Data independence
PPTX
Dbms architecture
PPTX
Distributed database management system
ODP
ER Model in DBMS
PPTX
Integrity Constraints
PPT
Coupling and cohesion
PPTX
PPT
Data models
PPTX
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
PDF
SQL - RDBMS Concepts
PPTX
Challenges of Conventional Systems.pptx
PDF
Normalization in DBMS
Database architecture
Er diagrams presentation
1. Introduction to DBMS
Data Modeling PPT
11. Storage and File Structure in DBMS
Ado.Net Tutorial
Architecture of dbms(lecture 3)
Files Vs DataBase
Data independence
Dbms architecture
Distributed database management system
ER Model in DBMS
Integrity Constraints
Coupling and cohesion
Data models
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
SQL - RDBMS Concepts
Challenges of Conventional Systems.pptx
Normalization in DBMS
Ad

Similar to two tier and three tier (20)

PPTX
2-Tier and 3-Tier Architecture of Enterprise Resource Planning
PPTX
Client computing evolution ppt11
PPT
3 Tier Architecture
PPTX
Client server architecture
PPS
Chapter2
PPTX
Client/Server Architecture By Faisal Shahzad
PPTX
client server architecture
PPTX
Client server architecture
PPT
3 Tier Architecture
PPT
Topic1 Understanding Distributed Information Systems
PPT
9. Distributed Systems Architecture.pptnnihi
PPTX
Introduction to Advanced Databases .pptx
PPTX
Odbc and data access objects
PPTX
Three-tier-architecture-with-database.pptx
PPTX
3 tier architecture
PPTX
Client Server Architecture...pptx
PPT
3 tierarchitecture-091103063446-phpapp01
2-Tier and 3-Tier Architecture of Enterprise Resource Planning
Client computing evolution ppt11
3 Tier Architecture
Client server architecture
Chapter2
Client/Server Architecture By Faisal Shahzad
client server architecture
Client server architecture
3 Tier Architecture
Topic1 Understanding Distributed Information Systems
9. Distributed Systems Architecture.pptnnihi
Introduction to Advanced Databases .pptx
Odbc and data access objects
Three-tier-architecture-with-database.pptx
3 tier architecture
Client Server Architecture...pptx
3 tierarchitecture-091103063446-phpapp01
Ad

More from Kashafnaz2 (9)

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

Recently uploaded (20)

PDF
Pre independence Education in Inndia.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
master seminar digital applications in india
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Pre independence Education in Inndia.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Anesthesia in Laparoscopic Surgery in India
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Week 4 Term 3 Study Techniques revisited.pptx
Microbial diseases, their pathogenesis and prophylaxis
master seminar digital applications in india
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPH.pptx obstetrics and gynecology in nursing
O5-L3 Freight Transport Ops (International) V1.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Insiders guide to clinical Medicine.pdf
Final Presentation General Medicine 03-08-2024.pptx
Cell Types and Its function , kingdom of life
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx

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.