<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Growl is a simple component for sending Growl notifications.Zend Framework: Zend_Growl + Zend_Log_Writer_Growl Component Proposal
Proposed Component Name
Zend_Growl + Zend_Log_Writer_Growl
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Growl + Zend_Log_Writer_Growl
Proposers
Tom Graham
Zend Liaison
Matthew Weier O'Phinney
Revision
1.1 - 21 September 2008: Initial Draft. (wiki revision: 9)
Table of Contents
1. Overview
Zend_Log_Writer_Growl utilises Zend_Growl to send Growl notifications upon log events.2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Log_Writer_Abstract
- Zend_Log_Filter_Priority
- Zend_Log_Exception
- Zend_Exception
5. Theory of Operation
6. Milestones / Tasks
- Milestone 1: Design
- Milestone 2: Working prototype checked into the incubator supporting use cases
- Milestone 4: Unit tests exist, work, and are checked into SVN.
- Milestone 5: Initial documentation exists.
7. Class Index
- Zend_Growl
- Zend_Log_Writer_Growl
8. Use Cases
| UC-01 |
|---|
$growl = new Zend_Growl('127.0.0.1', 'password');
$growl->addNotification('Messages');
$growl->notify('Messages', 'Title', 'Message description', Noginn_Growl::PRIORITY_LOW, true);
| UC-02 |
|---|
$growl = new Zend_Growl('127.0.0.1', 'password');
$writer = new Zend_Log_Writer_Growl($growl);
$logger = new Zend_Log($writer);
// Sends Growl notification with the Title 'Emergency'
$logger->emerg('Log message');
10 Comments
comments.show.hideSep 21, 2008
Martin Milesich
<p>I think this should be made as a Zend_Log_Writer instead of new component.</p>
Sep 21, 2008
Tom Graham
<p>Good idea, I think it would be good to have a Zend_Log_Writer component but also the standalone as well. I'll get to work on the log writer.</p>
Oct 13, 2008
Matthew Weier O'Phinney
<p>One principal issue we may have is that growl is mac-specific. Linux has similar functionality via specto, gnotify, and mumbles offer it – but they are not 1:1 comparisons in functionality. Would you be interested/willing to consider a more general purpose 'Notifier' component with various backends? You wouldn't need to write all adapters at once – Growl would be one adapter – but this would allow for extendibility and future-proof the component.</p>
Oct 13, 2008
Christoph Dorn
<p>I like the idea of a Notifier component. There are lots of services out there that an application may want to "notify" of a particular event.</p>
Oct 14, 2008
Tom Graham
<p>Sounds like a great idea to me. I'll have a play around and see what I can come up with.</p>
Oct 15, 2008
Tom Rix
<p>This is much better- I think the idea of locking a component to a specific OS is nasty.</p>
Oct 31, 2008
Matthew Weier O'Phinney
<ac:macro ac:name="note"><ac:parameter ac:name="title">Zend Acceptance</ac:parameter><ac:rich-text-body>
<p>We accept this proposal for conditional development in the extras incubator.</p>
<p>We would like to see the component generalized to include a ZendX_Notifier component, with a Growl adapter. This will allow for additional adapters in the future targetting other notification protocols (such as gnotify, mumbles, etc.).</p></ac:rich-text-body></ac:macro>
Mar 18, 2009
Wil Sinclair
<p>This proposal hasn't been updated in the last 6 months. Archiving for now.</p>
Mar 19, 2009
Wil Sinclair
<p>I thought I archived this, and now it is in Extras Incubator. If it has been resurrected, please leave a note saying so. Re-archiving, but will not archive again if I see a comment saying that it has been resurrected.</p>
Mar 19, 2009
Tom Graham
<p>Unfortunately I don't have the time to work on this component anymore.</p>
<p>I did't move it out of the archive either <ac:emoticon ac:name="smile" /></p>