On Thursday 01 November 2001 14:16, Chuck Esterbrook wrote:
> At 03:57 PM 11/1/2001 -0600, Ian Bicking wrote:
> >In Cheetah, this actually wouldn't be a big deal, since it
> > captures output fairly easily (with DummyTransaction).
>
> Using a template doesn't seem any different than "compute first,
> then output". Spans give you easy random access from your Python
> page programming.

Actually Cheetah streams the output directly through the Response 
object so it's really 'compute while outputting' just like with most 
servlets.

> BTW What's a DummyTransaction?

A DummyTransaction is a wrapper around StringIO that allows for 
output buffering in Cheetah.  It's also what allows Cheetah templates 
to be used without Webware.  So far, it's an internal implementation 
thing, but it is exposed to the user via #set if they want to use it. 
As some time in the future we might want to provide a convenient 
wrapper directive for it.

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to