Your SlideShare is downloading. ×
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
3 tier architecture
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

3 tier architecture

1,327

Published on

3 tier architecture

3 tier architecture

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total Views
1,327
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
67
Comments
1
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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. JOBS APPLIED = 0 RESPONSES = 0
  • 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. Evolution to the 3-tier Architecture Single Tier Dual Tier 3-Tier … N-tier
  • 5. Single Tier Architecture
  • 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. Two-Tier Architecture
  • 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. 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. 3-Tier Architecture
  • 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. • 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. 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. 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. User interface layer ID NAME ADDRESS EMAIL PICTURE Tbl_student_information
  • 16. Presentation Layer
  • 17. Business Access Layer - Properties
  • 18. Business Access Layer
  • 19. Data Access Layer
  • 20. Presentation Layer 23 Creating an Object of Property Layer
  • 21. Presentation Layer 24 Creating an Object of Business Layer
  • 22. Presentation Layer 25 Data Object to Receive Data sent by Business Layer
  • 23. Presentation Layer 26 Obtaining ID from Property Layer
  • 24. Presentation Layer 27 Calling Business Layer Function
  • 25. Business Access Layer 28 Calling Data Layer Function
  • 26. Data Access Layer 29 Result Object Declaration
  • 27. Data Access Layer 30 SQL Query Definition
  • 28. Data Access Layer 31 Creating Object to receive data
  • 29. Data Access Layer 32 Query Execution
  • 30. Data Access Layer 33 Returning the Information of the Database
  • 31. Business Access Layer 34 Retuning the Information of Data Layer
  • 32. Presentation Layer 35 Returning Data From Business Layer
  • 33. Presentation Layer 36 Displaying Result
  • 34. Thank you…
  • 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. 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

×