phpBB

Development Wiki

Difference between revisions of "PhpBB4/Messaging Component"

From phpBB Development Wiki

m (Generic Messaging Service)
(Mail)
 
Line 17: Line 17:
 
=== Mail ===
 
=== Mail ===
 
Sends an e-mail to the recipient's address.
 
Sends an e-mail to the recipient's address.
 +
 +
Could use [http://swiftmailer.org/ Swiftmailer], [http://framework.zend.com/manual/de/zend.mail.html Zend_Mail] or [http://www.ezcomponents.org/docs/tutorials/Mail ezcMail].
  
 
=== XMPP ===
 
=== XMPP ===

Latest revision as of 11:31, 23 November 2009

This might need to be split into multiple components

Generic Messaging Service

Allows sending messages / notifications via any of the available protocols. Should also allow sending with multiple protocols. This should be used whenever a user is informed about any process within phpBB. Based on the user's settings or selections the notification will be send with the prefered protocol.

interface MessagingInterface
{
}

Concrete Protocol Services

interface MessagingProtocolInterface
{
}

PrivateMessaging

Sends a regular private message on the board.

Mail

Sends an e-mail to the recipient's address.

Could use Swiftmailer, Zend_Mail or ezcMail.

XMPP

Sends a message via XMPP. Are there good external XMPP libraries? Shall we write our own (and contribute it to a framework)?

Perhaps: Posting

One could add a service that creates posts in a forum on the board. This might make sense for notifications about moderation activities.

IRC

Low priority

Implementation of IRC for notifications of specified events to a channel for things such as moderation notices or announcements, or as a private message for things like subscription notifications (like XMPP).

Possibly have a list of IRC accounts setup by administrators, then when setting up a notification event the user can select the account that will be used to notify them (allowing for different servers or login requirements for IRC accounts).