PHP - Best practices and worst mistakes

PHP – Best practices and worst mistakes

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 every day!. 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 to mess codings, and the standards get ignored. But you practice the best ways of programming every day, 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. It is good to introduce the best practices from the day one and not after  losing 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 them:
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.
  • Gucci

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