Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15528 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13798 invoked by uid 1010); 21 Mar 2005 21:27:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13782 invoked from network); 21 Mar 2005 21:27:03 -0000 Received: from unknown (HELO terra.com.br) (127.0.0.1) by localhost with SMTP; 21 Mar 2005 21:27:03 -0000 X-Host-Fingerprint: 69.64.38.41 bluga.net Linux 2.5 (sometimes 2.4) (4) Received: from ([69.64.38.41:51245] helo=bluga.net) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 13/11-02471-72C3F324 for ; Mon, 21 Mar 2005 16:27:03 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by bluga.net (Postfix) with ESMTP id 4B05C21C1BB; Mon, 21 Mar 2005 15:24:23 -0600 (CST) Received: from bluga.net ([127.0.0.1]) by localhost (bluga.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10676-04; Mon, 21 Mar 2005 15:24:23 -0600 (CST) Received: from [192.168.0.102] (66-65-39-8.nyc.rr.com [66.65.39.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bluga.net (Postfix) with ESMTP id F3F4121C081; Mon, 21 Mar 2005 15:24:22 -0600 (CST) Message-ID: <423F3C26.5090608@php.net> Date: Mon, 21 Mar 2005 16:27:02 -0500 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lukas Smith Cc: internals@lists.php.net References: <20050321201142.37642.qmail@lists.php.net> In-Reply-To: <20050321201142.37642.qmail@lists.php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at bluga.net Subject: Re: extension naming From: cellog@php.net (Greg Beaver) Lukas Smith wrote: > Hi, > > I guess xmlprci is following the mysqli example. I am not sure if this > is a good idea to have new BC breaking versions of extensions append > letters like "i" (aka "improved") to solve the namespace issue. So I > would like to bring this topic up for discussion on this list before too > many other extensions blindly follow this example, just because of the > lack of a standarized alternative. > > Anyways I dont really know if anyone from php core cares about these > kinds of topics so just tell me to stfu before we get a needless flame. > > The obvious problem is: > What comes after "i"? > How transparent is this naming scheme to the user? Don't forget - extensions don't need to co-exist necessarily. If one is designed to replace the old one, it's fine to conflict. I would recommend that pecl actually look to make names more separate. The number solution works for PEAR because people can reasonably expect to use both the old and the new version of a script in the same file. This is not necessarily the case in PECL. I personally think the i postfix is an excellent choice :). Future revisions will suggest new names, sort of like the dom_xml to DOM extension. No need for anything standardized, since the Makefile process provides a centralized location for all things anyways. Greg