Online documentation - Websydian v6.0 |
Users Guide | Patterns Reference | WebsydianExpress | Search |
Introduction Implementing Other Uses Parts Example
The figure below shows the triples of a sample Dispatcher function. The Dispatcher function inherits from the Session.Abstract.EventDispatcher pattern:
Sample Dispatcher function inheriting from an implemented Session entity.
The Page Generator function augmented with Session control must inherit from the PageGenerator abstract pattern. In the example shown below, this is done by defining the pattern _PageGenerator from which all other Page Generators in the application inherits through:
The template pattern _PageGenerator inherits from the Session.Abstract.PageGenerator.
Applying Session control to the Event Handler functions in the application is done in the same way as with the Page Generator functions, i.e. by defining an _EventHandler template from which other Event Handler functions in the application can inherit through:
The template pattern _EventHandler inherits from the Session.Abstract.EventHandler pattern.