[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Any decent web development framework
From: |
Dan Leslie |
Subject: |
Re: [Chicken-users] Any decent web development framework |
Date: |
Sun, 27 Dec 2015 08:47:55 -0800 |
User-agent: |
mu4e 0.9.13; emacs 24.5.1 |
If you are desiring a monolithic web stack of the Rails sort, then what
you probably are looking for is GNU Artanis:
http://web-artanis.com/index.html
-Dan
机械唯物主义 : linjunhalida <address@hidden> writes:
> Hi scheme users,
>
> I'm a rails programmer, and knows scheme long time ago but don't have
> chance to write scheme code in production level. I want to use scheme
> for website development but it turns out there is no decent framework
> for web development in chicken.
>
> Is there any recommendations? awful is not very useful.
> Any library same as Rails or Sinatra?
>
> Sinatra writes like this:
>
> (get "/" (lambda (request) "hello")
> (get "/from/:id" (lambda (request) (sprintf "hello ~A" (request 'id))))
> (get "/page/:id" (lambda (request)
> (let ((data ($query (from pages) (where (= id (request 'id))))))
> (render "templates/page" ('data data))))
>
> Thanks.
signature.asc
Description: PGP signature