Apologies if this post shows up twice for anyone using feed readers. Windows Live Writer screwed things up a bit… With today’s cars having more and more functionality – stereos, built-in navigation, the engine computer metrics etc. – the steering wheels start to have more and more buttons. Sometimes it’s on the wheel itself, sometimes it’s on separate “whiskers” behind …
Did you think your site validated input properly? Think again!
You’ve written a PHP based web app, and you’ve made sure it doesn’t cause errors if the user submits unexpected values via any URLs or forms. But there’s something you quite likely forgot to test: What if the data that’s expected to be a singular value happens to be an array? If you assumed a GET or POST parameter will …
Is commenting your code useless?
James Carr has written a well argumented post about comments. To sum it up shortly, he says comments are the lowest form of communication, and that commenting freshly written code is not a good idea. I tend to disagree, and here’s why.
Going to review Zend Framework 1.8 Web Application Development
I was contacted by Packt Publishing to review a new Zend Framework book, Zend Framework 1.8 Web Application Development. I have previously reviewed Object-Oriented JavaScript, also published by Packt, which was a quality title so I’m looking forward to reading this ZF book. The book is written by Keith Pope, a web developer/project manager from the UK. I don’t yet …
Common programming errors and how to avoid them
Back in august, I introduced the error tracking challenge. While it didn’t get as much participation as I had hoped for, I did manage to collect some results. In this post, I’ll go through the most common ones, and suggest some approaches to avoiding them. Suggest your own errors and tips in the comments!