Author Archives for Uday Kalbhor

Creating a FireFox addon and/or toolbar : Tips and tricks


In order to implement an idea that I had, I needed to create a FireFox toolbar. This post is a log about that journey, what I learnt, and what guides, tutorials & tips that I found useful.
Any application, web or native, can broadly be broken down into two major sections. The backend logic part and [...]

Switch Ranges in PHP


You have to admit it.
The switch statement in PHP vis-a-vis to other language counter parts is very versatile and powerful.
It has support for  switching integer as well as characters and strings.
Further, as I discovered it the other day, it also supports ranges !.
[code lang="php"]
switch(true)
{
case [...]

Uday Kalbhor