[Twisted-web] [Nevow] template performance

Jean-Paul Calderone exarkun at divmod.com
Fri Dec 15 09:54:41 CST 2006


On Fri, 15 Dec 2006 16:41:01 +0100, Manlio Perillo <manlio_perillo at libero.it> wrote:
> [snip]
>>
>>There will be no context nor any locate or remember methods in the
>>rewritten system.  They are a bad idea, completely independent from
>>performance concerns.
>
>
>Ok, this is what i was trying to say.
>Can you please post an example on how to use the new system?
>

The plan is that render methods will take a request and a tag as
arguments.  There isn't a plan for data factories macro factories.

If you look at nevow.page.Element, you will see what the replacement
for nevow.rend.Fragment looks like.  The replacement for nevow.rend.Page
should be somewhat analogous.

Jean-Paul



More information about the Twisted-web mailing list