YAPWF: TurboGears

Even if all the recent interest in Django hasn’t stopped other people from trying to create Python web frameworks, I think it has raised the bar for what people decide to unleash on the world.

Enter TurboGears.

Though it’s billed as a “megaframework,” its structure is almost identical to plain ol’ frameworks Subway and Fanery: a stack combining SQLObject, CherryPy, and a templating system (in this case, Kid). TurboGears also adds Ajax support via MochiKit.

It’s installable via setuptools; even if this means you need to install setuptools first, the net effort required is still less than manually installing TurboGears and its four separate framework components. Dependency management is no small thing when you’re combining several pieces that are all evolving rapidly.

In addition to all of the above, TurboGears has some other notably Rails-ish aspects: it’s an extraction from a real project; it has demo webcasts and support for unit tests; it has a breezy website that makes using the framework sound like fun.

Also see Bob Ippolito’s post and Philip J. Eby’s post on the introduction of TurboGears. Bob and Philip are, respectively, the creators of MochiKit and setuptools.

I think the name leaves a lot to be desired, but otherwise TurboGears is looking very good.



Share: