1.3. Application Controller

Application Controller centralizes control, retrieval, and invocation of view and command processing. While a Front Controller acts as a centralized access point and controller for incoming requests, the Application Controller is responsible for identifying and invoking commands, and for identifying and dispatching to views. The Application Controller pattern is used to centralize retrieval and invocation of request-processing components, such as commands and views. 

UML representation


Benefits

The following lists the benefits of using the Application Controller pattern:
  • Improves extensibility
  • Improves separation of concerns

When to Use

You should use the Application Controller pattern to:
  • Apply common control logic
  • Have centralized view management
Comments