Most of the Web development I work on is, for good or for worse, using PHP – my natural preference would go to coding in Python, but PHP is what was and is available on the W3C servers, and I’ve become much more fluent in it than in any other programming language.
6 July 2007
10 March 2006
Since the Mobile Web Best Practices highlights that caching is a particularly important feature when browing the Web on a mobile device, I just wrote a new associated technique on how to do proper caching when using PHP.
While Mark Nottingham’s excellent tutorial on the topic covers most of it already, the technique provides some additional code example, as well as some illustration as how to use it with MySQL.
Nothing ground breaking, but I’ve been using this code in most of my PHP applications over the past years, and it certainly gives a nice and warm feeling of being a good HTTP citizen when you pass the Cacheability validation.
6 July 2005
It’s not because URI are opaque that they should be ugly. Call me a Web-purist, but I manage to have opinions on the esthetics of URIs.
The single most ugly part of a URI is usually the query component (i.e. the part after the question mark), where Web-based applications communicate a varying number of parameters of diverse importance. The most widespread ugliness is probably these sites where any single page is with a URI à la