Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
docu...
JOBS APPLIED = 0
RESPONSES = 0
Nithil.pp
nithilp@gmail.com
facebook.com/ nithil
padinare peediyekal
twitter.com/nithilpp
in.linkedin.com/in/nithil.pp
999...
Evolution to the 3-tier Architecture
Single Tier
Dual Tier
3-Tier
…
N-tier
Single Tier Architecture
Single-Tier Architecture
• In 1-Tier Architecture the file you want to work
with must be accessible from a local or shared...
Two-Tier Architecture
Two-Tier Architecture
• Because of the two components, it is also called
Client-Server architecture.
• Client - runs the a...
Two-Tier Architecture
• Allows multiple users to access the database at the
same time .
• Server is processing data, which...
3-Tier Architecture
3-Tier Architecture
• Involves one more layer called the business logic tier,
service tier or middle tier (layer).
• In th...
• Three-tier solution is more scalable, as more users
access the system.
• middle layer protects the database tier, hence ...
Differences among 1-Tier,2-Tier,3-Tier
Architecture
1-Tier 2-Tier Multi-Tier
Benefits Very simple
Inexpensive
No server ne...
3-Tier Application in ASP.NET
• The Program is organised into three major
distinctive tiers or layers:
– Presentation Laye...
User interface layer
ID NAME ADDRESS EMAIL PICTURE
Tbl_student_information
Presentation Layer
Business Access Layer - Properties
Business Access Layer
Data Access Layer
Presentation Layer
23
Creating an Object of Property
Layer
Presentation Layer
24
Creating an Object of Business
Layer
Presentation Layer
25
Data Object to Receive Data
sent by Business Layer
Presentation Layer
26
Obtaining ID from Property
Layer
Presentation Layer
27
Calling Business Layer Function
Business Access Layer
28
Calling Data Layer Function
Data Access Layer
29
Result Object Declaration
Data Access Layer
30
SQL Query Definition
Data Access Layer
31
Creating Object to receive data
Data Access Layer
32
Query Execution
Data Access Layer
33
Returning the Information of
the Database
Business Access Layer
34
Retuning the Information of
Data Layer
Presentation Layer
35
Returning Data From Business
Layer
Presentation Layer
36
Displaying Result
Thank you…
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.co...
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, N...
3 tier architecture
3 tier architecture
3 tier architecture
Upcoming SlideShare
Loading in …5
×

3 tier architecture

1,857 views

Published on

3 tier architecture

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
1,857
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
74
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

3 tier architecture

  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. JOBS APPLIED = 0 RESPONSES = 0
  3. 3. Nithil.pp nithilp@gmail.com facebook.com/ nithil padinare peediyekal twitter.com/nithilpp in.linkedin.com/in/nithil.pp 9995223505 3 Tier Architecture
  4. 4. Evolution to the 3-tier Architecture Single Tier Dual Tier 3-Tier … N-tier
  5. 5. Single Tier Architecture
  6. 6. Single-Tier Architecture • In 1-Tier Architecture the file you want to work with must be accessible from a local or shared drive. • simplest of all the architectures, but also the least secure. • Since users have direct access to the files, they could accidentally modify, delete the file by accident or on purpose. • simple and cheap, but usually unsecured and data can easily be lost if you are not careful.
  7. 7. Two-Tier Architecture
  8. 8. Two-Tier Architecture • Because of the two components, it is also called Client-Server architecture. • Client - runs the application. • Server - handles the database back-end • The client computer can only access the data by starting the client. • Data on the server is much more secure. • Users are unable to change or delete data unless they have specific user rights to do so.
  9. 9. Two-Tier Architecture • Allows multiple users to access the database at the same time . • Server is processing data, which allows the client to work on the presentation and business logic only. i.e, client and the server is sharing the workload.
  10. 10. 3-Tier Architecture
  11. 11. 3-Tier Architecture • Involves one more layer called the business logic tier, service tier or middle tier (layer). • In the client-server solution the client was handling the business logic and that makes the client “thick”. o makes it difficult to use over slow network. • In 3-tier only little communication is needed between the client and the business layer making the client “thin” or “thinner”. • Example of a thin client • Internet browser - see and provide information fast and almost with no delay.
  12. 12. • Three-tier solution is more scalable, as more users access the system. • middle layer protects the database tier, hence security is best. • major drawbacks of N-tier architecture : • Increases the complexity. • Increases cost of installation. 3-Tier Architecture
  13. 13. Differences among 1-Tier,2-Tier,3-Tier Architecture 1-Tier 2-Tier Multi-Tier Benefits Very simple Inexpensive No server needed Good security More scalable Faster execution Exceptional security Fastest execution “Thin” client Very scalable Issues Poor security Multi user issues More costly More complex “Thick” client Very costly Very complex Users Usually 1 (or a few) 2-100 50-2000 (+)
  14. 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. 15. User interface layer ID NAME ADDRESS EMAIL PICTURE Tbl_student_information
  16. 16. Presentation Layer
  17. 17. Business Access Layer - Properties
  18. 18. Business Access Layer
  19. 19. Data Access Layer
  20. 20. Presentation Layer 23 Creating an Object of Property Layer
  21. 21. Presentation Layer 24 Creating an Object of Business Layer
  22. 22. Presentation Layer 25 Data Object to Receive Data sent by Business Layer
  23. 23. Presentation Layer 26 Obtaining ID from Property Layer
  24. 24. Presentation Layer 27 Calling Business Layer Function
  25. 25. Business Access Layer 28 Calling Data Layer Function
  26. 26. Data Access Layer 29 Result Object Declaration
  27. 27. Data Access Layer 30 SQL Query Definition
  28. 28. Data Access Layer 31 Creating Object to receive data
  29. 29. Data Access Layer 32 Query Execution
  30. 30. Data Access Layer 33 Returning the Information of the Database
  31. 31. Business Access Layer 34 Retuning the Information of Data Layer
  32. 32. Presentation Layer 35 Returning Data From Business Layer
  33. 33. Presentation Layer 36 Displaying Result
  34. 34. Thank you…
  35. 35. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  36. 36. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com

×