PHP – Best practices and worst mistakes
March 31, 2010 2 commentsMonths 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 for 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.
Everyday Best Practices of PHP Development
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.
Related Posts
-
March 28, 2011
7 Skills of a Great Programmer
There are good and great programmers, what makes a great programmer stand ahead from Good programmers? There are few skills with good practices shows the differences. 1. Attention to details The mark of a great programmer is in the details. Keep the details under control throughout the programming process by
Best Practices, Others, web programming0 comments -
June 18, 2010
Tips for building better mySQL architecture
Have you thought about the right Data type which you should use? Is VARCHAR bad? Do you review the SQL statements that you have written? Do you know what sort of impact indexes produce? How to leverage the query caching techniques? Do you follow the naming standards? This simple slide


