Mako OR Jinja….
The battle of the templating engines… After my last python script, some people suggested using templating engines to me so creating HTML would be easy. I thought, what the heck, it will be useful to me in future programs, so I decided to learn one and integrate the last script with it along with a nice css and make it better.
As usual, I headed to #python on freenode. People there seemed to be inclined towards either mako or jinja2 (these are templating engines for python). A templating engine is software that is designed to process web templates and content information tuio produce output web documents (HTML, XML, etc).
The main problem I face now is learning one of the two (there are no favorites here… I know both of them equally well (meaning know nothing about any one of them) so… it is not yet the time to chose a favorite…) I read jinja2 documentation and now I am heading to mako. Will use whichever I feel has got in depth help available…
Will be back soon (after my exams) with the new script…
This entry was posted on Monday, October 20th, 2008 at 9:39 am and is filed under Article, Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

