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

PHPBuilder.com:
Top 11 Best Practices for PHP Development
Jul 07, 2014 @ 18:08:30

PHPBuilder.com has offered the top eleven practices they see as a must for any PHP developer to incorporate.

Right from its inception, PHP was widely used to develop web based applications. Since PHP is a scripting language, one must follow some rules while developing. This article will discuss the best practices that are generally followed in the PHP world.

Their "top eleven" list includes things like:

  • Error reporting should be turned on
  • Meaningful and consistent naming standards
  • Deep Nesting should be avoided
  • Use adequate comments
  • Use Cache mechanism wherever required

You can read up on their full list and the descriptions of each in the full post.

tagged: bestpractices development tips list top11

Link: http://www.phpbuilder.com/articles/application-architecture/optimization/explore-the-top-11-php-best-practices.html