Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9842 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38474 invoked by uid 1010); 13 May 2004 16:00:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38111 invoked from network); 13 May 2004 16:00:52 -0000 Received: from unknown (HELO basiczlager.backendmedia.com) (195.75.116.242) by pb1.pair.com with SMTP; 13 May 2004 16:00:52 -0000 Received: from localhost (localhost [127.0.0.1]) by basiczlager.backendmedia.com (Postfix) with ESMTP id 9FBB282D66; Thu, 13 May 2004 18:00:59 +0200 (CEST) Received: from basiczlager.backendmedia.com ([127.0.0.1]) by localhost (basiczlager [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14256-08; Thu, 13 May 2004 18:00:53 +0200 (CEST) Received: from backendmedia.com (port-212-202-169-220.dynamic.qsc.de [212.202.169.220]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by basiczlager.backendmedia.com (Postfix) with ESMTP id 471EA82D55; Thu, 13 May 2004 18:00:53 +0200 (CEST) Message-ID: <40A39B11.2000201@backendmedia.com> Date: Thu, 13 May 2004 17:58:09 +0200 Organization: BackendMedia GbR User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marc Boeren Cc: PHP Development References: <0C77C7530EA52A4EBD1C47C80D1D291E07F8D5@sbs.GuidanceBV.local> In-Reply-To: <0C77C7530EA52A4EBD1C47C80D1D291E07F8D5@sbs.GuidanceBV.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] PDO (was: SQLite API deficiency) From: smith@backendmedia.com (Lukas Smith) Marc Boeren wrote: >>I'm currently in DB API mode (working on PDO), > I know PDO is slated to be _the_ db-abstraction module from 5.x (5.1?) > onwards (which would replace dbx, but that's fine by me: PDO seems to > work more or less the same but with a more OO-ish api), but I was > wondering if these names bear any relation to the Python DB-API and the > Python Database Objects, or if that is more of a coincidence? > > Also, will there be an complementary SQL-abstraction package for > SQL-dialect differences (such as UPPER(value) vs. UCASE(value), or > differences in TOP/LIMIT/OFFSET usage)? > I have a preliminary package ready (in php-source-code, not c) that is > coupled to an OO-ish api for dbx, but is easily rewritable to a more > generic version. Actually PDO is more an API unification than abstraction layer. Abstraction will best be handled in userland code, specifically a PEAR package should handle this. For this reason I am also involved in the project more from the API perspective then from actual C implementation. Also obviously the current DBAL in PEAR have solved alot of the issues that PDO faces as well. regards, Lukas Smith