Apache::Request::Dispatcher and Apache::Request::Controller
The dispatcher, as its name suggests, is responsible for dispatching control of the HTTP request to the correct controller. Before it does this tho, it parses a configuration file and connects to a database (if not already connected), creates (or retrieves) some session data (with the help of cookies and Apache::Session), initilises the Template processor, and enforces the browser-caching policy.
The URI is then used to determine the name of a controller module which will then handle the actual request, and control is handed over.
From there on, the Controller has the job of doing the actual work on behalf of the user, such as adding/deleting rows from a database etc and then template processing in order to generate some kind of a response for the user.
Documentation for these moduels are available on CPAN:
