From the monthly archives:

December 2007

BrowserShots - browser testing

December 24, 2007

Testing websites in all of the different browsers across all of the different platforms is no easy feat, and not always possible. I stumbled across BrowserShots which, given a web address, will produce screen shots of your website as they appear in different browsers on different platforms.
This easily lets you see how your site is [...]

Read the full article →

FilmSuggestions.com launches

December 20, 2007

I love movies, and have always wanted to keep a catalogue of the great ones if only for my own record.
I had the idea for FilmSuggestions.com several years ago - a site where you could create a list of the best movies you’ve seen, and compare them with your friends. I didn’t get around to [...]

Read the full article →

404 with Grails

December 6, 2007

Grails allows you to specify a custom 404 page simply using the UrlMappings.groovy class:
class UrlMappings {
static mappings = {
“500″(controller:”errors”, action:”serverError”)
“404″(controller:”errors”, action:”notFound”)
}
}
This allows you to direct to a controller where you can then forward to a view:
class ErrorsController {
def serverError = {
render(view:’/error’)
}
def notFound = {
render(view:’/notFound’)
}
}
I started off with a simple view using the ‘main’ layout:
<html>
<head>
<meta name=”layout” [...]

Read the full article →