Ruby's Template Engine for Python

kyosohma at gmail.com kyosohma at gmail.com
Mon Dec 10 09:09:58 EST 2007


On Dec 8, 3:24 pm, Samuel <newsgro... at debain.org> wrote:
> On Sat, 08 Dec 2007 13:06:15 -0800, Steve Howell wrote:
> > This is what I came up with:
>
> >http://pylonshq.com/pastetags/form_remote_tag
>
> I see that Pylons uses a standard templating systems with all the JS
> renderers hooked into it as standard template function calls. That's
> great, now I just have to find the piece of code that provides those
> callbacks.
>
> Ah, here it is:
>
> >http://pylonshq.com/WebHelpers/module-webhelpers.html
>
> And there I go, easily adding the same functionality to any template
> system of my choice. That was easier than I expected.
>
> Thanks for your help ;-)!
>
> -Samuel

I think TurboGears does something similar using the Kid template
system. You might find those useful as well:

http://www.kid-templating.org/language.html
http://turbogears.org/

Mike



More information about the Python-list mailing list