[Seaside-dev] snapshotting state after rendering

Lukas Renggli renggli at gmail.com
Sat Jan 17 17:29:46 UTC 2009


> I wonder whether the RenderContinuation couldn't/shouldn't just pass
> its Snapshot into the next ActionContinuation. The ActionContinuation
> would create a new Snapshot after running callbacks and pass it to the
> RenderContinuation.

That should work. We have to try.

> For Javascript callbacks, the ActionContinuation would probably want to do:
>
> (states := states copy) snapshot
>
> in order to avoid modifying the state of the previous render (though
> maybe not? Lukas will know what the correct semantics are for that).

The AJAX callbacks are essentially the same as the navigation
callbacks. In this case the callback processing and the rendering fall
into the same request.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list