Re: [PDO] Asynchronous requests

From: Date: Tue, 03 Nov 2009 13:54:25 +0000
Subject: Re: [PDO] Asynchronous requests
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pdo 
Request: Send a blank email to pdo+get-286@lists.php.net to get a copy of this message
On 03.11.2009, at 14:47, Pierre Joye wrote:
To me the question is just when a feature is ready to become part of the unified layer and how to deal with features we are not yet sure about. like with async .. lets say for now we are not yet sure enough about a unified API so we prefix: PDO_MySQL::mysqlAsyncQuery() PDO:PgSQL::pgsqlAsyncQuery() one day we become more comfortable and add it to PDO core throwing an error/exception if the feature is not available: PDO::asyncQuery()
I'm not sure yet how to deal with that. But new APIs should be carefully designed and implemented, unlike some of them we have in 1.x.
yeah .. maybe it will need to be something like PDO_MySQL::getNative()::asyncQuery();
All in all you raised a valid point here, add it to the brainstorm page? :)
will do .. regards, Lukas Kahwe Smith mls@pooteeweet.org

« previous php.pdo (#286) next »