15 Dec
2006
15 Dec
'06
12:40 p.m.
Michael Hudson ha scritto:
Manlio Perillo <manlio_perillo@libero.it> 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