Wednesday, February 07, 2007

Web Apps In Scheme - An Introduction

Jens Axel Søgaard has put together a really cool and useful tutorial on how to write a web application in Scheme. It covers such useful topics as how to split up your code into meaningful modules, how to connect to an SQL database and how to write HTML as s-expressions.

So far the tutorial is split into part 1 and part 2.

It's interesting that he decided to develop a list oriented application, as I've recently launched tenspotting.com - a top 10 list website, completely written in Scheme. Trust me, Scheme isn't limited to developing list oriented web applications. That part is just a coincidence.

If you've been writing web applications in other languages, you might want to check this tutorial out just to get a flavor of how things can be done in a different universe.

If you want a more in depth example check out the Scheme Pet Store I wrote up. It's a complete implementation of the classic J2EE Pet Store app.

Update: Peter Bex pointed me to a tutorial he's working on here. Thanks Peter!

4 comments:

  1. Anonymous3:24 AM

    I've also been working on an SXML/Scheme webapp tutorial. You can find a preliminary version here.

    When there's a final version, I'll probably blog about it on my colleague's site.

    ReplyDelete
  2. I think you should renew your domain name registration ;-)

    ReplyDelete
  3. Anonymous6:30 AM

    typo in peters blog href. please change the adress to www.scheme.dk/blog/

    ReplyDelete
  4. Whoops. Sorry about that.

    The link is now fixed.

    ReplyDelete