I think Bernhard's post was more to the point about form field and validator constraint options, not DIC configurations.
I seem to recall the DIC configuration argument being settled over the ML, that only underscores would be used for both XML and Yaml (no dashes and no camel case). On Wed, Jan 19, 2011 at 6:24 AM, Lukas Kahwe Smith <[email protected]>wrote: > > On 19.01.2011, at 12:21, Bernhard Schussek wrote: > > > Hi everyone, > > > > I would like to propose changing options from underscored to camelcase > > syntax (except for CLI commands, where they are naturally hyphenated). > > > > e.g. > > date_format -> dateFormat > > etc. > > > > I see two benefits in this change: > > > > 1) Less confusion about which naming convention is to apply where. I > > still see developers accidentally using camel-case for options from > > time to time. > > > > 2) The change allows a different implementation, where options are > > directly written into properties of an object instead of being stored > > in an associative array > > > > What do you think? > > > Well the problem is that we also set options via yaml and xml. Then again > there we use - an _, which already means we need to normalize names and > right now its horrible. All over the extensions we have if() statements that > rekey arrays. There should be a way to easily normalize this stuff. > > regards > Lukas Kahwe Smith > [email protected] > > > > -- > 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 > -- jeremy mikola -- 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
