3 ms·
I haven't done anything other than dabble with python in years and have never used WSGI, can someone point me to examples of this 'abuse' of WSGI in the wild? I
by spooneybarger 16y ago
I haven't done anything other than dabble with python in years and have never used WSGI, can someone point me to examples of this 'abuse' of WSGI in the wild? I'd love to get more background so I can really understand this post.
- joubert 16y agothe author's argument is essentially that you shouldn't reach out to middleware from within your application code (e.g. sessions), but that such functionality should be provided by a non-middleware API, because you should be able to swap in/out middleware without any change to your app code.
- spooneybarger 16y agoare there examples of WSGI applications that provide sessions as middleware? just curious to see the approach in action.
- joubert 16y agoI found Beaker, which looks pretty nice. http://beaker.groovie.org/index.html http://beaker.groovie.org/index.html