Re: [PHP] PDO for PHP 4 (was Re: Quick Poll: PHP 4 / 5)
This one time, at band camp, Manuel Lemos [EMAIL PROTECTED] wrote: The matter is that PDO does not offer real database independence, so application developers that want to not have to deal with the important aspects that are different among databases will still have to deal them in their applications making their applications non-portable. The point of PDO is not to gain database independence, rather a very real attempt to create a standard database interface for PHP. This it succeeds in doing. Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PDO for PHP 4 (was Re: Quick Poll: PHP 4 / 5)
Kevin Waterson wrote: The matter is that PDO does not offer real database independence, so application developers that want to not have to deal with the important aspects that are different among databases will still have to deal them in their applications making their applications non-portable. The point of PDO is not to gain database independence, rather a very real attempt to create a standard database interface for PHP. This it succeeds in doing. It is a reasonable start, but given the MAJOR differences in SQL, it is only a start and only solves SOME of the 'standardisation' problems in what seems a less than 'standard' way :( Most of us need it to get a lot more support before we can even start to consider switching to it - and the agro caused by now having apparently *FIVE* versions of PHP on the go does not help . ( PHP4.3.x - PHP4.4.0 - PHP5.0.5 - PHP5.1.x and PHP6 ALL of which require work moving even existing applications between them !!! ) Having to go BACK to fix problems introduced by PHP4.4 when the main development effort is PHP5 is simply a waste of resources - for a 'problem' that should perhaps have been picked up a lot sooner so that the 'use' of it in many libraries could have been prevented in the first place ? Many people can't even fix the errors because they are in third party libraries - so the ISP's HAVE to drop back to 4.3 ? But it would be nice to see an orderly move to a SINGLE PHP codebase ? -- Lester Caine - L.S.Caine Electronic Services -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PDO for PHP 4 (was Re: Quick Poll: PHP 4 / 5)
Hello, on 09/13/2005 10:29 PM Oliver Grätz said the following: Furthermore, PHP5.1 will introduce PDO which unifies this database interface for all db systems. It's a native database abstraction layer. NEWSFLASH: PDO already exists for PHP 4: http://www.phpclasses.org/pdo Despite of that, I do not think PDO is a compelling reason to use PHP 5. Basically it is yet another attempt to do the same where other abstraction layers extensions have failed like ODBC and DBX. The matter is that PDO does not offer real database independence, so application developers that want to not have to deal with the important aspects that are different among databases will still have to deal them in their applications making their applications non-portable. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php