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

RE: Y Store /Closures



Marc Battyani wrote:
> What you call event-driven here looks more like submit-driven to me.
> IMO event driven is more fine grained than this.

Web apps are event-driven in the sense that they can't necessarily
anticipate the requests they're going to receive, and have to be able to
handle requests in potentially arbitrary sequences - including illegal ones.
This is the same basic issue that event-driven GUI apps have to deal with,
even though their events are more fine-grained.

> I fire events to the server on slots modification so that I
> can control more precisely what the user does. In this case
> continuations don't apply.
>
> I am the only one here to do such kind of web applications ?

One of the systems I've been working on uses a set of Java widgets which are
embedded in the web page.  The Java widgets communicate with the server via
HTTP & XML for things like validation etc.  These interactions are
standalone, so as you say, have no need for continuations.  However, the
overall flow between pages could still benefit from continuations.

This probably mirrors many GUI apps - events happening within a GUI form
don't require much context other than the values directly affected; whereas
movement between forms may involve much more historical context of the sort
that continuations support.

Anton