News Feed
Sections




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

NetTuts.com:
PSR-Huh?
January 18, 2013 @ 09:14:59

On NetTuts.com today they've posted a good primer for those that may have heard about the PSR standards that have been introduced to PHP but aren't quire sure what they are (or what they mean to you as a developer).

If you're an avid PHP developer, it's quite likely that you've come across the abbreviation, PSR, which stands for "PHP Standards Recommendation." At the time of this writing, there are four of them: PSR-0 to PSR-3. Let's take a look at what these are, and why you should care (and participate).

They start with a brief history of the standards, the PHP-FIG (Framework Interoperability Group) and where the idea for the PSRs came from. Then the article gets into the details of each:

  • PSR-0: Autoloader Standard
  • PSR-1: Basic Coding Standard
  • PSR-2: Coding Style Guide
  • PSR-3: Logger Interface

They also do a good job mentioning some of the criticism that's come with the standards and what sort of future there is including the creation of a standard for a HTTP messaging package.

0 comments voice your opinion now!
psr standard recommendation coding history future


blog comments powered by Disqus

Similar Posts

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

IBM developerWorks: The future of PHP

Pro Developer: FuelPHP history and future

DevShed: Main Methods of the DirectoryIterator Class in PHP 5

Volker Dusch's Blog: Please ship your own coding standard as part of your project


Community Events





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


language api framework laravel zendserver threedevsandamaybe symfony introduction interview opinion release series community deployment list bugfix podcast developer tips library

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