XenForo architecture in ten minutes

With the publication of our Building with XenForo 2 video series, we've received various questions about a presenting broad overview of the XenForo architecture as a jumping-off point for would-be developers who want to know roughly what's going on behind the scenes.

architecture.pngTherefore, with dubious penmanship, we've put together a ten minute overview of how XenForo works.


Presenting ideas like the Router, Controller Actions and Replies before handing off to the Renderer, this overview aims to clear up some of the MVC mystery.

This video is meant to be representative rather than literal, and to show some of the flow of execution rather than to accurately represent how various systems interact, but as a something that can be presented in just ten minutes this is about as detailed as it can get.

We hope you'll find it useful!
 

Hoffi

Well-known member
Thats really cool, thanks.

Sometimes I am not sure, if I should build my new Code as a service or as a ControllerPlugin.

Both can be used in different Controllers.

My starting point was: Will the new code use some Controller mechanisms, then choose plugin. If not, use a service.

Is this the recommended way, or did I missed something?
 
Last edited:

DeltaHF

Well-known member
Really fascinating and extremely useful! This is something that has always been opaque to me.

This type of high-level architecture overview seems to be glossed over by many other platforms' documentation, probably because the people writing it already find it to be "common knowledge" or think it is intuitive or obvious — even though, to outsiders, it definitely isn't!
 

DigNap15

Well-known member
Great, now I can start writing my own forum software in oppsition to Xenforo
I should have it ready for sale in a couple of days

Wow and all of that happens in seconds or milli-seconds!
 

MacSeah

Active member
With the publication of our Building with XenForo 2 video series, we've received various questions about a presenting broad overview of the XenForo architecture as a jumping-off point for would-be developers who want to know roughly what's going on behind the scenes.

View attachment 252030Therefore, with dubious penmanship, we've put together a ten minute overview of how XenForo works.


Presenting ideas like the Router, Controller Actions and Replies before handing off to the Renderer, this overview aims to clear up some of the MVC mystery.

This video is meant to be representative rather than literal, and to show some of the flow of execution rather than to accurately represent how various systems interact, but as a something that can be presented in just ten minutes this is about as detailed as it can get.

We hope you'll find it useful!
it is useful. Thank you!
 
Top