Byte PHP framework

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    #46
    Then let's go with PDO keeping in mind that we should make it easier to add support for other databases as well. It might be just including one class and not the other while the access functions remain the same. This is what MVC is all about after all: The application logic can stay exactly the same if you change databases.

    ie my call to $dbAccess->add($userVO) ; would do the same exact thing no matter what the underlying methods/dbms $dbAccess uses.

    I'll try to code this week and test it with a PDO DAO (too many freakin' acronyms).

    ~Hope you guys get the job you interviewed for.~




    Dan

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #47
      have a look at /core/DB.php. that's how I implemented PDO, maybe you can use it.

      Comment

      Working...