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...
  3. XenFun

    XF 2.x Dev Guide Build an XenForo add-on

    Let's build an add-on For some people, getting stuck straight into a project is the best way to learn, and the aim is that in the following sections you will learn how to build an add-on, from scratch. Be prepared; this isn't a simple 'Hello world' type demo. This is actually a fairly...