View Source

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[{zone-template-instance:ZFPROP:Proposal Zone Template}

{zone-data:component-name}
Resource - Requirement Tool
{zone-data}

{zone-data:proposer-list}
[~thomas]
{zone-data}

{zone-data:liaison}
TBD
{zone-data}

{zone-data:revision}
1.0 - 01 August 2010: Initial Draft
{zone-data}

{zone-data:overview}
The "Resource Requirements" tool or RRT is a tool for Zend Framework which checks the actual installation and helps the developer to see if there are missing extensions or ZF components.
{zone-data}

{zone-data:references}
* [ZF-7541|http://framework.zend.com/issues/browse/ZF-7541]
* [http://nette.org/en/requirements-framework]
{zone-data}

{zone-data:requirements}
* This component *will* check the actual installation of PHP and it's extensions.
* This component *will not* do installations or changes in the configuration.
* This component *will* be available for different GUIs (commandline, web)
{zone-data}

{zone-data:dependencies}
None
{zone-data}

{zone-data:operation}
The RRT for Zend Framework is a tool which aids the developer or installer of Zend Framework to see which components work with the actual php settings and extensions.
There are multiple modes in which this tool can be used.

1.) command line
Using this tool on command line a user can detect if the framework or single components of the framework are working in the given php installation.
When there are problems the tool will return them and give a hint to see what is necessary.

2.) web
This tool should also be usable in a web-mode. In this mode it will check the installation and return the problems and display them in a nice visual way.

Optionally RRT can also be used to check if possible security configurations are met and return possible problems. For example is register_globals is turned off.
{zone-data}

{zone-data:milestones}
* Milestone 1: \[DONE\] Proposal finished
* Milestone 2: Proposal accepted
* Milestone 3: Working implementation
* Milestone 4: Unit tests
* Milestone 5: Documentation
* Milestone 6: Moved to core
{zone-data}

{zone-data:class-list}
* no classes to use... a single contained tool
{zone-data}

{zone-data:use-cases}
||UC-01||
See if the whole framework works without problems
{code}
>php zf-rrt.php
{code}

Returns a list of components and possible problems
{code}
Zend_Version: OK
Zend_XmlRpc: Missing DOMXML extension
{code}

||UC-02||
See if a single component works without problems
{code}
>php zf-rrt.php Zend_Version
{code}

Returns
{code}
Zend_Version: OK
{code}

||UC-03||
Web-Mode
{code}
/localhost/rrt
{code}

Returns a list of all components like UC1 but with a proper look
{zone-data}

{zone-data:skeletons}
{code}
Actually no class skeletons... this is expected to be a single contained tool
{code}
{zone-data}

{zone-template-instance}]]></ac:plain-text-body></ac:macro>