I dont have an opinion either way on configuration files, but to me the XML
one makes more sense for such a complicated configuration - the XSD
validation means that we can always be sure the config file is correct?

Was there any progress on YAML validation?


t

2010/11/18 "Nicolas A. Bérard-Nault" <[email protected]>

> On 10-11-17 06:39 PM, Jordi Boggiano wrote:
>
>> Heya,
>>
>> So.. as a followup to last's week IRC talk, where someone told me to
>> convert the security services definition from xml to yaml to see how
>> ugly it would get, I'd like to present you my findings: It's actually ok!
>> ;)
>>
>> First of all, the base XML one: http://pastie.org/1307034
>> Second, the Yamlified version: http://pastie.org/1307035
>>
>> Seeing that, what do you guys think? Do you really think XML is worth it?
>>
>>
> 100% for going to YAML.
>
>  =======
>>
>> Another somewhat related issue btw that someone came to talk about on
>> IRC, if you got the following DBAL config, you can't just override the
>> dbname in your config_test.xml, you have to redefine the entire tag,
>> duplicating all attributes:
>>
>> <doctrine:dbal dbname="" user="" password="" host="" />
>>
>> With Yaml it is very easy to just override one entry with:
>>
>> doctrine.dbal:
>>     dbname:   testingdb
>>
>> If anyone has a clue how to address that in XML please speak up.
>>
>> Cheers
>>
>>
>>
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to