News Feed
Jobs 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

PHPClasses.org: Book Review: php|architect's Guide to Enterprise PHP Development

John Cox\'s Blog: Book Review - XML Web Development

PHP Magazine: Poll Question: Pre-requisites of a Good Framework?

Samuel Folkes' Blog: 17 PHP Practices That Should Be Banished Forever

Inside Open Source: WordPress Tip #873: Disabling Caching During Development


Community Events











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


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

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