On 4/11/07, kai <[EMAIL PROTECTED]> wrote:
>
>
> Hi All,
> I've been looking through Cheetah, Mako, Myghty and Kid and working
> with pylons on a couple of new projects.
> I don't think I'm with the mainstream python community on the whole
> templating thing. A few years back the
> designers I work with nearly lynched me when I showed them markup and
> code mingled as it is in Myghty.
>
> 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.
>
> Thanks,
> Kai



How about Jinja <http://jinja.pocoo.org/> ? It provides a
Django<http://www.djangoproject.com/>-like
non-XML syntax , maybe designer would feel more comfortable with it.

-- 
http://codeplayer.blogspot.com/

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