Tuesday, June 14, 2005

Getting Deer Park Alpha 1 extensions

I've finally decided to test Mozilla Deer Park Alpha 1 (Firefox 1.1a1). The browser is really cool. They've changed the icon/logo--this is sometimes confusing. Apart from that, the major problem is incompatibility with existing extensions--which can mostly be solved by bumping targetApplication's maxVersion.

I did bumping for few extensions, but finally decided to search for a bit. Interestingly I found few wonderful resources; the best among is 'Unarmed' of mozillaZine forum's PHP script and his online service. The online bumping service is really great; it gets the URL of the extension and the version to be applied in the GET and gives you the bumped/hacked extension. Many extensions worked well--including the popular Web Developer / Webdeveloper extension ; sadly the HTML Validator extension didn't work even after bumping.

Having heavily inspired by the online bumping service, I have written a bookmarklet to access the service. I think the PHP script can be improved especially to handle redirect with CURLOPT_FOLLOWLOCATION. Anyway, it's a nice idea that PHP is used for repackaging XPI; that is to unpack/unzip the XPI files using PEAR Archive_Zip, fix the maxVersion in install.rdf and then packing/zipping it.



Wednesday, June 08, 2005

PHP 10 miles

It's glad to know PHP is been alive for 10 years. PHP originally written by 27-year-old Rasmus Lerdorf and released in June 8, 1995 is now in PHP 5.0.4.

I think, I hadn't seen any computers when PHP 1.0 was released (in 1995). My memory says I picked PHP around late 2000 or early 2001.

One important thing I have noticed at this time is: PHP 1.0 wasn't a bunch of Perl scripts as many often quote; it was "set of small tight cgi binaries written in C"