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}
Zend_CodeGenerator_Apache
{zone-data}

{zone-data:proposer-list}
[Josh Butts|mailto:josh@joshbutts.com]
{zone-data}

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

{zone-data:revision}
1.0 - 22 March 2009: Initial Draft.
{zone-data}

{zone-data:overview}
Zend_CodeGenerator_Apache is a subset of Zend_CodeGenerator which deals with reading and writing existing and new apache-style configuration files.
{zone-data}

{zone-data:references}

{zone-data}

{zone-data:requirements}
* This component will be able to parse existing Apache configuration files into a PHP object structure representing the file
* This component will NOT validate the proper relationships of Apache configuration directives (e.g. validating context restrictions)
* This component will be able to write the PHP object representation of an Apache configuration file back to disk
* This component may (but probably won't) accept input via XML or a Zend_Config object
{zone-data}

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

{zone-data:operation}
This component may be instantiated using it's normal constructor and built up programmatically
This component may be instantiated using a fromString() method to start with an existing file

{zone-data}

{zone-data:milestones}
* Milestone 1: [design notes will be published here|http://framework.zend.com/wiki/x/sg]
* Milestone 2: Working prototype for exiting file parsing
* Milestone 3: Working prototype creating files from scratch
* Milestone 4: Unit tests exist, work, and are checked into SVN.
* Milestone 5: Initial documentation exists.

{zone-data}

{zone-data:class-list}
* Zend_CodeGenerator_Apache_Abstract
* Zend_CodeGenerator_Apache_Block
* Zend_CodeGenerator_Apache_Comment
* Zend_CodeGenerator_Apache_Context
* Zend_CodeGenerator_Apache_Definition
* Zend_CodeGenerator_Apache_Directive
* Zend_CodeGenerator_Apache_Exception
* Zend_CodeGenerator_Apache_File
* Zend_CodeGenerator_Apache_Item
{zone-data}

{zone-data:use-cases}

{zone-data}

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