On Fri, Feb 19, 2010 at 8:31 PM, Alice Bevan-McGregor <[email protected]> wrote: > These days, though, I don’t program for specific templating engines; > sometimes I find one that works better for a specific purpose (e.g. using > Mako[2] to make text templates for e-mail). I’ve been using (and, full > disclosure, writing) the Common Template Interface[3] which should provide a > unified interface to the various templating languages in Python.
That's so you, Alice. :) > One thing to note (and this isn’t a problem for most people): Genshi is > really slow compared to everything else because it is a full XML processor. > This makes it powerful, but it slows down the more complicated the resulting > XHTML is. Being an XML processor allows your templates to be edited in > common WYSIWYG editors without disturbing your program instructions; which > makes you and your designer happy. Mako, on the other hand, is about as fast > as you can go. I'm not too keen on XML type thing. I've remembered seeing that before, now that you've mentioned it. I'm my own designer, and I prefer working with templates from the regular text editor, so how it looks in a WYSIWYG is not my main concern. -- Branko Vukelić http://foxbunny.tumblr.com/ http://www.flickr.com/photos/16889...@n04/ http://www.twitter.com/foxbunny http://github.com/foxbunny -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
