[Seaside] Re: #with: and #children: is one redundant?

Avi Bryant avi at dabbledb.com
Fri Oct 19 18:08:42 UTC 2007


On 10/19/07, Lukas Renggli <renggli at gmail.com> wrote:

> For example, if you want your visible components to be able to add
> elements to the <head>, then you need to call their #updateRoot:
> method before you let them generate the <body>. At the time the <body>
> is rendered the <head> might already have left the server and is on
> the way to the client (when using a streaming server at least).

And there's a redirect between #children being asked to #updateUrl:,
and being rendered to the <body> - so it's not just in the streaming
server case that it matters.

Another count against a null rendering pass is that in many cases this
would double the response time, since all database queries etc would
get (needlessly) executed twice.

Avi


More information about the seaside mailing list