Lisp webservice

Whatever is on your mind, whether Lisp related or not.
Post Reply

Lisp webservice

Post by swarmpox » Thu Jul 02, 2009 8:56 am

Hi all,

I was wondering about the easiest way to develop/deploy a webservice written in Lisp (something like a "Hello World" webservice). I am using SBCL on an Ubuntu machine.

Thanks for any help...

Posts: 32
Joined: Sat Jun 28, 2008 6:10 pm
Location: Oregon

Re: Lisp webservice

Post by Unne » Tue Jul 07, 2009 3:18 pm

I recommend these videos for tips on developing the app (the "Reddit clone" videos are about Common Lisp with Hunchentoot, ignore the Clojure ones if you don't care about those).

To deploy, it's fairly easy to set up Hunchentoot on a non-privileged port and then set Apache to forward traffic to Hunchentoot via mod_proxy. There are instructions in the Hunchentoot docs.

To run your Lisp persistently on the server, a lot of people just start a REPL in GNU Screen and detach from the Screen instance. Getting it all to survive a system reboot probably requires writing your own init scripts though.

Posts: 406
Joined: Sat Mar 07, 2009 6:17 pm
Location: Brazil

Re: Lisp webservice

Post by gugamilare » Tue Jul 07, 2009 4:21 pm

You may try Weblocks, which is a neat framework which uses CLOS and continuations. You may also try Hunchentoot, which is a server (the one used by weblocks), if you want something lighter and simpler.

Post Reply