6. Structuring a controller - notafrancescodavid/webmvcframework GitHub Wiki

Web applications can be complex to design and realize. In addition to the two-level decomposition discussed so far (MVC decomposition and application subsystems), WebMVC provides some techniques for structuring a controller that can be used as a guideline for the realization of complex software systems. We discuss these techniques in the next two sections:

  • controller inheritance
  • controller composition

Controller inheritance is simply a peculiar application of the class inheritance mechanism of OOP. Controller composition ...

// TO DO

Before going into detail on how to structure a controller, it is necessary to discuss a WebMVC feature that can easy the writing of non-trivial applications that is the method autorun().