Skip to end of metadata
Go to start of metadata

<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 Framework: Zend_Event Component Proposal

Proposed Component Name Zend_Event
Developer Notes
Proposers Alvar Vilu
Zend Liaison TBD
Revision 1.0 - 2 December 2009: Initial Draft. (wiki revision: 18)

Table of Contents

1. Overview

Zend_Event is AS3'like powerful event system.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • Any event dispatchable component must extend Zend_Event_Dispatcher or implement Zend_Event_Dispatcher_Interface.

4. Dependencies on Other Framework Components

  • Zend_Exception

5. Theory of Operation

This component can handle event listeners per obj or via stack trace.

6. Milestones / Tasks

Describe some intermediate state of this component in terms of design notes, additional material added to this page, and / code. Note any significant dependencies here, such as, "Milestone #3 can not be completed until feature Foo has been added to ZF component XYZ." Milestones will be required for acceptance of future proposals. They are not hard, and many times you will only need to think of the first three below.

  • Milestone 1: design notes will be published here
  • Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, ...
  • Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

If a milestone is already done, begin the description with "[DONE]", like this:

  • Milestone #: [DONE] Unit tests ...

7. Class Index

  • Zend_Magic_Exception
  • Zend_Magic (factory class)
  • Zend_Magic_MindProbe
  • Zend_Magic_MindProbe_Intent
  • Zend_Magic_Action
  • Zend_Magic_CodeGen

8. Use Cases


9. Class Skeletons




Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Dec 16, 2009

    <p>Really?<br />
    No comments, markups etc at all?</p>

  2. Dec 16, 2009

    <p>Great! I just look for this component. IMHO, the event listener can be lazy load,and configurable in the config file.</p>

    1. Dec 17, 2009

      <p>Hi.<br />
      What exactly do You mean by lazy load and configurable to event listener?<br />
      Something like:</p>

      <p>$this->addEventListeners(Zend_Config $config);</p>

      <p>If that - that's not possible. Only if callbacks are functions (not mehtods).</p>

      <p>Lazy load for backtrace? It might change all the time.</p>