SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
MESSAGE STACK 
managing activity streams, notifications, 
subscriptions in a Drupal way
ABOUT US 
Paolo Libanore 
Web Area Manager 
Sixeleven 
@paololibanore 
Italo Mairo 
Senior Drupal Developer 
Sixeleven 
2
MESSAGE STACK 
https://www.drupal.org/project/message 
Mantainer: Amitaibu 
“The Message module is the core of the message 
stack. It enables logging and displaying system 
events in a number of different use cases.” 
With Message Notify, Flag and Message Subscribe 
modules the website can send out notifications, and allow 
users to subscribe or unsubscribe to notifications
MESSAGES VALUE 
Messages improve communication: 
• They help your site interact with people. 
• They help people interact with your site. 
• They help people interact with other people.
MESSAGES SAMPLES 
• John commented on X article 
• John started following Paul 
• Phil just became a member 
• There’s a new Y article in Z category
DISTRO USING MESSAGE 
Message stack is widely used by several distributions 
orders logging and notifications 
activity streams and notifications 
activity streams and notifications
OUR CASE STUDY 
• Client: 
• Project: 
• Internal community platform to improve communication 
among 800 staff spread out in the world local offices 
• Message stack key features: activity streams + notifications
MESSAGE HANDBOOK 
Drupal Project Documentation: 
https://www.drupal.org/node/2180145
MESSAGE STACK 
The message stack comprises three main modules: 
• defines message entity types (fieldable) and let you 
create messages instances with dynamic content 
• handles delivery of a specific message notification 
through specialized plugins (e-mail, sms, …) 
• given a new message identifies the recipients/ 
subscribers through flag module and pass the 
message to message notify module for delivery
FLAG MODULE 
https://www.drupal.org/project/flag 
“Using this module, the site administrator can 
provide any number of flags for nodes, comments, 
users, and any other type of entity. Some 
possibilities include bookmarks, marking important, 
friends, or flag as offensive”
MAIN USE CASES 
1. Activity stream / News feed 
2. Notifications: users who subscribe to 
content will be notified when events 
occur that involve that content
OUT OF THE BOX READY? 
not exactly 
• the 3 modules expose API to other modules 
• pluggable architecture that supports 
customization and extensibility 
• but … to let you understand, the 3 modules 
includes features and example modules to 
easily test the workflow
WHAT IS A MESSAGE 
• message is an entity 
• fieldable 
• token support 
• leverages view modes 
• translatable
ACTIVITY STREAM 
Messages can be created through: 
• Custom code: Hooks 
• Via UI: Rules 
Message example (message_example: feature available in message_module), exposes: 
• message types 
• example of view 
• custom code that hooks events and creates messages
ACTIVITY STREAM DEMO
SUBSCRIBERS NOTIFICATION 
after creating the message, custom module shall invoke: 
message_subscribe_send_messages() 
with this command the message_subscribe module handles: 
• get basic context 
i.e..the node of the comment, the author of the comment and node, the 
terms and the groups 
• get subscribers (people who flagged) 
• pass to message_notify
NOTIFICATIONS DEMO
LET USER CHOOSE 
By default message subscribe send the 
notification to all the users that subscribed 
content 
With message_subscribe_email module 
we can let user define its email preference 
for every subscribed content
BONUS 
• Message subscribe queue 
• Message auto purge 
• Message digest: 
send notification once a day/week 
• Organic groups integration
THANK YOU! 
www.sixeleven.it
Message Stack in Drupal

Más contenido relacionado

Similar a Message Stack in Drupal

IBM Connections 3.0.1 & Beyond
IBM Connections 3.0.1 & BeyondIBM Connections 3.0.1 & Beyond
IBM Connections 3.0.1 & Beyond
Lidia Vikulova
 
Social networking
Social networkingSocial networking
Social networking
Esha
 

Similar a Message Stack in Drupal (20)

Introducing New Media To The Intranet
Introducing New Media To The IntranetIntroducing New Media To The Intranet
Introducing New Media To The Intranet
 
DITA Quick Start: System Architecture of a Basic DITA Toolset
DITA Quick Start: System Architecture of a Basic DITA ToolsetDITA Quick Start: System Architecture of a Basic DITA Toolset
DITA Quick Start: System Architecture of a Basic DITA Toolset
 
Mahara: An overview of the ePortfolio application
Mahara: An overview of the ePortfolio applicationMahara: An overview of the ePortfolio application
Mahara: An overview of the ePortfolio application
 
Chat room with smart mailing system
Chat room with smart mailing systemChat room with smart mailing system
Chat room with smart mailing system
 
IBM Connections 3.0.1 & Beyond
IBM Connections 3.0.1 & BeyondIBM Connections 3.0.1 & Beyond
IBM Connections 3.0.1 & Beyond
 
TrackStudio Overview
TrackStudio OverviewTrackStudio Overview
TrackStudio Overview
 
CHATTING APPLICATION.pptx
CHATTING APPLICATION.pptxCHATTING APPLICATION.pptx
CHATTING APPLICATION.pptx
 
Social networking
Social networkingSocial networking
Social networking
 
Bitrix24 Presentation
Bitrix24 PresentationBitrix24 Presentation
Bitrix24 Presentation
 
Bitrix24fullpresentation
Bitrix24fullpresentationBitrix24fullpresentation
Bitrix24fullpresentation
 
Internal communication solution
Internal communication solutionInternal communication solution
Internal communication solution
 
Client server chat
Client server chatClient server chat
Client server chat
 
Klout as an Example Application of Topics-oriented NLP APIs
Klout as an Example Application of Topics-oriented NLP APIsKlout as an Example Application of Topics-oriented NLP APIs
Klout as an Example Application of Topics-oriented NLP APIs
 
Apexcse
ApexcseApexcse
Apexcse
 
DeskAlerts 8 presentation
DeskAlerts 8 presentationDeskAlerts 8 presentation
DeskAlerts 8 presentation
 
Mass notifications
Mass notificationsMass notifications
Mass notifications
 
DA8_presentation
DA8_presentationDA8_presentation
DA8_presentation
 
DDive11 - Lotus Connections 3.0
DDive11 - Lotus Connections 3.0DDive11 - Lotus Connections 3.0
DDive11 - Lotus Connections 3.0
 
Tempo Social Communities for Business
Tempo Social Communities for BusinessTempo Social Communities for Business
Tempo Social Communities for Business
 
Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0
 

Último

原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
Asmae Rabhi
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 

Último (20)

APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 

Message Stack in Drupal

  • 1. MESSAGE STACK managing activity streams, notifications, subscriptions in a Drupal way
  • 2. ABOUT US Paolo Libanore Web Area Manager Sixeleven @paololibanore Italo Mairo Senior Drupal Developer Sixeleven 2
  • 3. MESSAGE STACK https://www.drupal.org/project/message Mantainer: Amitaibu “The Message module is the core of the message stack. It enables logging and displaying system events in a number of different use cases.” With Message Notify, Flag and Message Subscribe modules the website can send out notifications, and allow users to subscribe or unsubscribe to notifications
  • 4. MESSAGES VALUE Messages improve communication: • They help your site interact with people. • They help people interact with your site. • They help people interact with other people.
  • 5. MESSAGES SAMPLES • John commented on X article • John started following Paul • Phil just became a member • There’s a new Y article in Z category
  • 6. DISTRO USING MESSAGE Message stack is widely used by several distributions orders logging and notifications activity streams and notifications activity streams and notifications
  • 7. OUR CASE STUDY • Client: • Project: • Internal community platform to improve communication among 800 staff spread out in the world local offices • Message stack key features: activity streams + notifications
  • 8.
  • 9. MESSAGE HANDBOOK Drupal Project Documentation: https://www.drupal.org/node/2180145
  • 10. MESSAGE STACK The message stack comprises three main modules: • defines message entity types (fieldable) and let you create messages instances with dynamic content • handles delivery of a specific message notification through specialized plugins (e-mail, sms, …) • given a new message identifies the recipients/ subscribers through flag module and pass the message to message notify module for delivery
  • 11. FLAG MODULE https://www.drupal.org/project/flag “Using this module, the site administrator can provide any number of flags for nodes, comments, users, and any other type of entity. Some possibilities include bookmarks, marking important, friends, or flag as offensive”
  • 12. MAIN USE CASES 1. Activity stream / News feed 2. Notifications: users who subscribe to content will be notified when events occur that involve that content
  • 13. OUT OF THE BOX READY? not exactly • the 3 modules expose API to other modules • pluggable architecture that supports customization and extensibility • but … to let you understand, the 3 modules includes features and example modules to easily test the workflow
  • 14. WHAT IS A MESSAGE • message is an entity • fieldable • token support • leverages view modes • translatable
  • 15. ACTIVITY STREAM Messages can be created through: • Custom code: Hooks • Via UI: Rules Message example (message_example: feature available in message_module), exposes: • message types • example of view • custom code that hooks events and creates messages
  • 17. SUBSCRIBERS NOTIFICATION after creating the message, custom module shall invoke: message_subscribe_send_messages() with this command the message_subscribe module handles: • get basic context i.e..the node of the comment, the author of the comment and node, the terms and the groups • get subscribers (people who flagged) • pass to message_notify
  • 19. LET USER CHOOSE By default message subscribe send the notification to all the users that subscribed content With message_subscribe_email module we can let user define its email preference for every subscribed content
  • 20. BONUS • Message subscribe queue • Message auto purge • Message digest: send notification once a day/week • Organic groups integration