On 28/02/2011 18:43, Chris McDonough wrote:
repoze.tm2 vs. pyramid_tm is more about opinion than it is technology
Both offer the same features and the same benefits, and neither has a
particular downside that isn't rooted in pure opinion.

On the other hand, there are cases where using middleware is clearly not
the right thing; I've been asked many times for example "how do I get to
the Pyramid registry from middleware I'm creating" and the answer is
always "if you need to do that, what you're creating is not meant to be
middleware".

+lots to both of these paragraphs.

While I think r.who and r.what area bit of a stretch, Paste#auth_basic is spot on as middlewear...

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
           - http://www.simplistix.co.uk

--
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to