On Sep 13, 3:05 pm, Russell Keith-Magee <[email protected]> wrote: > > I chose the WSGI approach because it is generic and applies to all > > frameworks, but Django is obviously the most widely used. I am curious > > if there is any benefit to implementing more "native" support in > > django.core.handlers or if WSGI is the preferred way of adding support > > for new servers. If there is any performance or usability benefit, let > > me know, because we would be happy to contribute our time to make it > > happen. > > I'd be surprised if there aren't some friction points that could be > optimized by using a Tornado-native interface, especially if you're > looking to exploit some of the specific capabilities of Tornado. > > However, this leads us to an interesting chicken-and-egg situation. No > offense intended to yourself and the great work you have done, but > Tornado isn't a major market leader (not yet, anyway). The Django core > team is very sensitive to the fact that adding something to the Django > Core is effectively seen as "blessing" something as stable and worth > using, and Tornado hasn't been around long enough in the public > sphere to warrant that kind of recommendation.
Of course, sorry for the miscommunication. I meant implementing a Django "native" handler as a module in Tornado, not actually moving the module to Django core. It is a bit unclear to me at this point what the handler interface is - some of the modules in that package subclass http.HttpRequest and some subclass base.BaseHandler, but the assumptions about environment variables seem to be spread between a bit spread between the modules. I will just leave it as wsgi for now unless there is demand. Bret --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
