[racket] Racket Web Server

From: Gerry Weaver (gerryw at compvia.com)
Date: Sun Dec 11 23:38:02 EST 2011

Hi Jordan,

I would gladly contribute to your doc project. Although, I should probably provide a brief description of what my ultimate goals are where Racket/Scheme are concerned.


I have written an application server that is structured a little bit differently than the current mainstream servers. The server  architecture is mostly dynamic in nature. It is driven by the specific application requirements rather than the other way around. It looks at the relative weight of each application and then creates (periodically adjusts) a custom processing pipeline for each. A part of my plan is to wrap a higher level language around the server api to make testing and prototyping easier. I have since  realized that there is more potential in a higher level interface than this. I started looking at the various languages available and found scheme to be the best fit. One of the major considerations that brought me to scheme was the ease of generating code. I came to Racket for a learning environment that would allow me to test my ideas without a lot of setup and
configuration. I still believe that it is the best tool for that job. So... I will be working through a lot of things in Racket/Scheme, but in the end I don't plan to use the Racket web server. However, if you could rough out an outline of the things your trying to capture, I would be happy to help where I can.


Thanks,
Gerry


-----Original Message----- 
> From: "Jordan Schatz" <jordan at noionlabs.com> 
> To: "Gerry Weaver" <gerryw at compvia.com> 
> Cc: users at racket-lang.org 
> Date: 12/11/11 21:15 
> Subject: Re: [racket] Racket Web Server 
> 
> 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.