Alternative Django template engine
Today I read a very good post from Armin Ronacher about Jinja and Django. You can read more here.
To summarize a bit, Jinja is a great template engine that resemble closely to the built-in Django template engine, but as Armin shows work very differently.
In the past I have been looking at Mako as an alternative for the template engine of Django. What seduced me was the performance of Mako. However Jinja 2 is known to be as fast and looks more appealing, even more if you are used to the Django template engine. Converting to Jinja is probably less painful than with Mako. Again you can read more about moving to Jinja on Armin blog post. He gives a great deal of helpful informations.
What I also like about Jinja is that this framework is brought to us by the same people that created several very good tools and libraries (Werkzeug,Pygments…). Check their website here. As a Wordpress user I’m following their new project Zine. It looks like a Wordpress built in Python (the inspiration is obvious). It is still very basic right now, but the base they are building upon looks promising.
By the way another thing I like about these guyes is they use Mercurial and Trac: both great tools.
Until next time,
Code with pleasure.
Richard Lopes
