PHP Best practices and worst mistakes

March 31st, 2010

Macronimous Posted in General, PHP Programming, web programming, Web standards | 1 Comment »


Months back, I made a post similar to this, But I believe another post emphasizing on the best practices is not considered bad. :-)

Working with PHP is something you enjoy everyday!. You always wanted to do your best to your clients. But when the deadlines are pressing and when the clients are on your shoulders people start doing messy codings, and the standards got ignored. But you practice the best ways of programming everyday, it becomes your style and you have no alternate choice of doing quick and dirty work. Here are some simple best practices discussed by Matthew Weier of Zend technologies. Use them when you get an opportunity, and they will become your style of programming.

If you are hiring freshers they need to know or learn PHP programming, learn your own standard way of programming which should be derived from the best practices. Its good to introduce the best practices from the day one, and not after you loosing clients because of the messy procedures and codings you follow. It would be easy to adapt them before you start doing serious coding.
Now, some mistakes you make and how to avoid the:
Learn this serious mistakes and do not DO them!
http://www.codinghorror.com/blog/2009/01/top-25-most-dangerous-programming-mistakes.html
Learn this general programming mistakes which you should not repeat
http://www.infoq.com/news/2010/03/Top-25-Programming-Errors
Learn this serious mistakes and do not DO them! 25 most Dangerous programming mistakes.
Learn this general programming mistakes which you should not repeat them:  25 programming errors.

Liked the post? Feel free to Subscribe to this Feed

Related Posts

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.



Bookmark and Share

One Response to “PHP Best practices and worst mistakes”

  1. Watch the video I deeply! This video is very interesting!

Leave a Reply