-- [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote
(on Tuesday, 20 March 2007, 10:40 AM -0700):
> I was making suggestions to a fellow ZF user the other day and I noticed
> Zend_Config has no YAML format parser. Are there any plans to introduce a YAML
> config format, or does this require a base YAML parser, such as a Zend_Yaml
> since PHP is currently without an extension for the format?
> 
> There are a few places I find the format useful. The one we were discussing 
> was
> a more readable configuration file for dynamically constructing filter chains
> and rulesets. Esp. since XML is a bit bloated (yes, it's human editable but
> such configurations only have a little nesting and XML can come off as 
> overkill
> when presenting it to a maintainer).

I'd love to see a YAML parser in ZF -- though some might see it as a
further rails-ification of ZF, YAML has many benefits over other config
file formats (such as the readability you note, as well as deeper
nesting than INI, etc.).

I've seen recently that somebody is creating a YAML PHP extension, but I
haven't heard of any written *in* PHP. Anybody want to submit a proposal?
(I'd submit one, but my hands are kind of tied with the other framework
components I lead... ;-) )

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to