Characteristics of a controller

Characteristics of a Controller

Let us again revisit the design of the system with a controller. Lets again look into the same figure shown below.

Figure- Figure

Although the figure looks pretty simplistic but there are numerous properties of a controller that needs to be understood along with its reasonings.

The following are the properties of the controller that we will study in the next sections

  1. Characteristic 1 - Controllers are strictly unidirectional
  2. Characteristic 2 - Controllers are strictly Singleton
  3. Characteristic 3 - Single Entry Single Exit
  4. Characteristic 4 - No business logic , only routing logic within the Controller
  5. Characteristic 5 - Components should not directly talk to each other
Hemant Jha
Founder - VPlanSolutions
Researcher, Trainer