Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31253 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59014 invoked by uid 1010); 25 Jul 2007 01:20:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58999 invoked from network); 25 Jul 2007 01:20:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2007 01:20:24 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:23679] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/0E-14257-755A6A64 for ; Tue, 24 Jul 2007 21:20:24 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Jul 2007 18:20:21 -0700 Message-ID: <46A6A54E.5040004@zend.com> Date: Tue, 24 Jul 2007 18:20:14 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Andy Mason CC: =?UTF-8?B?UGF3ZcWCIFN0cmFkb21za2k=?= , internals@lists.php.net References: <46A31D95.2080407@fischer.name> <200707231140.55535.pstradomski@gmail.com> <46A4BA4F.6090506@dealnews.com> <200707231643.22562.pstradomski@gmail.com> <46A4D07A.7060006@zend.com> <99cd336d0707231952l18dfde71pee6647bb80cf50c6@mail.gmail.com> In-Reply-To: <99cd336d0707231952l18dfde71pee6647bb80cf50c6@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jul 2007 01:20:21.0036 (UTC) FILETIME=[F7EE76C0:01C7CE59] Subject: Re: [PHP-DEV] Question about Namespace patch From: stas@zend.com (Stanislav Malyshev) > Is this something that you would consider for PHP ? > As far as I can tell from the list the two main considerations are not > pushing the decision to the executor and it being simple. I can consider it as much as I want - and applications like Zend Framework do work this way - but I also know not everybody works this way. In fact, I get requests right here for having all code of whole library handled as single file... > The only downside is that this now requires a 1 class / file. This > IMHO isn't a massive problem as long as it can be explained, and those > who have the task of splitting this up now can do an import Foo::*; ? I don't see any imports involving * happening, since they all have a common problem - you don't know what you are importing. Fortunately, they also are completely unnecessary - if you need all things inside Foo, why won't you just refer to them as Foo::things? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com