1. XenFun

    XF 2.x Dev Guide XenForo Controller basics

    Controller basics At a basic level, Controllers are the code that is executed when you visit a page within XF. Controllers are generally responsible for handling user input and passing that user input to the appropriate place which, generally, would be to perform some sort of database action...
  2. XenFun

    XF 2.x Dev Guide XenForo Routing basics

    Routing basics Within a PHP application, like XF2, we need a way of being able to take a user request for a specific URL, understand which controller, action and what data that URL represents, so that can present the appropriate response to the user. The concept of converting a URL to a location...