[Baypiggies] Output generation - (string operations/triple quote/template)

Aahz aahz at pythoncraft.com
Wed Feb 14 15:08:19 CET 2007


On Tue, Feb 13, 2007, Bob Ippolito wrote:
> On 2/13/07, jwithers <grayarea at reddagger.org> wrote:
>>
>> I have found TAL to be good for taking care of that. Templates, but you
>> are close to forced to move your code outside the templates. Most people
>> don't seem to like it much, but it makes me happy.  Most of Zope gets on
>> my nerves in one way or another, but TAL makes for better separation
>> than the majority of templating systems, and avoids the ugly of building
>> your html inside your code.
> 
> Genshi offers the same paradigm as TAL but uses Python syntax and is a
> bit friendlier to those who want to put code in templates. It's a
> pretty good middle ground in my experience.

Haven't used either, but I've used Quixote a bit, and that's extremely
nice for templates that focus mostly on programming.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I disrespectfully agree."  --SJM


More information about the Baypiggies mailing list