Just curious.&nbsp; How much slower?<br><br>Thanks<br>alvin<br><br><div><span class="gmail_quote">On 12/15/06, <b class="gmail_sendername">Manlio Perillo</b> &lt;<a href="mailto:manlio_perillo@libero.it">manlio_perillo@libero.it
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">First let me say that I really like Nevow template system.<br>Once you became expert with it, it proves to be really flexible.
<br><br>The problem is the performance.<br>I have done a simple test with the rendering of a table 5 * 20, Nevow<br>against Django, and Nevow is much slower.<br><br>The problem is that, I think, there are a lot of objects adaptation.
<br><br>Is it possible to use that same model used by django.template?<br><br>You pass a context (that is a dictionary usable like a stack: push/pop)<br>to the render function.<br>All the data directive will search the data in the context (like djando,
<br>first dictionary lookup, then attribute lookup, and so).<br><br>As an example n:data='x.y' ==&gt; ctx['x']['y'].<br>A rend.Page.renderHTTP can build a context from the instance dictionary.<br><br><br><br>Thanks and regards&nbsp;&nbsp;Manlio Perillo
<br><br>_______________________________________________<br>Twisted-web mailing list<br><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web">
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alvin Wang