Lester Caine wrote:
Wez Furlong wrote:

You're missing the point.


No *YOU* are missing the point.

Lester, have you bothered to read the code at all?

PDO is to databases what SAPI is to web servers. It is a layer in the guts of PHP that will one day make it much easier to maintain and add new database drivers. It has absolutely nothing to do with user-space database abstraction like what ADOdb provides and is completely orthogonal. The reason Wez would like you to test it is because in the future some databases will only be accessible via PDO, so unless you are planning on writing user-space protocol-level socket handling code into ADOdb, you are going to need to use it in order to speak to those databases. This doesn't mean that the current database extensions are going away, but PDO aims to provide a much simpler way for database vendors to provide PHP support without having to struggle with all the low-level PHP internals required today. I deal with quite a few database-like things that don't speak nicely with PHP today, and I am looking forward to the day where via PDO I can write native PHP support for these in an hour or two instead of having to set aside a week for it.

-Rasmus

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to