RE: [patch #6572] A test on using PDO in db-class

Sigurd Nes <[email protected]> Fri, 18 Jul 2008 13:58:29 +0200 (MEST)
Newsgroups gmane.comp.web.phpgroupware.devel
Message-ID <[email protected]>
> From: Maât [[email protected]]
> Sent: 2008-07-18 08:17:31 CEST
> To: [email protected]
> Subject: Re: [phpGroupWare-developers] [patch #6572] A test on using PDO in	db-class
> 
> Sigurd Nes a écrit :
> > Hi all,
> >
> > I did a test on using PDO for db-connection.
> > The code is based on the current db-class from trunk and the tutorial found at:
> > http://www.phpro.org/tutorials/Introduction-to-PHP-PDO.html
> >
> > Seems like it is about 5 % faster on reading and 20 % faster on writing compared
> > to adodb with eaccelerator (had hoped for more).
> >
> > The class is not 100% complete - but most of it works.
> >
> > http://savannah.gnu.org/patch/download.php?file_id=16131
> >
> > What do you think ?
> >   
> nice try !
> 
> thanks Sigurd :)
> 

I think we also could have a look at Prepared Queries - maybe something as the second example on this page:
http://www.devshed.com/c/a/PHP/Working-with-Prepared-Queries-with-PDO-Objects-in-PHP-5/2/

Regards

Sigurd

_______________________________________________
phpGroupWare-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers