Re: Re: PHP 5.1 (Or How to break tousands of apps out there)

From: Date: Fri, 25 Nov 2005 21:44:48 +0000
Subject: Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-20449@lists.php.net to get a copy of this message
Hello Bob, Friday, November 25, 2005, 9:33:45 PM, you wrote: > That follows my sentiment, I think namespace implementation should be > fast-tracked before a PHP 6 release to give developers time to modify/adjust > their code to work with core object classes. > Personally, I think PHP shouldn't have any classes within the global scope, > but have them beneath something akin to the System class in Java and C#. > Then standardize this System namespace (SPL is a good start) as a place to > develop object interfaces to core functionality like the Date class. > Then when someone wants to use PHP's date class they can just import it. > import System\Date; > Now PEAR is let off the hook, as am I and many other developers who have > existing classes that will conflict with any core objects in the future. > Bob Silva Same here. I'd like to see namespaces with all of core in PHP\<ext>\* and maybe Pear in PHP\PEAR\<*>\* or PEAR\... best regards marcus

« previous php.internals (#20449) next »