Michael Hudson ha scritto:
Manlio Perillo <[EMAIL PROTECTED]> writes:

First let me say that I really like Nevow template system.
Once you became expert with it, it proves to be really flexible.

The problem is the performance.
I have done a simple test with the rendering of a table 5 * 20, Nevow
against Django, and Nevow is much slower.

The problem is that, I think, there are a lot of objects adaptation.

How confident are you about that?

A bit.

[...]

A rend.Page.renderHTTP can build a context from the instance dictionary.

I'm not sure I understand.  You can implement IResource.renderHTTP
however you like, I guess...



def renderHTTP(self, request):
  return flatten(self.docFactory, context=self.__dict__)



Regards  Manlio Perillo


_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to