This site is archived.

The Heart of Open Atrium: Context, PURL and Spaces

9:45 AM - 10:45 AM
303 Chapter Three

Presented by

Young Hahn (yhahn)
Development Seed
Under the HoodUnder the Hood
Technical details: Study servers, Drupal core, module building, and more.

In this presentation I'll look at three core technologies that drive the IA and user experience of Open Atrium: Context, PURL and Spaces. I'll explain the history and development of the ideas behind each, explain their respective roles, and show how they can be used together to create something greater than the sum of their parts.

  • Context is a module for triggering reactive behaviors within a page load. Controlling block visibility, menu trails, page classes, and page template layouts are examples of things that fall into its jurisdiction.
  • PURL is a library for capturing and abstracting request handling that goes beyond what the Drupal core menu system provides ($_GET['q']). Detection of request components, like subdomain, path prefix, user agent, or file extension, and sustaining their presence is its primary role.
  • Spaces is a generalized configuration override framework. In theory it allows you to "customize everything, for anything." In practice it allows things like custom group colors and features, per-user dashboards, and multisite-like usage of a single Drupal install.

Audience & format

This presentation

  • Will be technical. We will read code, look at database tables, and generally geek out.
  • Will help you better understand Atrium. If you are an experienced Drupal developer or user and were utterly confused by what is going on in Atrium, I will explain the guts of the system fully.
  • Will show you how to use these tools in your own projects. I'll walk through common site building problems that can be addressed with one or more of these modules.
  • Will give you things to think about. The problems addressed by Context, PURL and Spaces are not new, not solved, and not easy. There are other strong approaches inside and outside of the Drupal community and I will explore future approaches to these problems.
Experience: Intermediate, Advanced, Expert
Industry: education, entertainment, library, marketing, media, non-profit
Tags: context, Open Atrium, purl, spaces

This talk is right up my alley. Glad it made the final cut!

I need to implement a color-coded Drupal calendar like the one you have on the OpenAtrium demo site. I hope you will cover setting such a calendar up (or at least point the audience to your calandar-theming resources) in your presentation. I will try to be there. Thanks.

The calendar module has color coding available if you modify the default view settings.

The posted video has a too low resolution, we can not read whats in it !

Can you provide a better resolution ?

Also, how can you provide an easier link to download it for offline watching? I have a loooooong flight to catch so I was thinking to take DrupalCon with me on the iPhone :-)

Otherwise I'll have to hack into the ugly Flowplayer flashvars on each page source code to find the URL for the MP4 video file. Not nice.

Thanks in advance

The "Windows Media" version on the page is the original recorded version and is much better resolution than the other converted versions.

Could I have a look at the purl behaviours module?


I too would like to see the code you hooked into with purl. Or know where to see it in the Atrium system.