开发者

Django Templates replacement for Google App Engine (Python) [closed]

开发者 https://www.devze.com 2023-03-14 05:41 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

I 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消