Chapter 2. The Page Lifecycle

Getting a page to your browser using Drupal is quite a roundabout process. The final content is a mashup of data retrieved from a database, modified by modules, and finally formed for presentation by a theming layer. Understanding the steps a page goes through is critical to being able to develop custom modules for Drupal. This chapter covers the page lifecycle, and shows where you can attach your own code to do something an existing module can't do. If you are a developer who has created web sites using ASP.NET, you are probably well aware of the concept of the .NET page lifecycle—the stages a page goes through before being sent to the browser.

Directly comparing the Drupal model to the ASP.NET page lifecycle isn't ...

Get Pro Drupal 7 for Windows Developlers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.