Re: [PDO] Asynchronous requests

[email protected] (Johannes Schlüter) Mon, 02 Nov 2009 15:49:30 +0100
Newsgroups php.pdo
Organization Sun Microsystems
Message-ID <1257173370.26879.12.camel@guybrush>
Hi,

On Mon, 2009-11-02 at 12:50 +0100, Samuel ROZE wrote:
> Hi all,
> 
> Is it possible to do asynchronous requests using PDO ? I didn't see
> that...

PDO should do common stuff in a common way, I doubt we could achieve
that with asyc stuff. If such features should become part of the PDO
spec we first have to turn around key parts of the implementation so PDO
defines interface which will then be implemented .. having the current
architecture optional stuff is bad.

(If you like experimental things I'd have a patch adding a
PDO::toMySQLi() method to PDO_mysql so one can use all mysqli features
while mostly using PDO....)

johannes

-- 
Johannes Schlüter - MySQL Engineering, Connectors and Client Connectivity

Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht München: HRB161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering