Author Archive

Event registration system

July 9th, 2009

Current event registration systems tend to focus on single events and charge for usage by taking a cut of the ticket price. Bookwhen goes down a slghtly different path. It’s main booking portal screen list all of the upcoming events allowing easy browsing, and the service is charged at a monthly flat rate. This makes it a bargain for the larger users, and ideal for organisations with multiple upcoming events or repeating events.

DEFRA are currently using the site to take registrations to their Climate Projections events, and later in the summer the UK Climate Impact Program are going to use the site for their events. That’s makes over 10,000 bookings in the next few months. Exciting stuff.

It’s great to have some big players on board. This will surely be the tipping point. Having said that, there are still some usability issues left to address so that will be the top priority in the next few weeks.

The crisis of credit

March 9th, 2009

This is a very well put together explanation of the financial meltdown…


The Crisis of Credit Visualized from Jonathan Jarvis on Vimeo.

Removing the www on a passenger rails app

February 19th, 2009

I’ve recently moved from nginx with mongrels to phusion passenger on apache.

I like to drop the www subdomain on my sites when I can, but the passenger chaps recommend that you don’t use mod_rewrite with mod_rails (aka mod_rack or even mod_ruby).

So how’s it to be done?

The simple solution is to do the re-write in rails. I found this snippet which does the trick (thanks to RSL):

def trim_www
  if request.subdomains.first == "www"
    if request.subdomains == ["www"]
      redirect_to "#{request.protocol}#{request.domain}#{request.port_string}#{request.path}"
    else
      subdomains = request.subdomains.shift.join(".")
      subdomains << "." unless subdomains.blank?
      redirect_to "#{request.protocol}#{subdomains}#{request.domain}#{request.port_string}#{request.path}"
    end
  end
end

http://gist.github.com/67043