[Seaside] Porting

Lukas Renggli renggli at gmail.com
Thu Feb 19 14:46:12 UTC 2009

Not much, you just use CPS (continuation passing style) to define flow.

So instead of

  result := self call: aComponent.
  result doSomethingWithIt.

you write

  self show: aComponent onAnswer: [ :result |
    result doSomethingWithIt ]

CPS gets nasty with complicated flows (loops) and when other (library,
model) code is involved, but a transformation is always possible. So
it is strictly equivalent.


On Thu, Feb 19, 2009 at 3:33 PM, Gerardo Richarte <gera at corest.com> wrote:
> Lukas Renggli wrote:
>> Continuations are no longer a requirement as of Seaside 2.9.
> that's interesting.
> Is there any difference in functionality with and without continuations?
>    richie
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

Lukas Renggli

More information about the seaside mailing list