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
-
February 25, 2012
Joomla: A Quick Guide
Joomla! is a free, open source content management system and web application framework that is used to distribute content online or an intranet. Written in PHP, Joomla employs object-oriented programming, software design patterns and uses MySQL as its database program. Joomla’s feature-rich interface includes RSS feeds, blogs, polls, page caching,
CMS, Content Management Systems, Opensource, PHP Programming, web programming9 comments -
April 28, 2008
4 CVS tools for web development
If you are developing websites collaboratively, say your development teams are working jointly in a project (design or programming) using CVS or Concurrent Versioning Systems which is one good practice to save everyone's life before they mess up others code. Assume John uploads his code using FTP att 6PM, and

