Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. About Three -Tier and N-tier Architecture?

About Three -Tier and N-tier Architecture?

Scheduled Pinned Locked Moved Design and Architecture
questionbusinessarchitecture
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maruthimaru
    wrote on last edited by
    #1

    what is a data access layer,business logic layer?

    D S L 3 Replies Last reply
    0
    • M maruthimaru

      what is a data access layer,business logic layer?

      D Offline
      D Offline
      DaveAuld
      wrote on last edited by
      #2

      Here is a starting point for you to help get a basic intro to multi-tier development; http://msdn.microsoft.com/en-us/library/bb384398.aspx[^]

      Dave Find Me On: Web|Facebook|Twitter|LinkedIn


      Folding Stats: Team CodeProject

      1 Reply Last reply
      0
      • M maruthimaru

        what is a data access layer,business logic layer?

        S Offline
        S Offline
        Sandeep Mewara
        wrote on last edited by
        #3

        Create a class library - BusinessLogic Create a class library - DataAccess Now, from your UI, use the object model and pass on to BusinessLogic project class. This class is a Business logic class. Do the changes as per your need here. Now, pass on the changed data from business logic class to dataAccess project class. In this class, use ADO.NET and pass on the needed values to Stored Procedure. For getting back data, it will be transferred from DA to BL and then BL to UI layer. Have a look at these, explaination with samples: 3-tier architecture in C#[^] 3-Tier Architecture Examples[^] 3-Tier Architecture in ASP.NET with C#[^]

        Sandeep Mewara [My last tip/trick]: Browser back button issue after logout

        1 Reply Last reply
        0
        • M maruthimaru

          what is a data access layer,business logic layer?

          L Offline
          L Offline
          Legor
          wrote on last edited by
          #4

          As their name implies it. A data access layer has the responsibility to access data sources (e.g. a data base). Possible implementations of that layer may contain SQL statements. The business logic layer contains all the logic of the domain you're in. It gets the data needed for its business processes by using the functionalities of the data access layer. It doesn't care about how the data is grabbed from a source. The data access layer in contrast is not able to acccess the businnes layer (which lays "above" it).

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups