Online documentation - Websydian v6.0

Users Guide | Patterns Reference | WebsydianExpress | Search

 

The Dispatcher Main Function

The Event Dispatcher is one of the Websydian main functions and normally, only one Dispatcher function is defined for an application.  The Dispatcher function will be generated as an executable program to be run on the web server.

The Dispatcher function is the main entrance to the Websydian application.  The Dispatcher function is always called, when the web user triggers an event by pressing a push button in an HTML form.  When the Dispatcher is called, it receives the parameters sent by the HTML form and routes control to the Event Handler function that represents the HTML form.

 

Dispatching control to Event Handlers

The Dispatcher function is called when the web user triggers an event on an HTML page (from a web browser).  The Dispatcher function hereafter dispatches the control to the correct Event Handler function.

In the Websydian architecture, all control goes through the Dispatcher function.  The Dispatcher function therefore serves as a single point of security control for the entire web application.

More Information

The Structure diagram for the Event Handler patterns shows the Plex patterns making up the Dispatcher function.