News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
PSR-1 and PSR-2 to be Approved as Standards
May 22, 2012 @ 13:18:40

As is mentioned in this new post to PHPMaster.com, the PHP standards group is officially in the voting process on two new standards (PSR-0 being the first) setting up some standard development practices for PHP applications - PSR-1 and PSR-2.

They initially started out as one proposal but the initial round of voting didn't yield a majority in favor. Participants did however see merit in various requirements the decision was made to split it into 2 proposals - one for mandatory interoperability and one for suggested style.

The PSR-1 standard proposes some basic coding standards (like namespacing structure and class/method naming definitions) and the PSR-2 standard covers similar things, but more in-depth with more recommendations.

If you want to find out how your application stacks up against this new standard, you can try out PHP-CS-Fixer (from Fabien Potencier) to see how many things need an update.

0 comments voice your opinion now!
psr0 psr1 psr2 standard coding convention voting


blog comments powered by Disqus

Similar Posts

O\'Reilly: Digg PHP\'s Scalability and Performance

Phil Sturgeon: Is PSR-0 Shortsighted, or are you?

Klaus Graefensteiner's Blog: Enforcing PHP coding standards with Eclipse PDT

Blue Parabola Blog: Coding Standard Analysis using PHP_CodeSniffer

Kevin Schroeder's Blog: You want to do WHAT with PHP? Chapter 5


Community Events





Don't see your event here?
Let us know!


project community interview application introduction wordpress language series podcast code list configure api threedevsandamaybe developer bugfix framework laravel release library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework