chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Any decent web development framework


From: Jörg F . Wittenberger
Subject: Re: [Chicken-users] Any decent web development framework
Date: Mon, 28 Dec 2015 13:18:33 +0100
User-agent: Mozilla/5.0 (X11; Linux armv7l; rv:38.0) Gecko/20100101 Icedove/38.4.0

There are many, each having it's own strength.  It really depends on
what you are looking for.

I'm using ball.askemos.org .  (Actually much of it I wrote.)

Now this was originally done in rscheme about 15yrs ago.  It's not
monolithic, but consists of communicating actors/agents (which may be
owned/controlled by different individuals, no central admin there).  In
addition to Scheme you may use XSLT with mixed/embedded with Scheme and
SQL.  Each agent has it's very own sqlite database.

But actually it never was designed to be a Web dev framework.  It was
meant to be a framework for "smart contracts".  Thus those agent, their
database (including sqlite3) etc. are stored in a Merkle tree and may be
replicated with byzantine fault tolerance in a network.  Each node
acting as registry and escrow, executing (Scheme) script and checking
the work of other nodes.

Much faster and older than Ethereum and ripple.  But done too early.
Completely unknown.

Am 27.12.2015 um 16:56 schrieb 机械唯物主义 : linjunhalida:
> 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.
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]