NYCPHP Meetup

NYPHP.org

[nycphp-talk] Namespaces

Jim Hendricks jim at bizcomputinginc.com
Fri Jan 11 11:23:43 EST 2008


When Palm opened up the platform for 3rd party programming, they created 
a registration page for the database type id's.  This allowed for global 
registration which would eliminate namespace collissions so long as 
programmers registered the id's they were using prior to distro.

Don't know how effective it was, but thot it was a good idea.

How crazy would it be if PHP had namespaces and a namespace registration.

Kenneth Downs wrote:
> David Krings wrote:
>>
>>
>> Thank you for the great explanation. It triggers yet another 
>> question: What to do if two namespaces are identical? Doesn't that 
>> end up to be the same problem? And if one changes the namespace for 
>> one, doesn't that require to change code referencing functions and 
>> classes from that namespace as well? Sure, it makes collisions less 
>> likely, but it really doesn't fix the ultimate problem, does it?
>
> Yes, it's true that the ultimate problem of collisions is not solved.  
> That would require world-wide coordination of all programmers.
>>
>> David
>> _______________________________________________
>> New York PHP Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>
>




More information about the talk mailing list