The PylonsBaseWSGIApp class is accessible via the pylons.wsgiapp module.
This basic WSGI app is provided should a web developer want to get access to the most basic Pylons web application environment available. By itself, this Pylons web application does little more than dispatch to a controller and setup the context object, the request object, and the globals object.
Additional functionality like sessions, and caching can be setup by altering the environ['pylons.environ_config'] setting to indicate what key the session and cache functionality should come from.
Resolving the URL and dispatching can be customized by sub-classing or "monkey-patching" this class. Subclassing is the preferred approach.
Initialize a base Pylons WSGI application
The base Pylons WSGI application requires several keywords, the package name, and the globals object. If no helpers object is provided then h will be None.
Dispatches to a controller, will instantiate the controller if necessary.
Override this to change how the controller dispatch is handled.
Locates a controller by attempting to import it then grab the SomeController instance from the imported module.
Override this to change how the controller object is found once the URL has been resolved.
Uses dispatching information found in environ['wsgiorg.routing_args'] to retrieve a controller name and return the controller instance from the appropriate controller module.
Override this to change how the controller name is found and returned.
Setup and register all the Pylons objects with the registry
See the source for more information.