Validation as WSGI middleware: good or bad idea?
"Matthew Wilson" <[email protected]> Thu, 27 Nov 2008 11:06:51 -0500
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
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 -- Matthew Wilson [email protected] http://tplus1.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/