DrupalCon London 2011: LIVING, BREATHING, DRUPAL: THE BIOLOGY OF THE REQUEST

Presented by
Kenny Silanskas
Taken in its simplest form, Drupal is a linear system that starts at line 1 of index.php and executes its code line-by-line until it outputs what a user asked for. What if we could visually explore that process to help us understand exactly how Drupal core actually works? Join webkenny and his zany cast of explorers as we take this journey together and learn the inner workings of the drop.

During our journey into the belly of the beast we'll learn exactly how the system executes a request from the moment a user requests foo.com to the end result displayed in the browser. We'll take an in-depth tour through the rivers of the hook system, explore the caves of the theme layer, traverse the sands of update.php, and tear apart the world's best CMS until it's nothing but totally approachable and easy to extend.

We will also take a detour along troubleshooting cove to learn how our journey can benefit us in our day-to-day debugging and site building.

Warning: Travel at your own peril!

While this talk will focus primarily on Drupal 7, most of the material will be applicable to Drupal 6.

Intended audience
Existing Drupal developers who want to understand the system and graduate from roadie to rock star.

Questions answered by this session
What is the bootstrap? Laying the groundwork in index.php

What is the hook system and how does it work?

How does a preprocess preprocess its preprocessors? The theme system.

What is update.php and how does it "know" what to do?

Who cares? Using this information to build better sites.

Drupal is a registered trademark of Dries Buytaert.