News Feed
Sections




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

NETTUTS.com:
30 PHP Best Practices for Beginners
August 14, 2009 @ 10:35:15

NETTUTS.com has posted thirty tips and best practices they believe every PHP developer should learn to make their applications (and development process) better.

PHP is the most widely-used language for programming on the web. Here are thirty best practices for beginners wanting to gain a firmer grasp of the fundamentals.

Items in the list include:

  • Turn on Error Reporting
  • Learn the DRY Approach
  • Comment, Comment, Comment
  • Never, Ever Trust Your Users
  • Use Output Buffering
  • Cache Database-Driven Pages
  • Use Static File Caching Systems
  • Keep Functions Outside of Loops

You can check out the full list here.

0 comments voice your opinion now!
bestpractices beginner development


blog comments powered by Disqus

Similar Posts

PHPClasses.org: 8 defensive programming best practices to prevent breaking your sites

PHP.net: PHP 5.5.0 Alpha6 released

Dotvoid.com: Zend Feed for a Swedish web development blog aggregator

SitePoint PHP Blog: PHPBench.com: Live PHP benchmarks, demystifying "best practices"

Stefan Mischook's Blog: Why Learn PHP and Why Books/Videos are Hard


Community Events

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


api laravel laravel5 series example extension php7 introduction conference interview release voicesoftheelephpant opinion community library framework language podcast version unittest

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