I'm still trying to understand how Drupal works. Where I can find detailed step by step schema of Drupal execution for regular page? I mean, what Drupal do after it receives URL string, when it checks user authorisation, when it connects enabled modules, when it creates variables for node and when for blocks, when it applies themes and so on. It would be very helpful.

Comments

Island Usurper’s picture

Begin at index.php and start tracing the code. A lot of the answers to your questions happen in the bootstrap. Once you get sufficiently lost, take a look at node.module. Find go take a peek at phptemplate.engine in /themes/engines. This is the most comprehensive way to figure out how Drupal works, but not the fastest or the easiest.

Use api.drupal.org to look up unfamiliar functions, and also where to find the files they live in.

-----
Übercart -- One cart to rule them all.