News Feed
Sections




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

Samuel Folkes' Blog:
17 PHP Practices That Should Be Banished Forever
August 05, 2009 @ 13:37:17

Samuel Folkes has posted a few practices (seventeen, to be exact) that PHP developers should "banish forever" from their development habits.

The following is a list of 17 PHP programming practices that in my opinion should be banished into oblivion. Forever and ever. Amen. Please note that this list is in no particular order.

Some of the practices include:

  • Relying on Magic Quotes
  • Mixing HTML, PHP, SQL, JS, CSS, Etc, Etc
  • Not Documenting Code
  • Using Regex Functions for Basic String Manipulation.
  • Unquoted Array Keys
  • Using Uninitialized Variables

There's lots more where those came from so check out the rest of the list here.

0 comments voice your opinion now!
practices bad development banish


blog comments powered by Disqus

Similar Posts

Chance Garcia's Blog: Zend_log_exception 'bad log priority'

Kristo Vaher: What you should know about API-centric web development and design

Danne Lundqvist's Blog: Setting up a development environment with apache-2.2.6

TechBookReviews.com: Pro Drupal Development

PHP.net: PHP 5.6.0RC2 is available


Community Events





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


developer install library language interview list series introduction community laravel wordpress podcast symfony api configure release code application threedevsandamaybe bugfix

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