Hello,
I wish to send users growl notifications from an internal server application
when certain events happen. For example if a widget is ordered all the
users who subscribe will receive a notification.
How best to do this?
Here's the basic requirements:
- Any authenticated user can receive notifications
- Users must be authenticated
- Preferably using their credentials for the website
- They will want to configure which notifications to receive
- They will mostly be windows users but there are some Mac users out
there.
Here's a simple use case:
- User goes to their Growl app and adds the details for the server
- Someone adds an order for 1000 units
- User gets a notification "New order placed for 1000 units"
>From my research I believe it would be best to target the GNTP protocol.
Based on that I can see two options:
1. Broadcast notifications from the server to all 'subscribed' users
2. Write client apps that poll the server and generate their own
notifications to the local growl client
I feel the 1 is the correct architecture but cannot find any examples or
"how to"s to guide me to what I need to do to write an application that does
this. Are there any examples or source code I could look at?
Also, from Growl for Windows it seems you can only subscribe with a
password. It would be useful if this worked with both username and
password.
Thank you for your help in advance
Peter
--
You received this message because you are subscribed to the Google Groups
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/growldiscuss?hl=en.