[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Any decent web development framework
From: |
机械唯物主义 : linjunhalida |
Subject: |
Re: [Chicken-users] Any decent web development framework |
Date: |
Mon, 28 Dec 2015 16:11:52 +0800 |
Looks like artanis is for guile and it needs to be compiled, not for Chicken.
Is there any way to install it in Chicken?
2015-12-28 0:47 GMT+08:00 Dan Leslie <address@hidden>:
>
> 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.
>
--
Coder, Gamer, Reader.