Working in a Vacuum

Bits and Pieces of This and That
While reading Indi’s blog post about the Colombo Hackathon, I was really surprised about the comments some people were making. They were bordering on the xenophobic and some were outright against the concept simply because there was commercial backing behind it. I don’t understand why commercial backing or presenting to an open audience is a bad thing.  I find that ...

Dynamic Module Switching in Zend Framework

Bits and Pieces of This and That
Recently I ran into the problem of needing to switch the module part of a request depending on the hostname. I needed to do this because I plugged in a whitelabeling solution to our existing web application. When the request comes in, I needed to switch from the default module to the whitelabel module so that app routing would work. ...

Debugging Tips for Beginners

Bits and Pieces of This and That
A common type of question I find on Stack Overflow are beginners having trouble with figuring out why their AJAX application / functionality isn’t working. They usually go something like this… I have two input boxes which accept the username and password and sends it to the PHP login page via AJAX. But when I type in my credentials, I don’t ...

The Thing About Debugging

Bits and Pieces of This and That
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian Kernighan

A Blog is Born. Again.

Bits and Pieces of This and That
I used to have a work / technical blog. But then I got bored of it and took it down after a while. It’s been a couple of years since that happened and now I find myself constantly wanting to write down the things that are going through my mind. Mostly for my own reference (what better way to learn ...