Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.


are there examples of WSGI applications that provide sessions as middleware? just curious to see the approach in action.


I found Beaker, which looks pretty nice. http://beaker.groovie.org/index.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: