View Source

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


[Josh Butts|]


1.0 - 22 March 2009: Initial Draft.

Zend_CodeGenerator_Apache is a subset of Zend_CodeGenerator which deals with reading and writing existing and new apache-style configuration files.



* 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

* Zend_Exception

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


* Milestone 1: [design notes will be published here|]
* 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.


* 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