[Python] Python template engine

Python web frameworks

  • full stack or basic
  • Google app engine support?
  • url route , 
  • Template
  • session , form , cache , 
  • DataBase  SQL ORM
  • 擴充extension, Ajax
  • 文件documentation
  • 後台管理介面  Administration


  • easy to use
  • by Python?



Python template engine

Engines Mixing Logic into Template  


(有  {%  %} 這類escape block tag的 )

  • Django template engine
  • Jinja 2 – an extensible, sandboxed text-based templating engine with Django-like syntax (but faster).Tenjin is a fast template engine implemented in pure Python. Some benchmarks have shown it to be about x2 faster than Mako, x3 than Cheetah, x9 than Django, x60 than Kid in some situations. (flask)
  • Genshi – XML-based templating engine, used in the popular python tool tracPerformance tests show that it is the fastest of all xml based templating engines in Python.
  • Mako – a fast, non-xml, templating engine based on ideas from Myghty.
  • Cheetah

    • Pros:
    • Cons:

Engines with Annotated Templates



  1. 發表留言



WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 /  變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )


您的留言將使用 Facebook 帳號。 登出 /  變更 )


連結到 %s

%d 位部落客按了讚: