[plt-scheme] webserver/library?
Take a look at instaservlet
http://planet.plt-scheme.org/display.ss?package=instaservlet.plt&owner=untyped
Here's an example from the docs:
#lang scheme/base
(require (planet "instaservlet.ss" ("untyped" "instaservlet.plt" 1)))
(go! (lambda (request)
'(html (head (title "It's working!"))
(body (h1 "Instaservlet is in the house!")))))
N.
On Fri, May 30, 2008 at 10:09 AM, not norwegian swede
<notnorwegian at yahoo.se> wrote:
> hi
>
> i want to write a webapplication. is there a library that lets you render
> html. so you ca start a localhost at http://localhost:8080/ for example?
> with python and webpy i can do this for example(and have a html-file ina
> separate file):
>
>
> import web
>
> render = web.template.render('templates/')
>
> urls = (
> '/', 'main',
> )
>
> class main:
> def GET(self):
> print render.main()
>
> web.webapi.internalerror = web.debugerror
> if __name__ == "__main__": web.run(urls, globals())