compared with
Version 3 by Thomas Weidner
on Jun 11, 2009 05:48.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (23)

View Page History

{zone-data:references}
* [Harry Houdini Wikipedia Entry|http://en.wikipedia.org/wiki/Harry_Houdini]
* [MagicTricks.com|http://www.magictricks.com/]
* [Zend_Date|http://framework.zend.com/manual/en/zend.date.html]
{zone-data}

{zone-data:requirements}
Most requirements take the form of "foo will do ...." or "foo will not support ...", although different words and sentence structure might be used. Adding functionality to your proposal is requirements creep (bad), unless listed below. Discuss major changes with your team first, and then open a "feature improvement" issue against this component.

* This component *will* correctly reads a developers mind for intent and generate the right configuration file.
* The generated config file *will not* support XML, but will provide an extension point in the API.
* This component *will* use no more memory than twice the size of all data it contains.
* This component *will* include a factory method.
* This component *will not* allow subclassing. (i.e. when reviewed, we expect to see "final" keyword in code)
* This component *will* only generate data exports strictly complying with RFC 12345.
* This component *will* validate input data against formats supported by ZF component Foo.
* This component *will not* save any data using Zend_Cache or the filesystem. All transient data *will be* saved using Zend_Session.
* This component *will* allow to access and output Zend_Date objects directly in the view.
{zone-data}

{zone-data:dependencies}
* Zend_Exception Zend_Date
* Zend_View_Helper
{zone-data}

{zone-data:operation}
The component is instantiated with a mind-link that ...
The component allows to access a date object within the view. It will also allow to simply output the expected date string.
{zone-data}

{zone-data:milestones}
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|http://framework.zend.com/wiki/x/sg]
* 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 1: \[DONE\] Proposal finished
* Milestone 2: Proposal accepted
* Milestone 3: Working implementation
* Milestone 4: Unit tests exist, work, and are checked into SVN.
* Milestone 5: Initial documentation exists. Documentation

If a milestone is already done, begin the description with "\[DONE\]", like this:
* Milestone #: \[DONE\] Unit tests ...
* Milestone 6: Moved to core
{zone-data}

{zone-data:class-list}
* Zend_Magic_Exception Zend_View_Helper_Date
* Zend_Magic (factory class)
* Zend_Magic_MindProbe
* Zend_Magic_MindProbe_Intent
* Zend_Magic_Action
* Zend_Magic_CodeGen
{zone-data}

{zone-data:use-cases}
||UC-01||
{code}
... (see good use cases book)
$this->date->toString();
$this->date->toString('dd.MM.yyyy');
$this->date->setDate('31.10.2009', 'dd.MM.yyyy');
$this->date->getDate('MMMM.yyyy'); // October.2009
{code}
{zone-data}

{zone-data:skeletons}
{code}
class Zend_Magic_Exception extends Zend_Exception {}
class Zend_View_Helper_Date extends Zend_View_Helper_Abstract {}
public function toString();
public function setDate();
public function addDate();
public function __get();
public function __set();
}
class Zend_Magic {
...
{code}
{zone-data}