News Feed
Sections




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

Thomas Buck:
Tom's PHP Commandments - Take heed
April 17, 2013 @ 12:23:20

Thomas Buck has put together what he calls "Tom's PHP Commandments" (nine of them) that developers should follow when developing applications with the language. Among his suggestions are things like:

  • ALWAYS do the simplest thing that will work
  • NEVER trust anything that comes from the user
  • NEVER use include for controlling logic
  • NEVER create a file of useful functions, even if it's called helpers.php

There's also been some discussion about this list over on Reddit - you can comment on it over there if you agree/disagree with some of his points.

0 comments voice your opinion now!
commandments language usage list

Link: http://biasedphp.com/php-commandments

blog comments powered by Disqus

Similar Posts

Nexen.net: PHP Usage Statistics for March 2008

IBM developerWorks: Recommended PHP reading list

Smashing Magazine: Upcoming Conferences and Events for Designers and Developers in 2011

Community News: The "Go PHP5" Effort Officially Launched

Dan Scott's Blog: Oooh...looks like I've got (even more) work cut out for me


Community Events

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


video laravel5 conference framework introduction language voicesoftheelephpant unittest extension community interview podcast release psr7 opinion api library development series laravel

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