Not sure if the terminology is correct, but are there rough equivalents to Java Servlet Filters in Ruby and PHP ? Are they actual concrete classes ?
I assume there is also a number of common web app libraries/frameworks in Python. Is there an equivalent there ?
Thanks.
=== ADDENDUM ===
On the good advice of Kevin Davis, I just want to quickly elaborate on what Java Servlet Filters are. It is basically an HTTP request interceptor. A chain of filters can be configured between the raw receipt of the request and the final destination of the request. The request parameters (and cookies, headers etc. etc.) are passed to the first filter in the chain and each filter does something with them (or not) and then passes them up the chain (or not. eg. a caching filter may simply return the result, bypassing the rest of the chain and the endpoint).
One of the advantages is the ability to modify or enhance the web app without touching the original endpoint code.
Cheers.