On Apr 10, 2007, at 6:09 PM, kai wrote:

> The templating solution we use in house is basically does string
> interpolation on markers like
>
> .replaceMe.
> .call:methodToCall.
> .insert:templateToInsert.
>
> .start_rep=repeatName.
> <fragment to parse against a list of dictionaries>
> .end_rep=repeatName.
>
> 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.

The cleanest solution you'll get with regards to Python in code, is  
Genshi, as the minimal code is in an attribute which their design  
tools should have no prob with. Mako is the cleanest and most  
Pythonic of the non-XML templating imho.

As for convincing designers, that's a tough one...

Cheers,
Ben

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to