All entries of my technical and business blog

Firebug for IE?

Oct 20, 2008 javascript
Now you can start accessing some of FireBug’s great features in other browsers, like Internet Explorer. Check out FireBug Lite.

array_merge is Useful - But With a Caveat

Oct 7, 2008 php

So, the other day, I saw a horrible thing. I saw two PHP associative arrays that needed to be combined into one, and the worst example of NOT using PHP’s built in functions to combine them. They weren’t using array_merge - instead they were looping through each value.

Ode to a MySpace Layout

Oct 4, 2008 news
sigh Things change… and so does MySpace. I had once written an article about how to create a great MySpace Layout - but it is somewhat out of date. I’m not sure if there is any interest in an updated article. In case there isn’t, and I decide to just remove it, I have a picture of what the original design of mine was here…

PHP SPL autoload: 3 simple rules you must follow

Sep 29, 2008 php

While working on a larger site that I may need to use many external libraries, I realized I need to come up with a better __autoload() function (for example, I think it was DOMPDF that had its own autoload function as well. Last time I used that, I had to hack my own autoload to use their code as well to locate files). I researched into SPL autoload functionality, and I’ve found what I need.

CSS incompatibility finder

Sep 25, 2008 css php

This is more of a proof of concept than anything else - as most of my scripts are ;) But, let’s say you have some files that have css in them, either external stylesheets, internal one with style tags or even style attributes - and you need to update the browser support. Wouldn’t it be great to have a tool that could look through these files and point out that there are incompatibilities?

SVN Pre-commit duty: Lint your PHP

Sep 21, 2008 php svn

We’ve all been there before, committing code - and then realizing that it was broken (hrm - our unit test didn’t catch it? or… “what unit test?” if you’re in another environment). Well, there is a solution.