Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18915 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8618 invoked by uid 1010); 14 Sep 2005 16:13:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8603 invoked from network); 14 Sep 2005 16:13:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2005 16:13:32 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:42036] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 3B/CD-41173-B2C48234 for ; Wed, 14 Sep 2005 12:13:31 -0400 Received: from localhost (strato.aixcept.de [81.169.182.136]) by strato.aixcept.de (Postfix) with ESMTP id EB12135C36E; Wed, 14 Sep 2005 18:36:13 +0200 (CEST) Date: Wed, 14 Sep 2005 18:13:25 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1948670810.20050914181325@marcus-boerger.de> To: Jessie Hernandez Cc: internals@lists.php.net In-Reply-To: <39.CA.41173.11348234@pb1.pair.com> References: <5.1.0.14.2.20050914142002.050b9cc0@localhost> <189821863.20050914163908@marcus-boerger.de> <43283A26.7060000@emini.dk> <39.CA.41173.11348234@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 5.1.0RC2 From: helly@php.net (Marcus Boerger) Hello Jessie, well the best solution would be to drop the 'Spl' prefix for 5.1 and wait for namespaces since they are imo the only solution. marcus Wednesday, September 14, 2005, 5:34:45 PM, you wrote: > I agree with Edin. To be consistent, either all interfaces and classes > should be prefixed or none should be prefixed. On the other hand, prefixing > all the old classes/interfaces will cause BC breaks. > > This is one case where namespaces are useful. With my namespace patch, all > that would have to be done is to name the class as SPL:Observer. Users can > either implement SPL:Observer or first "import SPL:Observer;" and then > implement Observer. > > Regards, > Jessie > "Edin Kadribasic" wrote in message > news:43283A26.7060000@emini.dk... >> Marcus Boerger wrote: >> > Hello Zeev, >> > >> > i tried to get any feedback from You or andi regarding SPL but none of > you >> > replied so far. Question is whether i should rename some of the new > interfaces >> > and classes to be prefixed by 'Spl'. Also should i drop all constants in > SPL >> > and instead provide class constants whcih we can do right now? Yes i > know >> > that might be BC issue but i'd say it is worth the little break and i am >> > quite sure we shouldn't do it after 5.1 is out. And Last but not least > i'd >> > like to MFH two of the new classes if you don#t mind. >> >> Hm, prefixing "new" interfaces and classes with Spl is the worst thing >> one could do IMHO. Wouldn't it be the best to prefix *all* Spl >> interfaces and classes? >> >> Edin Best regards, Marcus