Lisp Movies Episode 2: (Re)writing Reddit in Lisp is 20 minutes and 100 lines
This movie is a tutorial on building web applications using KPAX, implementing a prototype clone of Reddit, sort of anyway.
We show how to use the KPAX Common Lisp Web Application Framework to implement an example that is quite similar to Reddit: a collection of links is presented, sorted by points and sorted chronologically, a form allows for new links to be submitted and links can be voted up or down. We show how to interactively debug web applications. Finally we add a stylesheet to give our little application a better look (thanks to Nicky Peeters). Furthermore we show how Common Lisp allows you to write elegant code, elegantly: flexibly re-using similar code fragments, as well as developing and testing incrementally. Source code for this example: either the syntax colored HTML version for viewing, or the raw LISP code.