7. Pub/Sub in Drupal
Not pure Pub / Sub
Content synchronization (tightly coupled)
Content propagation (loosely coupled)
Domain module alternative
A hybrid system (topic and content based)
The content are nodes
Supports Pull and Push
Uses XML-RPC
8. Pub/Sub in Drupal
Topics are defined by views
Content filtering is done via filters
node_save() and alternatives
Supports private channels
Token based security
Works with most CCK field types (no userreference)
Syncs taxonomy terms
Syncs files uploaded to nodes
Deletion propagation
9. Basic usage - Demo
Set up taxonomies
Set up a publisher and a channel
Set up a subscriber to that channel
Add some nodes into the queue
Push
Pull
10. Advanced usage - Demo
Using the filters
Node reference
Deletion propagation
Syncing uploaded files
Excluding nodes
Tying nodes together