locked
web application architecture. RRS feed

  • Question

  • User673684250 posted

    what is the architecture of web application?

    If it is 3 tier architecture then how we define these three tiers?

     

    Wednesday, May 23, 2012 6:34 AM

Answers

All replies

  • User1320101480 posted

    Here's an example:

    http://geekswithblogs.net/edison/archive/2009/04/05/a-simple-3-tier-layers-application-in-asp.net.aspx

    These are the three tiers:


    1. The presentation tier 
    2. The business tier
    3. The data tier
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 23, 2012 6:38 AM
  • User1528972941 posted

    We can create web application using any type of architecture. i.e., 1-tier, 2-tier, 3-tier or N-Tier

    3-Tier Architecture:

    3-Tier architecture is also called layered architecture. Some people called it n-tier architecture. Layer architectures are essentially objects and work in object oriented environment. 3-tier architecture is a very well known architecture in the world of software development, it doesn't matter whether you are developing web based application or desktop based, it is the best architecture to use.

    3-Tier architecture consists of
    1) UI or Presentation Layer
    2) Business Access Layer or Business Logic Layer
    3) Data Access Layer



    Presentation Layer:
    Presentation layer consists of pages like .aspx or desktop based forms (Windows forms) where data is presented to users or getting input from users.

    Business Logic layer or Business Access Layer:
    Business logic layer contains all of the business logic. Its responsibility is to validate the business rules of the component and communicating with the Data Access Layer. Business Logic Layer is the class in which we write functions that get data from Presentation Layer and send that data to database through Data Access Layer.

    Data Access Layer:
    Data Access Layer is also the class that contains methods to enable business logic layer to connect the data and perform desired actions. These desired actions can be selecting, inserting, updating and deleting the data. DAL accepts the data from BAL and sends it to the database or DAL gets the data from the database and sends it to the business layer. In short, its responsibility is to communicate with the backend structure.

    For more information on the above layers follow the link:

    http://www.bestdotnettraining.com/Online/Training/CSharp/Developing-N-Tier-Arch-Applications/74

    Wednesday, May 23, 2012 6:56 AM