Jump to content

[SOLVED] Website structure for distributing functions like in wordpress


Jarod

Recommended Posts

Does anyone know how Wordpress distributes it's functions? I am wanting to distribute functions the same way for future use, right now I'm thinking that they transact through a middle page, I'm not exactly sure if they're imported right above the <html> tag though. But maybe I'm just completely wrong, any idea?

Basically, everything runs through the index.php file, which loads all the functions into the memory by including various files from the wp-includes folder

From there it does all that it needs to in terms of filters, actions etc, then gets the template files, and eval()'s the code to output any of the function data within it

 

This is a very typical MVC structure - see wikipedia if you need more info on MVC

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.