Implementing a Model-View-Controller design architecture using a custom url routing system in the index file that uses arrays to get the requested URI which includes the controller, which calls on the model to get the class and function for the request.
I.E.
/thread/show/1
includes the thread controller, which calls the thread class which uses a switch to call the show function with a variable of 1.