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. Database & SysAdmin
  3. Database
  4. Making an enterprise app database independent...

Making an enterprise app database independent...

Scheduled Pinned Locked Moved Database
databasecomtoolsquestion
5 Posts 3 Posters 1 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.
  • S Offline
    S Offline
    Salil Khedkar
    wrote on last edited by
    #1

    Any pointers, suggestions, links, hints on making an enterprise app database independent... Thanks… Salil Khedkar [^]

    C R 2 Replies Last reply
    0
    • S Salil Khedkar

      Any pointers, suggestions, links, hints on making an enterprise app database independent... Thanks… Salil Khedkar [^]

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Have a look at the Data Provider model (DotNetNuke[^] has a good example).


      My: Blog | Photos "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious

      S 1 Reply Last reply
      0
      • S Salil Khedkar

        Any pointers, suggestions, links, hints on making an enterprise app database independent... Thanks… Salil Khedkar [^]

        R Offline
        R Offline
        rwestgraham
        wrote on last edited by
        #3

        There are OOP design patterns that allow you to completely decouple an application from various parts of it's implementation, including database implementation. Basically you would define an abstract interface that describes database operations in a standard, high level, platform independent fashion. Then you use a pattern known as an Abstract Factory to create the classes that actually provide the platform specific database implementation. Having said that, it;s easy to describe the concept, the implementation is another matter altogether. :-) I suggest you get a good book, or several that describe Design Patterns for the language you are using and be prepared to spend a lot of time studying and experimenting.

        S 1 Reply Last reply
        0
        • R rwestgraham

          There are OOP design patterns that allow you to completely decouple an application from various parts of it's implementation, including database implementation. Basically you would define an abstract interface that describes database operations in a standard, high level, platform independent fashion. Then you use a pattern known as an Abstract Factory to create the classes that actually provide the platform specific database implementation. Having said that, it;s easy to describe the concept, the implementation is another matter altogether. :-) I suggest you get a good book, or several that describe Design Patterns for the language you are using and be prepared to spend a lot of time studying and experimenting.

          S Offline
          S Offline
          Salil Khedkar
          wrote on last edited by
          #4

          Hmmm... Thanks for the info man... Yup I am starting the study phase... :) Salil Khedkar [^]

          1 Reply Last reply
          0
          • C Colin Angus Mackay

            Have a look at the Data Provider model (DotNetNuke[^] has a good example).


            My: Blog | Photos "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious

            S Offline
            S Offline
            Salil Khedkar
            wrote on last edited by
            #5

            Hmmm... Thanks for the info... O/R mapper seems to be the keyword for this subject. I will read more... Salil Khedkar [^]

            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