BFG
BFG is a Python web application framework based on WSGI. BFG is also referred to as repoze.bfg.
BFG shares version control facilities with the Repoze project, and is developed by the same primary developers, but its goals are different than the overall goals of the Repoze project. BFG is inspired by Zope, Pylons and Django. "Under the hood", BFG makes use of technologies from the Zope project.
repoze.bfg 介绍
repoze.bfg 是一个python Web框架。他最早受到了Zope发布器的启发, 使用了 Zope 库来完成大部分的工作。 但bfg没那么多野心,其特性比任何一个Zope发布版本都少很多。
repoze.bfg 使用 WSGI 协议来处理请求request和响应response , 集成了 Zope, Paste, 和 WebOb 库来构建一个简单的web对象发布框架。
What makes BFG special
It's Tested If it ain't tested, it's broke. We strive to test BFG 100% completely via unit tests.
Simplicity: BFG attempts to be a "pay only for what you eat" framework in which you can be productive quickly with partial knowledge. We contrast this with "pay up front for what anyone might eventually want to eat" frameworks, which tend to expect you to understand a great many concepts and technologies fully before you can be truly productive. BFG doesn't force you to use any particular technology to get your application written, and we try to keep the core set of concepts you need to understand to a minimum.
Minimalism: BFG provides only the very basics: URL to code mapping, templating, and security. There is not much more to the framework than these pieces: you are expected to provide the rest.
最小化
Documentation: Because BFG is so minimal, it's relatively easy to keep its documentation up-to-date, which is helpful to bring new developers up to speed. It's our goal that nothing remain undocumented about BFG.
Speed: BFG is meant to be fast, capable of serving on the order of 100-1000 requests per second on today's commodity hardware for views that do "real work" given proper application implementation. The "hardware is cheap" mantra has its limits when you're responsible for managing a great many machines: the fewer you need, the less pain you'll have.
BFG官网:http://bfg.repoze.org/