chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Re: A call to arms


From: Alaric Snell-Pym
Subject: Re: [Chicken-users] Re: A call to arms
Date: Fri, 23 Jan 2009 10:06:50 +0000


On 22 Jan 2009, at 2:26 pm, Lam Luu wrote:

I think that a web framework on Scheme must employ continuation to
the fullest. It would be great if the programmers can write scripts
that act as if they are run continuously (but actually stopped and
restart by the continuation). Plus, given that Chicken use
continuations extensively, I expect it to be fairly efficient. The
only problem is that I don't know if we can save a continuation on
to disk or something like that with Chicken.

One can! Felix wrote an egg for it.

I think that continuations make certain kinds of web dev a lot easier
- anything that's "wizard like" in which the user must navigate a
network of forms that deal with a shared, complex, state that would be
a pain to manually shuffle around in hidden form fields and URLs - but
they're not good for EVERYTHING, or indeed MOST web stuff in most
sites, because there's not always that much state.

Eg, most online shops are a bunch of pages that display details of
products, or summaries of sets of products, that the user might
navigate in any order whatsoever. Doing that with continuations would
offer no benefit whatsoever.

However, the checkout process would rock with continuations!

So we need web app frameworks that let you compose both kinds of
behaviour into one site :-)

ABS

--
Alaric Snell-Pym
Work: http://www.snell-systems.co.uk/
Play: http://www.snell-pym.org.uk/alaric/
Blog: http://www.snell-pym.org.uk/?author=4






reply via email to

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