• Save
3 Tier Architecture
Upcoming SlideShare
Loading in...5

3 Tier Architecture



What is it?

What is it?
Evolution to the 3-Tier Architecture
Advantages and Disadvantages
Example of 3 Tier aplication in .NET platform with C# language



Total Views
Views on SlideShare
Embed Views



39 Embeds 1,104

http://www.slideshare.net 772
http://p12ca2731.wordpress.com 62
http://rapidsol.blogspot.com 42
http://codetoils.blogspot.com 42
http://www.techgig.com 37
http://codetoils.blogspot.in 37
http://www.e-presentations.us 20
http://oocrm.blogspot.com 15
http://ahmadrais.blogspot.com 14
http://translate.googleusercontent.com 8
http://localhost 6
http://www.oocrm.blogspot.com 5
http://freshersenclave.blogspot.in 4
http://www.blogger.com 4
http://w3uap.blogspot.com 3
http://vohn00.byethost10.com 3
http://localhost:51166 3
http://www.ahmadrais.blogspot.com 2
http://solveyourpcproblem.blogspot.com 2
http://oocrm.blogspot.in 2
http://wildfire.gigya.com 2
http://rapidsol.blogspot.com.es 2
http://rapidsol.blogspot.in 1
http://rapidsol.blogspot.com.br 1
http://rapidsol.blogspot.ca 1
http://rapidsol.blogspot.com.au 1
http://rapidsol.blogspot.fi 1
https://twimg0-a.akamaihd.net 1
http://www.freshersenclave.blogspot.com 1
http://architecturecompilation.blogspot.com 1
http://chittimca3.blogspot.com 1
http://polybillions.blogspot.com 1
http://www.fachak.com 1
http://freshersenclave.blogspot.com 1
http://static.slidesharecdn.com 1
url_unknown 1
http://localhost:2659 1
http://www.search-results.com 1
https://twitter.com 1



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.


110 of 18 Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Nice Explaination...
    Are you sure you want to
    Your message goes here
  • beautiful explanation, thank you very much
    Are you sure you want to
    Your message goes here
  • Amazing slides which perfectly suits on 3 Tier Arch, Thanks a lot
    Are you sure you want to
    Your message goes here
  • Here is one way to copy the Slides,View the page in 'Full Screen Mode' print the screen just press the key('Print Screen SysRq') between 'F12 and Scroll Lock' now Escape Full Screen open new Ms Word and paste in it, Do the Same for all slides.
    Are you sure you want to
    Your message goes here
  • i want detail in 3-tier architecture
    Are you sure you want to
    Your message goes here

110 of 18

Post Comment
Edit your comment

    3 Tier Architecture 3 Tier Architecture Presentation Transcript

    • 3-Tier Architecture
    • Main Points
      • What is 3-Tier Architecture?
      • Evolution to the 3-Tier Architecture Development
      • What does 3-Tier Architecture offer you?
        • Advantages and disadvantages using 3-Tier Architecture
      • Example of how you can implement 3-Tier Architecture in .Net platform using C#.
    • What is 3-Tier Architecture?
      • A three-way interaction in a client/server environment.
        • The user interface is stored in the client.
        • The bulk of the business aplication logic is stored in one or more servers.
        • The data are stored in a database server.
    • What is 3-Tier Architecture
    • Evolution to the 3-Tier Architecture
      • Single Tier
      • Dual Tier Environments
      • 3-Tier Architecture
      • N-Tier Architecture
      Tiers we are going to study…
    • Single Tier (I)
      • Time of huge “Mainframe”
      • All processing in a single computer.
      • All resources attached to the same computer
      • Access via dumb terminals
    • Single Tier (II)
      • Advantages
        • Simple
        • Efficient
        • Uncomplicated
      • Disadvantages
        • The cost of the central machine is very expensive
    • Dual Tier (I)
      • The Personal Computer
      • Necessity of providing personal software
      • The client/server model was born!!!!
    • Dual Tier (III)
      • Logical system components – most wich are on the client.
    • Dual Tier (II)
      • Problems with this model:
        • The connections are very expensive.
        • One can only connects a limited number of users to a server before SQL server spends more time managing connections than processing request.
        • Cost-ineffective. Many users only use their connection 2-3% of the time.
    • 3-Tier Architecture (I)
      • With the advent of Internet many people jumped to the conclusion that the days of the mainframe were back.
      • Client/Server obviously failed, personal computers had failed and Windows was on its way out.
      • A host of “thin client” application where developed.
      • Thus 3-tier applications were born.
    • 3-Tier Architecture (II)
      • This application runs the traditional client/server model but from a web server.
    • 3-Tier Architecture (III)
      • The client only displays the GUI and data, but has no part in producing results.
    • 3-Tier Architecture (IV)
      • Benefits:
        • SCALABILITY:
          • The application servers can be deployed on many machines.
          • The database no longer requires a connection from every client (only from a smaller number of application servers).
          • TP monitors or ORBs can be used to balance loads and dynamically manage the number of application server(s) available.
    • 3-Tier Architecture (V)
      • Benefits:
        • BETTER RE-USE:
          • If an estandard object is employed, the specific language of implementation of the middle tier can be made transparent.
          • The middle tier can ensure that only valid data is allowed to be updated in the database.
    • 3-Tier Architecture (VI)
      • Benefits:
          • Since the client doesn’t have direct access to the database.
          • Business Logic is generally more secure since it is placed on a more secure central server.
          • Changes to business logic only need to be updated on the application servers and do not have to be distribuited to all the clients.
    • 3-Tier Architecture (VII)
      • Benefits:
          • Mission-critical applications can make use of redundant application servers and redundant database servers, so it can recover from network or server failures.
          • Since the actual structure of the database is hidden from the caller.
    • 3-Tier Architecture (VIII)
      • Drawbacks:
          • In general is more difficult to build a 3-tier application compared a 2-tier application because:
            • The points of communication are doubled.
            • Many handy productivity enhacements provided by the client tools will be foregone or their benefit will be reduced.
        • FEWER TOOLS:
          • The existence of more tools available for a 2-tier model (e.g. most reporting tools).
    • 3-Tier Architecture (IX)
      • The complexity concerns in the 3-tier model can not be easily dismissed, but there are many situations in which it provides certain benefits.
        • Example:
          • The bulk of data maintenance is done by a small number of users.
          • A large number of users must be supported, but they only require a small subset of the total application logic
          • Other application need to exchange some information/data with this application
          • Some users need direct access to the data in order to use special tools (e.g. reporting tools).
    • 3-Tier Architecture (X)
      • Conclusions:
        • Complex application rules easy to implement in application server.
        • Business logic off-loaded from database server and client, which improve performance
        • Changes to business logic automatically enforce by server
        • Application server is portable to other database server platforms by virtue of the application SW.
        • Superior performance for medium to high volume environments
    • 3-Tier application in ASP.Net
      • Program organized into three major disjunctive tiers on layers:
        • Application layer or Business layer
        • Business layer
          • Property layer
        • Data layer
    • 3-Tier application example
      • Graphical User Interface
    • Presentation Layer
    • Property Layer (I)
    • Property Layer (II)
    • Business Layer
    • Data Layer
    • Presentation Layer Creating an object of the Property Layer
    • Presentation Layer Creating an object of the Business Layer
    • Presentation Layer Creating an object in wich will recieve the information
    • Presentation Layer Obtaining ID
    • Presentation Layer Calling of Business Layer Function
    • Business Layer Creating an object in wich will recieve the information
    • Business Layer Calling of Business Layer Function
    • Data Layer Result object declaration
    • Data Layer SQL Query definition
    • Data Layer Creating an object in wich we will recieve the information
    • Data Layer SQL Query Execution
    • Data Layer Returning the information of the database
    • Business Layer Returning the information of the Data Layer
    • Presentation Layer Returning Data from the Business Layer
    • Presentation Layer Displaying Results