Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40958 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20388 invoked from network); 13 Oct 2008 22:52:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2008 22:52:57 -0000 Authentication-Results: pb1.pair.com header.from=jochem@iamjochem.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jochem@iamjochem.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain iamjochem.com from 194.109.193.121 cause and error) X-PHP-List-Original-Sender: jochem@iamjochem.com X-Host-Fingerprint: 194.109.193.121 mx1.moulin.nl Linux 2.6 Received: from [194.109.193.121] ([194.109.193.121:49100] helo=mx1.moulin.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/A5-36838-741D3F84 for ; Mon, 13 Oct 2008 18:52:57 -0400 Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl (Postfix) with ESMTP id 35B0B2878AA; Tue, 14 Oct 2008 00:52:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at moulin.nl Received: from mx1.moulin.nl ([127.0.0.1]) by localhost (mx1.moulin.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E-37AOow7kk0; Tue, 14 Oct 2008 00:52:48 +0200 (CEST) Received: from [10.0.13.104] (ip129-15-211-87.adsl2.static.versatel.nl [87.211.15.129]) by mx1.moulin.nl (Postfix) with ESMTP id A912328771F; Tue, 14 Oct 2008 00:52:47 +0200 (CEST) Message-ID: <48F3D13F.70801@iamjochem.com> Date: Tue, 14 Oct 2008 00:52:47 +0200 User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: Lester Caine , internals@lists.php.net References: <48EBA7E4.7060305@lsces.co.uk> <5E0F8553-2F2C-448D-936D-B39517F661BF@pooteeweet.org> In-Reply-To: <5E0F8553-2F2C-448D-936D-B39517F661BF@pooteeweet.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] php_firebird From: jochem@iamjochem.com (Jochem Maas) Lukas Kahwe Smith schreef: > > On 07.10.2008, at 20:18, Lester Caine wrote: > >> What is the correct procedure to create a new driver, or rather clone >> the existing php_interbase so that we can build a proper Firebird >> version that actually uses the fbclient.dll rather than sharing the >> now incompatible GDS32.DLL client. Some people are starting to use >> Interbase in parallel with Firebird, but the driver can only access >> one client :( not that I give a **** about the windows interbase/firebird extension .. but .. I do use firebird and all this talk of dropping firebird support is kind of scary (well really scary actually) ... I am able to configure php with '--with-interbase' in 5.3alpha2 so I guess I don't need to worry. > IMHO new database extensions should not be permitted unless they come on > the form of PDO drivers. in the case of firebird this is a little unfair, the interbase extension provides an alias of every ibase_*() function in the form fbird_*() which were specifically included due to forseen divergence between the interbase and firebird clients. effectively the extension for firebird already exists ... it just maps to the interbase function, if the fbird_*() aliases were removed and renamed copies the ibase_*() extensions functions created that then were built against the firebird client iso the interbase client you'd pretty much be there. technically the [firebird] extension would be new but is that really a deal breaker given that the complete API (fbird_*()) already exists? PS - I've been trying to follow these firebird shannanigans but it's all been a little too UPPER CASE for me to grok. :-/ > Thats also the vibe we send the Microsoft guys > with their sqlsrv extension. > > So if you cannot achieve what you need within the existing extension > while maintaining BC, I am afraid imho you will have to bite the bullet > and all the features into the PDO driver. > > Thats my opinion at least. > > regards, > Lukas Kahwe Smith > mls@pooteeweet.org > > > >