Ramon Leon’s blog, always a great resource for tips on Squeak and Seaside, has a nice post on how to build a simple file-based wiki using Seaside built with only one class and 98 lines of code. It’s intended as a learning tool, so it doesn’t make use of other useful resources such as Magritte or Magma (or even Ramon’s own version of ActiveRecord for Smalltalk). Indeed, if you’re interested in building a production-strength wiki, then as Ramon points out, you should investigate Lukas Renggli’s work on Pier.

Ramon Leon shows How to Build a Blog in 15 Minutes with Seaside in this screencast. Everything is filmed straight from squeak and the web browser. No cuts , and (unfortunately) no audio. He starts from scratch and finishes with a blog tool that shows entries and comments. Magritte is used to make the input forms of posts and comments, and for checking things like that a post’s title is not empty, and that the title of a new post is not yet used by a previous post.

About 10 minutes into the show you see how an error is fixed in the living application. From the web page, he brings up the debugger in Squeak and notices that the post’s list of comments is not yet initialized. So he fixes that and just reloads the web page.

There are more videos about Seaside at Seaside Videos.

Thank you Matthias for the post.