Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43547 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70041 invoked from network); 30 Mar 2009 23:28:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2009 23:28:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:41097] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/95-40239-6B551D94 for ; Mon, 30 Mar 2009 18:28:55 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 8154E414405D; Mon, 30 Mar 2009 23:32:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t5VlIB7mFT6s; Tue, 31 Mar 2009 01:32:26 +0200 (CEST) Received: from [192.168.0.182] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id F0A80414400B; Tue, 31 Mar 2009 01:32:25 +0200 (CEST) Cc: Christian Schneider , PHP internals Message-ID: <9A4A884C-CB5D-4CEF-8D23-9CD353E5F725@pooteeweet.org> To: Andrei Zmievski In-Reply-To: <49B99D30.2060803@gravitonic.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 31 Mar 2009 01:28:49 +0200 References: <497A4138.2000707@gravitonic.com> <7f3ed2c30901231537j35d3b4c2i945de77a6a14dba0@mail.gmail.com> <497A578B.4080208@gravitonic.com> <3959E78B-13FC-437E-86BE-5B9EAF575BD0@pooteeweet.org> <497DA729.8070206@cschneid.com> <49B99D30.2060803@gravitonic.com> X-Mailer: Apple Mail (2.930.3) Subject: Re: [PHP-DEV] Reserved namespaces From: mls@pooteeweet.org (Lukas Kahwe Smith) On 13.03.2009, at 00:39, Andrei Zmievski wrote: > Christian Schneider wrote: >> Things gettings reserved at a later stage (like originally >> keywords, now >> namespaces) can lead to a big deal of frustration. Therefore I >> think it >> is crucial to have a clear naming guide now. >> And these guidelines have to be noticed by everybody who starts to >> use >> namespaces so they have to be placed prominently. >> Personally I'd even prefer them to be enforced in code so they >> can't be >> missed. >> Removing restrictions later on causes less trouble so I wouldn't mind >> too much if a couple of namespaces (or namespace prefixes) are >> reserved >> but never used. > > Just a gentle reminder to make sure we don't miss this.. So where are we at here? If nobody proposes something, this will just slide by .. I guess we can say that there is a definate risk, that eventually extensions will become namespaced. Same for internal functions. So calling a namespace "Date" or "str" is probably not a good idea .. right? Now for the less obvious stuff .. does the ZF prefix all their top level namespaces with ZF etc.? Speaking of ZF ... wasnt there an effort over at ZF to define a sensible standard? regards, Lukas Kahwe Smith mls@pooteeweet.org