On Apr 10, 2007, at 9:09 PM, kai wrote:
> > > I want to start using Myghty or Mako so I have less boilerplate in my > code. Has anyone > had similar experiences with designers? How do I get them onboard > with using a more powerful > templating solution at the cost of some python in their html. > if youre in an organization that really doesnt want code intermixed in templates, better to not force it on them. genshi definitely the cleanest most non-code-ish approach, or Jinja if they go for that sort of thing. the biggest argument for mako is that its (one of) the fastest. the mako thing is definitely in a certain cultural camp and I wouldnt expect it to be appropriate in all cases. you could also mix templating approaches wtih pylons, maybe even at the component level using something like toscawidgets or a little bit of glue between disparate systems (mako's API allows defs to be called from python code, for example, which you could call from within a genshi template). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
