Matthew Wilson
2008-11-27 16:06:51 UTC
Maybe it is because I am just beginning to understand how to use WSGI
middleware, but I have been daydreaming about moving validation into
the middleware layer, rather than something that happens further
downstream.
This might be useful if I want to hop to a completely different block
of code when validation fails. It might make really common validators
less obtrusive.
All comments are welcome -- am looking for feedback.
Matt
middleware, but I have been daydreaming about moving validation into
the middleware layer, rather than something that happens further
downstream.
This might be useful if I want to hop to a completely different block
of code when validation fails. It might make really common validators
less obtrusive.
All comments are welcome -- am looking for feedback.
Matt
--
Matthew Wilson
***@tplus1.com
http://tplus1.com
Matthew Wilson
***@tplus1.com
http://tplus1.com