On 1/2/06, Ben Bangert <[EMAIL PROTECTED]> wrote: > > It's a shame people don't get WSGI middleware, as this is another > classic example of where it'd work wonderfully. Besides for making this > functionality easily usable by any WSGI compatible framework, it'd open > the doors to tie this ID back into other middleware such as the Open ID > authentication middleware now in Paste.
I do actually get WSGI middleware. There are two issues: 1) CherryPy isn't fully compatible with Paste-Deploy (which I think is fixable, but is not yet fixed) 2) Usability #1 is a showstopper, but I do believe it will be fixed. #2 is not a showstopper, but it's an important consideration. The Kid/CherryPy/SQLObject stack defines a certain way of doing things in Python. For an important function that many webapps need, I'd just want to be sure that any needed customization can happen in a way that is natural for the stack. As long as that can happen, I'm all for plug-and-play parts. > There's definitely places where things make more sense to implement as > a middleware layer, rather then pushing more and more components into > the framework. Pushing things like this into separate packages also > makes it easier to upgrade them independently of the framework so > important updates/fixes can be pushed out without requiring the user to > upgrade the whole framework. This is true, to an extent. "Upgrade the whole framework" sounds more onerous than "easy_install TurboGears". But, maybe there are some circumstances where someone only wants to upgrade a piece. I wouldn't say that's an enormously high priority, though. > TurboGears does a great job re-using other projects, it only makes > sense that when appropriate new re-usable projects should be created if > functionality can easily be setup independently of the framework. Sure. But, as I said, for important things that most people will use those features need to fit the TurboGears style. After that, if there are pieces that can be reasonably broken out and are useful for other folks, then I'm all for that! Kevin -- Kevin Dangoor Author of the Zesty News RSS newsreader email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com

