This site is archived.

Triggers and Actions and Hooks, Oh My!

Platinum and gold sponsors

jvandyk's picture
jvandyk - Thu, 01/17/2008 - 11:11am
John VanDyk
community and core
Proceedings Have Been Posted: 
Session Description: 

As part of its mission to eliminate the web developer, Drupal 6 introduces a new API for Drupal actions: code that can be dynamically associated with different Drupal hooks, yet with a user interface easy enough to be set up by a semi-savvy administrator. This session will walk you through the new API and leave you confident about writing your own actions. It is geared toward developers who want to quickly get up to speed on this new API.

We will cover both the actions and triggers that are available in core and how to write your own.

* Introduce the idea of actions
* Learn how to write an action and describe it to Drupal
* Introduce the idea of triggers
* Show how triggers and actions work together
* Learn how to define your own triggers
* A brief look at the future: conditional actions

The goal of this session is to demystify actions and triggers and make them accessible to developers.

No prior experience with actions is necessary. PHP familiarity is expected and Drupal module development experience is helpful. If you want to get a head start, read the module developer’s page on Writing actions (Drupal 6.x).

John VanDyk wrote the actions module for Drupal 4.7 and 5, which led to the redesign of the module and its inclusion in Drupal 6. He is the co-author of Pro Drupal Development.

This session will take place on Tuesday from 5-6 pm in room 253a. Some schedules list this session on Thursday, but it was moved to Tuesday.

03/04/2008 - 5:00pm -
03/04/2008 - 6:00pm

Session start time: 
03/06/2008 - 1:30pm - 03/06/2008 - 2:15pm
Average: 4.9 (32 votes)