WSGI Micro Framworks

這陣子一直在找適合的Micro Framwork玩第一次的Web Application.
最後選擇用Bottle, 原因是:

  • Single file module, no dependencies with other library.
  • Document

但是好不好用又是另一回事, 用了就知道..XD

以下是由WSGI.org列出的Micro Framwork:

  • bobo
    Bobo is a light-weight framework. Its goal is to be easy to use and remember.

  • Bottle
    Bottle is a fast and simple micro-framework for small web-applications. It offers request dispatching (Routes) with url parameter support, Templates, key/value Databases, a build-in HTTP Server and adapters for many third party WSGI/HTTP-server and template engines. All in a single file and with no dependencies other than the Python Standard Library.

  • Flask
    Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. It inherits its high WSGI usage and compliance from Werkzeug.

  • Pyramid
    Merger of the Pylons and repoze.bfg projects, Pyramid is a minimalist web framework aiming at composability and making developers paying only for what they use.

  • web.py
    Makes web apps. A small RESTful library.

Micro Framworks Battle

RankFramworkPoint
1Bottle7
2pesto6
3itty4
4flask, cgi+wsgiref3
5werkzeug2
6web.py1
7cherrypy0
8bobo-7
9aspen.io-5

Reference :
Web Micro Framework Battle 1
Web Micro Framework Battle 2