[Seaside-dev] Seaside-Core-lr.62

Philippe Marschall philippe.marschall at gmail.com
Thu Feb 28 14:18:48 UTC 2008


2008/2/28, Lukas Renggli <renggli at gmail.com>:
> >  > It is just that Seaside-Core-lr.62 doesn't require continuations
>  >  > anymore. As long as you don't use #call:/#answer: (plus some
>  >  > exceptions).
>  >
>  > That's amazing -- but that also means no tasks, right?  Does
>  >  WARenderLoop>>#call: require continuations?
>
>
> You can do tasks with CPS. It is not nice, but it should work.
>
>  WATask>>go
>     self show: WAConfirm new onAnswer: [ :ans |
>         ans ifTrue: [ somethign delete ] ]
>
>  WARenderLoop>>#call: requires continuations. This is essentially the
>  same as a normal #call: except that it starts in a new render-loop.
>
>  What I propose is a pure refactoring of moving functionality that
>  requires continuations into a separate package. There are a few
>  (central) places (such as cookies,

With the J2EE refactoring you should be able to use cookies without a
redirect / continuation.

Cheers
Philippe

> render-loop, ...) where
>  continuations are used, and probably shouldn't ...
>
>
>  Lukas
>
>  --
>  Lukas Renggli
>  http://www.lukas-renggli.ch
>  _______________________________________________
>
> seaside-dev mailing list
>  seaside-dev at lists.squeakfoundation.org
>  http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>


More information about the seaside-dev mailing list