Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31453 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44685 invoked by uid 1010); 3 Aug 2007 21:08:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44668 invoked from network); 3 Aug 2007 21:08:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2007 21:08:29 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.186 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.186 rv-out-0910.google.com Received: from [209.85.198.186] ([209.85.198.186:45695] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/90-40323-D4993B64 for ; Fri, 03 Aug 2007 17:08:29 -0400 Received: by rv-out-0910.google.com with SMTP id g11so766504rvb for ; Fri, 03 Aug 2007 14:08:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qa3LTt5KhSULJQYVcSGAEw1LtxXpsNrsniyxeVSr1dCQLVSsod+u/2ni91s4eJ7tJcJ7W+Jtx2DfNNp+zbdj72OlDBCECnDKTGpkfingvNnGoWhHSFDfIfoitlnRaxHI3YROOm469e+YC2FWHbWOJsAha9/x5bx1JrxcfJ/zGxE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cftr85jTiBAjf5fLrTvr3OZGvgNU3WtGSyeXfbmlpvdUlFMhTO0KLm5eaiV66qOCOqaeg37j5jcuzLgZp6oP9Su1fYUgVRERO2la7uLJhm/hjKzLDhGaW5x785Fb5IqI1o3GirI3XzhN+xIB/2uIm5Y+9cApYBxLpUOyhtdsnHk= Received: by 10.115.76.1 with SMTP id d1mr3339696wal.1186175306700; Fri, 03 Aug 2007 14:08:26 -0700 (PDT) Received: by 10.114.47.2 with HTTP; Fri, 3 Aug 2007 14:08:21 -0700 (PDT) Message-ID: Date: Fri, 3 Aug 2007 23:08:21 +0200 To: "Lester Caine" Cc: "PHP internals" In-Reply-To: <46B39172.6060300@lsces.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87E4F8AF-06DE-4FCC-AD1B-83E932A5E180@prohost.org> <46B2DDDB.6020801@lsces.co.uk> <46B2E196.4080400@zend.com> <46B2FF97.3080302@lsces.co.uk> <46B3049E.5080309@zend.com> <46B37FBB.5030803@quipo.it> <46B382E6.9000600@lsces.co.uk> <46B39172.6060300@lsces.co.uk> Subject: Re: [PHP-DEV] 5.2.4RC1 Released From: pierre.php@gmail.com (Pierre) Hi Lester, On 8/3/07, Lester Caine wrote: > Sorry Pierre I have to disagree there. Most flexible projects are built on > ADOdb, and while you CAN use PDO as an alternative driver, for the best > performance the raw drivers are preferable. I don't see anything to replace > the SQL handling that ADOdb provides although the ADOdbLite does work well if > you do not want a fully featured interface and can do without some of the more > advanced SQL code. Sorry, I was not clear enough. I did not say that PDO is perfect or can replace MDB2 or ADODb, it is not its goal. > Being able to build a project for ANY database is nice to > have but requires you manage the SQL as well as the data, and if you are not > building a generic project then you don't need a generic driver. A common base is already a (very) good start. We obviously need more and it is unclear how far PHP should go (talking about internals only here). > I keep being told that the PDO drivers can be extended to include all of the > things already available in the native driver, but the second you do that they > become incompatible, so in addition to the PDO driver you need to also run the > native driver simply to provide the areas NOT covered by PDO. We need a > generic framework that addresses the real problems not one that creates an > artificial lowest common denominator strangle hold :( PDO could evolve into > that, but not with it's current restrictions. And what do you suggest to improve this situation? One of my suggestions is to have more DB developers (as in DB internals, if I can say so :) involved. Oracle and IBM (to name the largest and most active) understood that and actively participate. I'm not saying that you do nothing, but I'm not sure that complaining about the bad state of pdo_firebird is really helpful. Cheers, --Pierre