Re: [PDO] Asynchronous requests
[email protected] (Lukas Kahwe Smith) Tue, 3 Nov 2009 14:54:25 +0100
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]