[IronPython] Template library

Mariano Draghi mdraghi at gmail.com
Wed Sep 2 17:46:43 CEST 2009


On Wed, Sep 2, 2009 at 12:07 PM, Zach Crowell<zachc at microsoft.com> wrote:
> Anyone know a template library that works well with IronPython?
>
> After a very brief exploration:
>
>    * django.template fails quickly due to str/unicode issues
>    * Mako and Genshi both require the missing compiler module
>    * Evoque is using unsupported re extensions
>    * Tempita is much lighter on features and works in simple test cases
>    * IronPython ASP.NET integration works but is very much HTML-specific (unless I missed another way to utilize it)
>

We've been using Cheetah [1] in production for almost two years now,
in multiple projects.

We're using IPy 1.1, though, as we have issues with Cheetah + IPy 2.x
[2] (mainly, *extremely* poor performance, and incompatibilities with
/ lack of some standard modules (md5 and inspect if I remember well)).

But with IPy 1.1 everything works perfectly fine, and Cheetah
Templates is a robust, mature and powerful solution.

Regards,

[1] - http://www.cheetahtemplate.org/
[2] - http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=17753

-- 
Mariano



More information about the Ironpython-users mailing list