This site is archived.

Rules - new opportunities for site builders!

fago's picture
Submitted by fago on Tue, 07/29/2008 - 11:23.

Session recording

Attached files

Placement
Session time: 
08/27/2008 - 15:00 - 08/27/2008 - 15:45
Conference booklet summary and bio
Article for conference booklet: 
The rules modules allows site administrators to define conditionally executed actions based on occurring events (so called ECA-rules). The event part triggers the invocation of a rule, the condition part performs logical tests and if satisfied, the actions of a rule are carried out. The module is a replacement with more features for the trigger module of drupal 6 and the successor of the drupal 5 compatible workflow-ng module. Its powerful approach combined with a lot of useful events, conditions and actions opens new opportunities for site builders to extend the site in ways not possible before. Modules can easily enhance the power of the module by contributing their own events, conditions and actions. The session will start with a basic module overview followed by a short demonstration: The module is used together with CCK to build a simple workflow. After that some more advanced features will be covered like the possibility to create rule sets and the scheduling capabilities. For developers a short introduction to the rules API will be given, showing how to provide further conditions, actions and events. Furthermore the module will be compared to the trigger module of drupal 6 and its action system. By the end of this session attendees will be familiar with the capabilities of the rules module and will know how to make use of it to speed up site development. Module developers will know how easily their modules can extend the rules module1 and how to obtain better code reusage by developing with rules. For following the session coding skills are not required but beneficial for a better understanding of the short part about the API.
Bios for conference booklet: 
Wolfgang Ziegler, in the community better known as fago, is part time student and drupal developer. He studies "Information & Knowledge Management" and "Computational Intelligence" at the Vienna University of Technology. He joined the community in 2006, when he participated in the Google Summer of Code program and created the "profile-as-nodes" solution Node Profile. Since that time he has contributed some modules, e.g. Content Access, Auto Nodetitle, Fieldgroup and Workflow-ng.

Overview

The rules modules allows site administrators to define conditionally executed actions based on occurring events (ECA-rules). It's a replacement with more features for the trigger module in core and the successor of the workflow-ng module.

It opens new opportunities for site builders to extend the site in ways not possible before.

Agenda

* Module overview - What is it and why do I need it?
* Usage example: Build a simple workflow with rules and CCK.
* Advanced features: Rule Sets and scheduling
* How modules can use the rules API to extend it.
* Comparison to the trigger module and drupal actions
* Outlook

Goals

By the end of this session attendees will be familiar with the capabilities of the rules module and will know how to make use of it to speed up site development.
Module developers will know how easily their modules can be extended and how to obtain better code reusage by developing with rules.

Resources
You should be familiar with popular drupal modules like CCK and Views. Coding skills are not required but beneficial for a better understanding of the short part about the API.

fago's picture

wrong video

unfortunately the linked video file is the wrong one - I think this is the talk from gabor (world domination)

zserno's picture

Updated.

Updated.