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

PHPMaster.com: Logging with PSR-3 to Improve Reusability

Greg Beaver's Blog: How to put the FAIL in open source

Matthew Weir O'Phinney's Blog: Start Writing Embeddable Applications

SitePoint PHP Blog: Top 10 MySQL Mistakes Made by PHP Developers

PHPMaster.com: Automate PSR Compliance through Jenkins


Community Events





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


framework opinion api zendserver introduction laravel package install interview library podcast list tips community deployment language update release symfony series

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