On Wednesday 11 September 2002 01:18 pm, Andy McKay wrote:
One final semi-myth you might want to cover: its slow.
Actually I was referring to the myth that Zope is slow. This is a common idea. What a web server, database thing written in Python? That wont be as fast as IIS / Apache / Java stuff will it? Etc....
If your ZPT is too slow, I would say you are doing too much in ZPT.
He he. Thats it back to DTML ;) I've never heard anyone say that before.
No I mean your ZPT "code" is too complex ;^) Or just make your ZPT call out to DTML methods for speed (no I'm not serious ;^) This could be generalized though as "your skin code is too complex", for best performance do as much in external Python as possible, spitting convenient data structures for the skin code to play with (but you knew that). Luckily this is even easier in Zope 3.
ZPT is slower than DTML
Yep, but one day some smart cookie will probably optimize the heck out of it C and it will be faster than DTML. But we all know caching is the real answer... Im not arguing that
I just don't think that's on anyone's radar right now... -Casey