Skip to end of metadata
Go to start of metadata

Zend Framework: Zend_Config_Yaml Component Proposal

Proposed Component Name Zend_Config_Yaml
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Config_Yaml
Proposers Stas Malyshev
Zend Liaison TBD
Revision 1.0 - 23 November 2009: Initial Draft. (wiki revision: 12)

Table of Contents

1. Overview

Zend_Config_Yaml implements YAML markup support for Zend_Config reading and writing.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will allow Zend_Config users to read and write YAML configuration files
  • This component will allow to use pluggable YAML parser/generator, since there's no standard Zend_Yaml component for now.
  • This component will support configuration sections.
  • This component will support single inheritance of configuration sections.

4. Dependencies on Other Framework Components

  • Zend_Config
  • Zend_Config_Exception

5. Theory of Operation

The component will allow to read and write configuration files in YAML format. Built-in parser will support only the simple subset of YAML, but external parsers (such as syck or spyc) can be plugged in for more complex formats.

6. Milestones / Tasks

  • Milestone 1: [DONE] Create the spec for YAML support in Zend_Config
  • Milestone 2: [DONE] Working code checked into the lab
  • Milestone 3: [DONE] Parser unit tests checked into the lab
  • Milestone 4: Writer unit tests checked into the lab
  • Milestone 5: Proposal accepted
  • Milestone 6: Documentation for the component exists
  • Milestone 7: Code checked into the trunk

7. Class Index

  • Zend_Config_Yaml
  • Zend_Config_Writer_Yaml

8. Use Cases

9. Class Skeletons

Labels:
config config Delete
yaml yaml Delete
zend_config zend_config Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 23, 2009

    Nice to have YAML config option.

  2. Nov 29, 2009

    Great component.

  3. Aug 03, 2010

    Community Review Team Recommendation

    The CR Team advises that this component be included in 1.11, and are happy with this proposal as-is