WSGI Micro Framworks
這陣子一直在找適合的Micro Framwork玩第一次的Web Application.
- Single file module, no dependencies with other library.
Bobo is a light-weight framework. Its goal is to be easy to use and remember.
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 is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. It inherits its high WSGI usage and compliance from Werkzeug.
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.
Makes web apps. A small RESTful library.
Micro Framworks Battle
Rank | Framwork | Point —– | —– | —– 1 | Bottle | 7 2 | pesto | 6 3 | itty | 4 4 | flask, cgi+wsgiref | 3 5 | werkzeug | 2 6 | web.py | 1 7 | cherrypy | 0 8 | bobo | -7 9 | aspen.io | -5