Implementation of a blog in Common Lisp: Part 2
Part 2 of the blog/webapp tutorial is up.
I’d like to point out that I’m learning most of how to do this as I go along, perhaps not the best way to write a tutorial, but I’m having fun, and perhaps someone can make use of it. In other words; feel free to suggest improvements.
Hunchentoot and Elephant is a great combination for creating web applications. Unfortunately, the current methods for querying the database in Elephant is limited, but the roadmap supposedly includes significant improvements of this.
Btw, the Elephant comes with an example of an implementation of a blog, using Hunchentoot and CL-WHO.
Nice follow-up to part 1, looking forward to part 3!
I ran into a few minor typos in the tutorial that tripped me up, the correct code is in your downloadable files:
in the make-url-part definition, should be (char= #- x) instead of (char= #- x)
in the first hunchentoot:dispatch-table definition should be “^/view/$” instead of “^/view$”
In the Linking From the Front Page section :url-part needs to be added to generate-index-page as well as generate-blog-post-page