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. what is actual in business layer ?

what is actual in business layer ?

Scheduled Pinned Locked Moved Design and Architecture
questionbusiness
6 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.
  • D Offline
    D Offline
    Dj y
    wrote on last edited by
    #1

    i wanted to know what is actual in business layer it is only properties or some logic over there

    L G D 3 Replies Last reply
    0
    • D Dj y

      i wanted to know what is actual in business layer it is only properties or some logic over there

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      http://en.wikipedia.org/wiki/Business_logic_layer[^] So, according to the name, yes, there'd be logic in there.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      • D Dj y

        i wanted to know what is actual in business layer it is only properties or some logic over there

        G Offline
        G Offline
        Ganesh KP
        wrote on last edited by
        #3

        Business layer can be placed in two locations 1. On client side and 2. On server side. Client side business layer will does all client side logic before sending to service (think the application has both Client and Service) and Server side business layer will deal with logic that is after retrieving data from db or before saving to db. Layer is nothing but a code/project to do certain actions. Also remember a Business Layer must not have any UI related things. If it has, then it is not a business layer. We have to move those UI related things to some other place most probably to Presentation Layer. Also on the other hand, if we have only one Client which deals with DB, then there will be only one BL (a business layer) which goes all logic in here. Hope you understand.

        Regards, Ganesh

        D 1 Reply Last reply
        0
        • G Ganesh KP

          Business layer can be placed in two locations 1. On client side and 2. On server side. Client side business layer will does all client side logic before sending to service (think the application has both Client and Service) and Server side business layer will deal with logic that is after retrieving data from db or before saving to db. Layer is nothing but a code/project to do certain actions. Also remember a Business Layer must not have any UI related things. If it has, then it is not a business layer. We have to move those UI related things to some other place most probably to Presentation Layer. Also on the other hand, if we have only one Client which deals with DB, then there will be only one BL (a business layer) which goes all logic in here. Hope you understand.

          Regards, Ganesh

          D Offline
          D Offline
          Dj y
          wrote on last edited by
          #4

          Thanks

          G 1 Reply Last reply
          0
          • D Dj y

            Thanks

            G Offline
            G Offline
            Ganesh KP
            wrote on last edited by
            #5

            No problem Djay...

            Regards, Ganesh

            1 Reply Last reply
            0
            • D Dj y

              i wanted to know what is actual in business layer it is only properties or some logic over there

              D Offline
              D Offline
              Dominic Burford
              wrote on last edited by
              #6

              The business layer defines the rules of the business. So for an accounting application you would expect to see accountancy rules being defined such as VAT rules, stock control rules etc. So yes, you would expect to see logic (rules) being defined in the business layer. One of the goals of n-tier design is that these rules should be completely encapsulated so that they can reused by other applications e.g. your company web site may use these business rules as well as your desktop application. For this reason it is common to find business rules implemented as services such WCF services in an SOA architecture.

              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