Login +

Controllers / Conclusion

The Controller part of MVC pattern modulates functionalities and application requirements.

Part Controllers / Actions for the most specific needs or generic based on a precise scope.

Part Components for redundant requirements, dynamically flexible.

Part Statics for overall needs in the application.

The execution order of the classes follows the same logic:

  • Execution of all Statics
  • Execution of Components related to the current Action
  • Execution of init() function of the current Action
  • Execution of init() function of the current Controller
  • Execution of init() function of application
  • Execution of current action

Related :