Eocene: An OO Web Development Framework

Front Controller Design Pattern

The Eocene framework is based on the front controller design pattern. Web application design methodologies can be categorized into front controller and page controller design patterns (as implemented in ASP.NET). In the front controller design pattern, a single controller (e.g. a Servlet in Java) handles all user requests. For an application of moderate complexity, a front controller delegates the responsibility to command controllers (also called dispatchers). In an Eocene-based system, all command classes are directly or indirectly derived from BaseCommand.

Figure 1 shows the class diagram of the front controller design pattern as used in the Eocene framework. Application developers write command classes (shown as ApplicationClass stereotypes). The framework provides the base command class and the front controller class. The front controller object is the only global variable and only the receiver has “freestanding” codes. A receiver receives a request from users and instantiates the front controller class to activate the framework. An application based on the Eocene framework may have one or more receivers, but there is only one front controller.

You might also like...



Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration.” - E. W. Dijkstra