Matching variables and DB columns

Matching variables and DB columns

One frequent use for PHP objects in database-driven systems is as a wrapper around the entire database API. The theory is that the wrapper insulates the code from the specific database system, which will make it trivial to swap in a different RDBMS when the technical needs change. (We've never seen it work out quite this way in practice, but . . . don't get us started.) Another use that is almost as common (and that your authors like better) is to have object instances correspond to database result rows.

Website Link Visit Link Here
Author: Pixel2life

  • January 26, 2011 3:23 pm
  • Related Tutorials

    Subscribe to get this amazing EBOOK FREE


    By subscribing to this newsletter you agree to our Privacy Policy

    Skip to content