This site is archived.

Page serving and rendering (XHTML/XML/JSON, etc.) - now and Drupal 7

pwolanin's picture
Submitted by pwolanin on Thu, 07/03/2008 - 23:29.

Session recording

Placement
Session time: 
08/29/2008 - 16:00 - 08/29/2008 - 16:45
Conference booklet summary and bio
Article for conference booklet: 
This session will focus on how Drupal finds and renders pages, in other words, how a Drupal path (like node/4) is used to deliver a page to your screen. I will provide an overview of how these central Drupal systems work in Drupal 6, and how they may change in Drupal 7. The session will start with an overview of the Drupal 6.x menu system architecture. Next, I will discuss the flow from request to page rendering in Drupal 6.x. Finally, I will discuss page rendering in Drupal 7.x, alternative page renderers such as XML and JSON that may be available, and the current status of this work in 7.x. The goal of this session is to provide a higher-level overview, so the session should be accessible to a fairly broad audience.
Bios for conference booklet: 
Peter Wolanin, known as pwolanin on drupal.org, has been contributing to Drupal core since 2005 and recently joined Acquia as a senior engineer (Momentum Specialist). Prior to that, Peter earned his Ph.D. in Physics and did biophysics and molecular biology research. Peter worked with Károly Négyesi to write several of the new pieces of the Drupal 6 menu system, and also re-wrote the Drupal 6 Book module to use the new menu API.

Overview

This session will discuss how Drupal finds and renders pages. In other words, how a Drupal path (like node/4) is used to deliver a page to your screen. This will be a high level discussion, but with some reference to implementation details.

Agenda

  • Overview of the menu system architecture
  • The flow from request to page rendering in Drupal 6
  • Page rendering in Drupal 7
  • Alternative page renderers - e.g. XML and JSON
  • What we've enabled, what's left to do

Goals

This session should give the participant an overview of how these central Drupal systems work in Drupal 6, and how they may change in Drupal 7. We will focus on how page rendering may change, and what other advances those changes enable.

Resources

It would be helpful to have a basic familiarity with how pages are defined using Drupal 6 hook_menu, and what a Drupal path is.