[ZPT] Batching Oddity
Evan Simpson
evan@zope.com
Fri, 07 Sep 2001 14:20:21 -0400
alex@quad.com.ar wrote:
> there's something I dont get, why doing batching on a template system, it's
> supposed to be just for presentation, my suggestion: write a python script
> that does all the batching and stuff, then call the template from it.
> wrapping templates from python script makes a much better separation of
> logic/presentation imho... anyone agrees?
It's a matter of taste, I guess. I would usually write a Script, unless
the batch is dirt-simple, in which case I might be tempted to just embed
it in the template.
Cheers,
Evan @ Zope