3 ms·
the 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 s
by joubert 16y ago
the 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