[Seaside] Porting

Marcin Tustin mm3 at zepler.net
Thu Feb 19 15:15:53 UTC 2009


But...will continuation-based coding be available as well?

On Thu, Feb 19, 2009 at 2:46 PM, Lukas Renggli <renggli at gmail.com> wrote:
> 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.
>
> Lukas
>
>
>
> 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
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list