News Feed

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


blog comments powered by Disqus

Similar Posts

ServerGrove Blog: Useful Linux command-line tools to work with PHP projects 12+ Tutorials for creating PHP5 MVC Framework

PHP Town Hall Podcast: Episode #2 - Talk about PHP 5.5

php|architect: PHP is not a Swiss Army Knife, quit calling it that. PHP 5.5.0 Alpha3 released

Community Events

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

framework interview application opinion podcast symfony2 conference example install api php7 language release introduction community configure library series performance laravel

All content copyright, 2015 :: - Powered by the Solar PHP Framework