News Feed
Sections




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

Lorna Mitchell:
PSR-What?
July 16, 2013 @ 11:19:10

For those out there that might have heard comments made about the PSRs (PHP Standards Recommendations) but aren't quite sure what they're about, Lorna Mitchell has posted an introduction to the three currently approved standards.

There's been some cool things happening in the PHP world over the last few years, but with the least helpful names ever ... yes, those PSR-somethings which all do totally different things (apart from two of them which are the same). They're actually all superb things, and done for a good reason, so I thought I'd try to translate them into normal speak.

She goes through each of the three, explaining what they are and how they could affect your applications:

  • PSR-0 is for autoloading
  • PSR-1 and PSR-2 are for Coding Standards
  • PSR-3 is for Logging

There's no code included in the post showing how they'd be implemented but there are links back to the standards themselves.

0 comments voice your opinion now!
psr standards recommendation autoloading codestandard logging

Link: http://www.lornajane.net/posts/2013/psr-what

blog comments powered by Disqus

Similar Posts

Henry Hayes' Blog: Firebug Console.Log for PHP using Zend Framework

Tony Bibbs' Blog: Cutting Use of Zend_Log in Half

Community News: PHP Group Responds to Google's "Speed Tips" Recommendations

Matt Frost: Using Comments

PHP Security Blog: How you should never configure your logging in PHP


Community Events





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


install version opinion language tool introduction laravel security composer package podcast interview framework release series voicesoftheelephpant update community symfony library

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