[racket] Racket Web Server

From: Jordan Schatz (jordan at noionlabs.com)
Date: Sun Dec 11 22:15:00 EST 2011

On Sun, Dec 11, 2011 at 04:25:46PM -0600, Gerry Weaver wrote:
> I am new to Racket and Lisp/Scheme in general. I am trying to write a
> simple rest web service in Racket, but I'm not making much
> progress. Unfortunately, I don't find the Racket docs to be very
> helpful. I guess my brain just isn't wired right ;-) Asking questions
> on the mailing list would almost be a step by step at this point, so I
> thought I would spare y'all from that. 

I am also working on moving my company's web dev from other languages to
Racket, and have also found the docs to be slow going, and I don't want
to bother the list with each question.... So I have started to collect
the info I find, problems I encounter etc into a "missing manual" and
would love to collaborate on it if you are interested. I intend for it to
be something of a quick start for someone who already knows how to
develop, but is new to lisp, functional programing, and the racket web
server. My opinion is that it is very much worth it to keep trying with
the docs, I have had more days of frustration learning racket then I have
with any other language or framework, but it is starting to pay off and I
think it was worth it.

There are these existing docs:
http://docs.racket-lang.org/continue/index.html
http://docs.racket-lang.org/web-server/index.html
http://docs.racket-lang.org/web-server-internal/index.html

and Jay McCarthy (who maintains the web server) has an app he wrote up on
github: http://github.com/jeapostrophe/m8b its helped alot to see actual
code. 

-Jordan

PS You also mentioned sedna. I'm guessing you might also be frustrated
with relation databases? I am also tired of writing ORMs and am using the
move to Racket as a good chance to move to different ways of storing
data, I've found that Riak http://wiki.basho.com/ works well, and its the
best fit for the type of apps I develop.


Posted on the users mailing list.