News Feed
Jobs Feed
Sections




News Archive
feed this:

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

Antony Dovgal's Blog:
PHP Seven Commandments
November 14, 2007 @ 16:08:00

On the lighter side of the language, Antony Dovgal has posted ten commandments that PHP developers should follow including:

  • Thou shalt obey the Release Master.
  • Thou shalt not forget to add comments to thy code, especially if the code is tricky.
  • Thou shalt not fix a bug only in one of the branches unless it did not exist in the others.
  • Thou shalt discuss all new features in internals@.
IMO it's time to make the development process more organized. This is my version of what I would like to see as an official set of rules for PHP community.
0 comments voice your opinion now!
commandments ten development process community commandments ten development process community



Community Events











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


introduction facebook release security language component hack install opinion database performance hhvm unittest framework podcast package overview composer symfony2 application

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