[development] PHP Standards Group

David Metzler metzlerd at metzlerd.com
Thu Nov 19 06:35:21 UTC 2009

Thanks Larry,

I don't really like the java-style mapping from namespace to filename  
either.  Would prefer to see that not happen at all.... wonder what  
the chances of that are....

ABSOLUTELY do not agree with treating the _ as a directory  
separator.  Many languages do NOT do this (FLEX, etc).  Would really  
be a pain in moving drupal in any OO directions as well. The deep  
trees that are typical in java are not my friend.  I'd like to be  
able to bundle things in flatter structures, if I can. The _  
directory separator greatly impedes that effort.

I also don't really like the mandate of 1 class name per file name,  
but I'll probably get overruled on that one, too.

Thanks for taking up the cause!

On Nov 18, 2009, at 10:05 PM, Larry Garfield wrote:

> It got renamed.  The new docs (I don't think they're set in stone  
> yet, but I
> just got here) are:
> http://groups.google.com/group/php-standards/web/php-coding-standard
> http://groups.google.com/group/php-standards/web/psr-0-final-proposal
> Feedback, I suppose, should get filtered through me and I'll try to  
> summarize
> as well as I can.  It's an open-read list, though, so anyone  
> interested can
> browse the archives.
> On Wednesday 11 November 2009 8:43:49 pm David Metzler wrote:
>> I agree whole heartedly with you on this.
>> FYI:  The document appears to have been removed.  I'd be interested
>> in reading it if it ever appears again.
>> Dave
>> On Nov 11, 2009, at 9:19 AM, larry at garfieldtech.com wrote:
>>> It seems to cover fewer things than they used to, but the one it
>>> does cover is the one that is least Drupal-friendly; specifically
>>> it mandates a direct Java-style mapping from namespace and class
>>> name to file name.  I dislike that and find it fundamentally Drupal-
>>> incompatible, but we'll see.
> -- 
> Larry Garfield
> larry at garfieldtech.com

More information about the development mailing list