Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP vs. .NET Blog:
Ten PHP Best Practices Tips that will get you a job
Jun 26, 2008 @ 11:13:59

Blake has posted some of his opinions on "best practices" that can help you land that new job you've been looking for:

The last couple of weeks have been quite the experience for me. I was part of a big layoff at my former company, which was interesting. I've never been in that position before, and it's hard not to take it personally. [...] Before the face-to-face portion, I chatted with the owner and head programmer on a conference call, and they ended up sending me a technical assessment quiz.

In the quiz, there was one question the prompted him to come up with his tips - ten things that you can do to keep your code clean, lean and easy to maintain. His tips include things like "use single-quotes around array indexes", "don't use open short tags" and "document your code". Some of the suggestions don't make that much of a difference, but others (like the documentation one) can make the world of difference down the line.

tagged: bestpractices job help tips list quiz question