Hacker News new | ask | show | jobs
by trafficlight 5544 days ago
It's in the PHP style guide? Maybe?
1 comments

Nope.

Previous to PHP5.3 (when namespaces were introduced) most frameworks followed the Zend_Style_Of_Naming (That class would be located in Zend/Style/Of/Naming.php).

All new frameworks that support PHP5.3+ (with the exception of Fuel, it seems) have done away with Zend_Style_Naming and follow direct namespace <-> file mapping.

Seriously just curious, what are 'all new frameworks that support PHP5.3+' that are complying to that? And even with namespaces, I guess there are still a couple of ways on how to do this in the file system and handle autoloading. What's the 'standard' then?
I mentioned this in another comment.

http://groups.google.com/group/php-standards/web/psr-0-final...

Was 'ratified' by some of the bigger framework developers out there a while ago.