Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31686 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55873 invoked by uid 1010); 17 Aug 2007 15:29:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55858 invoked from network); 17 Aug 2007 15:29:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2007 15:29:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=ilia@prohost.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ilia@prohost.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain prohost.org from 209.85.132.243 cause and error) X-PHP-List-Original-Sender: ilia@prohost.org X-Host-Fingerprint: 209.85.132.243 an-out-0708.google.com Received: from [209.85.132.243] ([209.85.132.243:1688] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/01-49531-CDEB5C64 for ; Fri, 17 Aug 2007 11:29:33 -0400 Received: by an-out-0708.google.com with SMTP id c18so102619anc for ; Fri, 17 Aug 2007 08:29:29 -0700 (PDT) Received: by 10.90.68.15 with SMTP id q15mr3571814aga.1187364569771; Fri, 17 Aug 2007 08:29:29 -0700 (PDT) Received: from ?192.168.1.164? ( [204.101.63.110]) by mx.google.com with ESMTPS id n29sm3230720elf.2007.08.17.08.29.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 17 Aug 2007 08:29:29 -0700 (PDT) In-Reply-To: References: <1186737992.2772.57.camel@johannes.nop> <1187357063.3724.69.camel@johannes.nop> <10845a340708170806j78b79842k1aa542f5f215769e@mail.gmail.com> <6777095A-B8FE-404C-9575-9C5740A722F2@prohost.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-ID: <79E7E95C-C9B8-465B-B451-BFD401583F34@prohost.org> Cc: RQuadling@googlemail.com, =?ISO-8859-1?Q?"Johannes_Schl=FCter"?= , "PHP Internals List" Content-Transfer-Encoding: quoted-printable Date: Fri, 17 Aug 2007 11:29:26 -0400 To: David Coallier X-Mailer: Apple Mail (2.752.3) Subject: Re: [PHP-DEV] Renaming namespaces to packages From: ilia@prohost.org (Ilia Alshanetsky) David, Most people don't know wtf you are referring to by "package", but =20 nearly everyone knows the concept of namespaces. Packages is name for =20= an implementation of namespaces, calling it packages just because =20 language XYZ that I like, does not sound like the best of ideas. On 17-Aug-07, at 11:18 AM, David Coallier wrote: > On 8/17/07, Ilia Alshanetsky wrote: >> While PHP implementation of namespaces is may not be 100% of what >> people consider to be namespaces it is close enough and I think the >> name "namespaces" is most appropriate and clear cut. We don't call >> PHP objects "Zend Objects" or some other strange name, I don't see >> why namespaces should be any different IMHO. >> > > If we start calling things what they are, then we might as well do it > for the *namespaces* as well ? So ccall them package. And Stanislav, > it's not only because java does it that way, it's because python also > does, and also because c++ doesn't. > > After all, why discussing the color of the bikeshed when it's already > painted and it's a dogshed ? >> >> On 17-Aug-07, at 11:06 AM, Richard Quadling wrote: >> >>> Oh dear. I thought the general feeling was to stick with namespaces? >>> >>> On 17/08/07, Johannes Schl=FCter wrote: >>>> Hi, >>>> >>>> I've updated the patch to be compatible with Dmitry's latest =20 >>>> changes: >>>> http://schlueters.de/~johannes/php/ >>>> zend_namespace_to_package_20070817.diff >>>> >>>> johannes >>>> >>>> On Fri, 2007-08-10 at 11:26 +0200, Johannes Schl=FCter wrote: >>>>> Hi, >>>>> >>>>> I think we reached the consensus to rename namespaces to packages >>>>> as our >>>>> implementation is more package-like. Therefore I wrote the >>>>> corresponding >>>>> patch which tries to get rid of all "namespaces" and "ns" (well, >>>>> not all >>>>> "ns" only the namespace-related ones of course) used in the code. >>>>> Additionally I changed all package-tests. Any objections? >>>>> >>>>> Does anybody (with the move-on-CVS-server powers) care about the >>>>> history >>>>> of the tests? Then please cp ZendEngine2/tests/ns_* to pkg_* >>>>> there else >>>>> I'll do a simple cvs rm and cvs add. >>>>> >>>>> The patch is at >>>>> http://schlueters.de/~johannes/php/zend_namespace_to_package.diff >>>>> and >>>>> the tarball with the changed tests at >>>>> http://schlueters.de/~johannes/php/zend_package_tests.tar.bz2 >>>>> >>>>> johannes >>>>> >>>> >>>> -- >>>> PHP Internals - PHP Runtime Development Mailing List >>>> To unsubscribe, visit: http://www.php.net/unsub.php >>>> >>>> >>> >>> >>> -- >>> ----- >>> Richard Quadling >>> Zend Certified Engineer : http://zend.com/zce.php? >>> c=3DZEND002498&r=3D213474731 >>> "Standing on the shoulders of some very clever giants!" >> >> Ilia Alshanetsky >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > --=20 > David Coallier, > Founder & Software Architect, > Agora Production (http://agoraproduction.com) > 51.42.06.70.18 Ilia Alshanetsky