Re: Re: ClassHints and NULL

From: Date: Fri, 18 Jun 2004 19:37:24 +0000
Subject: Re: Re: ClassHints and NULL
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-10605@lists.php.net to get a copy of this message
Hi Marcus, Marcus Boerger wrote:
Hello Hans, Friday, June 18, 2004, 9:15:47 PM, you wrote:
Of course, namespaces are more important than anything ;)
hehe, could you live with packages?
Probably! yeah :) -- what's the difference? Are namespaces more like what's implement in C#/.NET (i.e. no necessary correspondence between namespace and actual assembly used to provide them) and packages something more like Java? Forgive my ignorance & if there's already a thread on this, just say so :)
something alike but without inner classes (of course)
Well, in short, I'd be very strongly in favor of anything that would solve the name collision issues in PHP. The current PEAR system of building classnames from catogires (HTML_Template_Flexy) is IMHO a huge & clumsy hack. I think the lack of namespace support is the main (perhaps only) language barrier to packaging & distributing libraries. I'm less concerned about packages (if that means Java-like systems of mapping namespace to filesystem), but if this solves the problem then great (!) From reactions I've read from people using PHP5 now, namespaces is one thing that people are *really* hoping makes it into CVS for 5.1. I'm certainly one of those people. That's not to take away from the fact that everyone appreciates all the fine work you've done with PHP5. I certainly do. Cheers, Hans

« previous php.internals (#10605) next »