Pierre Joye wrote:
On Mon, May 24, 2010 at 8:56 PM, Ilia Alshanetsky<i...@prohost.org>  wrote:
Pierre,
As one of the original authors of PDO that is news to me. PDO was designed
to allow common functionality to be provided via a common interface, however
it was also designed to recognize that not all database interfaces are the
same. And as such allowed driver authors to provide custom functions
specific to the driver. If you look at the existing driver set, nearly all
drivers do that already (SQLite, MySQL, PostgreSQL)...
Preventing addition of functionality for a driver, just because there are no
equivalents in other DB interfaces, makes little sense, IMHO.

The original specs did not specify any way to do such things in a
clean and nice way. It is also relatively obvious than having drivers
specific features in the "core" PDO was a mistake.

I also did not say that we should not have driver specific additions
to PDO but if we do it, we actually need to discuss how we want to do
it. And this discussion has began (w/o much activities) on the PDO
lists.

I'll second that ... currently PDO has some major 'black holes' that need to be addressed before it CAN replace the individual drivers. It would be nice to come to some agreement if PDO is to replace all other drivers, but that is some considerable way off when currently it can't even transparently handle data :(

( This should be on the PDO list so I've forwarded there as well ;) )

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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

Reply via email to