4 ms·
Is your last point the reasoning behind not using Tornado's templates? And why not Jinja? Django templates have always rubbed me the wrong way in performance an
by thezilch 16y ago
Is your last point the reasoning behind not using Tornado's templates? And why not Jinja? Django templates have always rubbed me the wrong way in performance and flexibility measurements.
- nikcub 16y agoUsing Django with my prototyping framework is by no means an endorsement, it just happens to be what I fell into because when I designed the generic HTML5 template I plugged in Django vars and helpers (stubify, etc.) without really thinking through a decision on which templating lib to use. That said, I did create a generic sketch.template wrapper for Django templates, and I have managed to swap in web.py, tornado and cheetah (sketch being the name of the framework). I have never used Jinja in production, but have been meaning to go back to it, your comment will prompt me to do just that (I assume by asking about it, it is your pref). I will eventually push the entire framework public once I clean up some parts - it is simple and has a narrow scope/purpose but it is working really well for me