Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28530 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85580 invoked by uid 1010); 21 Mar 2007 13:24:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 85564 invoked from network); 21 Mar 2007 13:24:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Mar 2007 13:24:21 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 83.97.120.92 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 83.97.120.92 mail-out-03.swisscom-eurospot.com Received: from [83.97.120.92] ([83.97.120.92:49720] helo=safetwo.sceur.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9C/B6-21072-30231064 for ; Wed, 21 Mar 2007 08:24:20 -0500 Received: from [127.0.0.1] (unknown [217.193.145.242]) by safetwo.sceur.ch (Postfix) with ESMTP id 4938D1788F5; Wed, 21 Mar 2007 13:24:11 +0000 (UTC) Message-ID: <460131F9.70108@pooteeweet.org> Date: Wed, 21 Mar 2007 14:24:09 +0100 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Andrey Hristov CC: Robin Ericsson , internals@lists.php.net References: <1174134488.8667.33.camel@lena> <45FC74A5.6080307@pooteeweet.org> <1174231834.12274.110.camel@lena> <45FEBD70.2090000@zend.com> <1174330743.9134.2.camel@lena> <41721.216.230.84.67.1174341117.squirrel@www.l-i-e.com> <1174342387.14657.86.camel@lena> <1174476282.5402.35.camel@lena> <460118F8.9050807@pooteeweet.org> <46012A5F.8060302@hristov.com> In-Reply-To: <46012A5F.8060302@hristov.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] google SoC - dbobj From: mls@pooteeweet.org (Lukas Kahwe Smith) Andrey Hristov wrote: > Hi, > Lukas Kahwe Smith wrote: >> Robin Ericsson wrote: >>> On 3/21/07, Bankó Ádám wrote: >>>> The project is existing, I'm doing it for about a year and a half, and >>>> SoC is way I can spend more time on it in the summer. >>> If there is someone willing to something, and someone else is paying >>> for it, let him do it. Why should it bother whether it's C or PHP? The >>> community will benefit from it either way. >> Its a question of maintainability. Stuff like reverse engineering >> schema's from a database is simply not sensible to be done by C code. It >> requires a low barrier to entry, the ability to quickly fix things if >> you encounter a newer or very old obscure RDBMS version etc. > > Then make a mix of PHP and C code. C call call PHP userland, so it > shouldn't be a problem. And as I see it, it is always good to have > reference implementation in PHP and port it to C. I think Marcus did it > while implementing SPL. Yes .. so for the proposal .. step 1) would be defining interfaces and abstract classes to represent things. this could go into C regards, Lukas