Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48805 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40217 invoked from network); 16 Jun 2010 12:00:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2010 12:00:55 -0000 Authentication-Results: pb1.pair.com header.from=ilia@prohost.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ilia@prohost.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain prohost.org from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: ilia@prohost.org X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:62071] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/A3-16489-6FCB81C4 for ; Wed, 16 Jun 2010 08:00:55 -0400 Received: by vws7 with SMTP id 7so850809vws.29 for ; Wed, 16 Jun 2010 05:00:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.124.129 with SMTP id u1mr4815261vcr.47.1276689650753; Wed, 16 Jun 2010 05:00:50 -0700 (PDT) Received: by 10.220.70.202 with HTTP; Wed, 16 Jun 2010 05:00:50 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Jun 2010 08:00:50 -0400 Message-ID: To: Pierre Joye Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=00163691fbc51f22d8048924795d Subject: Re: [PHP-DEV] Remove sqlite2 from trunk From: ilia@prohost.org (Ilia Alshanetsky) --00163691fbc51f22d8048924795d Content-Type: text/plain; charset=ISO-8859-1 Why not just have a PHP based wrapper that would extend SQLite3 class as SQLite2 equivalent... On Wed, Jun 16, 2010 at 7:17 AM, Pierre Joye wrote: > On Wed, Jun 16, 2010 at 1:04 PM, Ilia Alshanetsky > wrote: > > Pierre, > > If they are using PDO there are no issue, but when it comes to the > extension > > the Sqlite3 interface is more similar to PDO in naming conventions and > > offers only OO interface. The SQLite2 offers both OO and procedural > > interface and follows its own naming convention. I don't think we should > be > > added boat-load of wrappers for SQLite3 extension... > > That's why I explicitly mentioned 'basic' methods (exec, query and > similar), the python bindings do it for example. It makes obviously no > sense to do it for many advanced features. SQlite3 APIs allow that > easily (cleaner naming). > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --00163691fbc51f22d8048924795d--