Django Templates replacement for Google App Engine (Python) [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
开发者_高级运维Closed 9 years ago.
Improve this questionI am looking for Django Templates replacement for Google App Engine (Python).
I need easy to use templates with inheritance + fast execution.
I see on Dinja2. What is your choice?
I like Jinja2 a lot: http://jinja.pocoo.org/docs/
If you want to use something which is very close to webapp I would recommend webapp2: http://code.google.com/p/webapp-improved/ With webapp2_extras you can use Jinja2 templating.
My personal choice is Tipfy: http://www.tipfy.org/ It is a very nice framework, comes with Jinja2 support and it is fast, check this benchmark: http://www.untilnil.com/2010/08/appenginetemplate4/
There are a plenty of templating language choices in python, the major being:
- Jinja 2
- Cheetah
- Mako
It's about the taste. If it were me, I'd go with Jinja 2.
精彩评论