at last, PHP has PDO

For a long time, PHP has never included database abstraction library. To connect to database we have to use hundred of functions which is included as PHP built-in functions. Those functions are also too different in name (not standarized). That's make us difficult to write enterprise application.

Some developers write their own database abstraction layer to overcome this situation. Such as ADODB, Creole, PEAR::DB, etc (ADODB is my favourite). But again... those abstraction layer out there are not standard. Unlike Java, which has JDBC.

http://superbiji.blogspot.com/2004/12/adodb-and-creole-comparison.html

At last in PHP 5.1 (why not in 5.o ;) ), PHP will have a standard in database connection. It is named PDO or PHP Data Object. This will kick those library, because PDO will have some advantages. PDO will be more robust, more OOP, faster, and have pluggable driver for each database system. Well I hope so...

To try PDO, you will have to download latest PHP Beta version. Currently is PHP 5.1 Beta 3. Download here: http://www.php.net/downloads.php#v5.1

For more information, search google:
http://www.google.com/search?hl=en&lr=&safe=off&q=PDO+PHP&btnG=Search

Comments

edvh71zshill said…
This comment has been removed by a blog administrator.

Popular posts from this blog

Tips Jika Mobil Anda Habis Bensin LOL!

Setting open office u label tom & jerry