Dispatcher
Dispatcher
Restore session state, then process URL
Table of Contents
Introduction
Dispatcher is a
singleton
class (although not enforced by the constructor) with one method. When
Apache receives an HTTP request,
Apache mod_rewrite
converts the URL to an invocation of dispatch.php with the URL as argument.
dispatch.php instantiates a Dispatcher and calls its
dispatch()
method, which restores session state and creates an
ActionController object to process the URL.