PHP Classes

Use of db abstraction

Recommend this page to a friend!

      PHP Classes blog  >  The Plot to Kill PHP ...  >  All threads  >  Use of db abstraction  >  (Un) Subscribe thread alerts  
Subject:Use of db abstraction
Summary:Importance db abstraction
Messages:1
Author:Ejaz Ahmad
Date:2011-07-15 18:10:07
Update:2011-07-15 18:41:30
 

  1. Use of db abstraction   Reply   Report abuse  
Picture of Ejaz Ahmad Ejaz Ahmad - 2011-07-15 18:41:30
This case also highlights the importance of use of db abstraction (or db abstraction class).

If your apps use db abstraction class then moving to mysqli or PDO is the just a matter of change in the config of db class.

Certain unexpected things may also happen in future, so, its best to be safe and use a method which could be easily ported to another system as well.