Cardale Posted March 23, 2008 Share Posted March 23, 2008 I was taking a look at this PDO stuff and was curious if its worth using? Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/ Share on other sites More sharing options...
Daniel0 Posted March 24, 2008 Share Posted March 24, 2008 Yes it is. Also, all the vendor specific extensions (mysql, mysqli, pgsql, etc.) are going to be moved be moved to PECL in PHP6 while PDO remains installed by default. Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/#findComment-499257 Share on other sites More sharing options...
Mastodont Posted March 24, 2008 Share Posted March 24, 2008 all the vendor specific extensions (mysql, mysqli, pgsql, etc.) are going to be moved be moved to PECL in PHP6 while PDO remains installed by default. What does it mean exactly for developers? Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/#findComment-499403 Share on other sites More sharing options...
Daniel0 Posted March 24, 2008 Share Posted March 24, 2008 It means that scripts using legacy extensions for database connectivity will not work with default PHP6 installations. This can be solved by using PDO or by installing the extensions from PECL. Using PDO also has the benefit of being easily able to switch between various DMBS as long as you're not using vendor specific SQL. Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/#findComment-499460 Share on other sites More sharing options...
aschk Posted March 25, 2008 Share Posted March 25, 2008 I concur PDO is excellent. I recomend it's usage over traditional mysql_* functions. Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/#findComment-500385 Share on other sites More sharing options...
Liquid Fire Posted March 26, 2008 Share Posted March 26, 2008 Yes, I have converted the core functionality of my database class to PDO for this reason. Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/#findComment-501162 Share on other sites More sharing options...
KevinM1 Posted March 26, 2008 Share Posted March 26, 2008 Is it a standard component to PHP5? Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/#findComment-501335 Share on other sites More sharing options...
trq Posted March 26, 2008 Share Posted March 26, 2008 Is it a standard component to PHP5? Yes, it (along with the sqlite driver) is a default extension in php5. The drivers however usually need to be installed seperately. Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/#findComment-501345 Share on other sites More sharing options...
KevinM1 Posted March 26, 2008 Share Posted March 26, 2008 Is it a standard component to PHP5? Yes, it (along with the sqlite driver) is a default extension in php5. The drivers however usually need to be installed seperately. Nice. Hopefully my hosting has them installed. Quote Link to comment https://forums.phpfreaks.com/topic/97473-anyone-using-pdo/#findComment-501349 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.