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.
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.
Get to know BFG
BFG is a "pay only for what you eat" Python web framework. You can get started easily and learn new concepts as you go, and only if you need them. It's simple, well tested, well documented, and fast.
- Buy the Book
- Read the Sales Pitch
- See BFG demonstration videos
- See the documentation
- Examine the code of BFG sample applications
- Join the community on the #repoze IRC channel.
- model_url()s for objects outside a virtual root, by junkafarian on 09/14/10
- Searching for all ZODB Transactions Later Than, by chrism on 02/28/10
- More ZCA Integration, by chrism on 01/18/10
- Using the Zope Global Component Registry, by chrism on 12/24/09
- Using WebError in repoze.bfg, by chrism on 11/22/09