• Categories



  • Archives

  • Archive for the Web Development Category


    Using .htaccess to suspend an entire site while still working on it

    Published March 3rd, 2011

    Sometimes, when you’re working on a web site, you need to make some changes that could cause problems if there is someone else using the site at the time. The obvious solution is to suspend the site — e.g. put up a ‘this site is down for maintenance’ page — but how do you do […]

    FireQuery: a Firebug add-on for jQuery

    Published February 4th, 2011

    If you work with jQuery, then I don’t think I need to explain why a plugin that shows you any jQuery-related properties of a DOM element would be useful — so go on and get it here. Of course you’ll need to have installed Firebug first (which you should have anyway, duh).

    Generating PDFs in PHP

    Published December 2nd, 2010

    For several recent projects I’ve been called upon to produce output in PDF format. For a PHP coder the difficulty lies not in the task itself, but in choosing which of the numerous PDF generation libraries to use. I’ve tried several over the past 18 months or so, including FPDF and TCPDF. TCPDF is a direct […]

    On redirects, spiders and security

    Published July 13th, 2010

    Recently I’ve been working with an agency that has its own simple PHP web site framework. During the course of working with them, a problem arose: pages were disappearing, apparently without human involvement. With some detective work they had discovered that somehow the ‘secure’ CMS part of the site — where the client can log […]

    Web fonts: the time has come

    Published May 28th, 2010

    A couple of weeks ago, I spotted a post on Slashdot about a company – fonts.com –  that was opening up its font library for use by web developers. I thought it was a pretty neat idea: it uses the new-ish @css-font functionality that works in most modern browsers – along with a bit of […]

    « Previous Entries