Hi folks,
I'm reaching out to see what people prefer for INI config, as it will
determine the final format for the upcoming 1.0 release:
Currently for a web-based app that uses INI configuration, you can
specify a [filters] and [urls] sections in addition to the other
standard sections ([main], [users] and [roles]).
Strictly speaking, both the [main] and [filters] sections do exactly
the same thing - create object graphs for Dependency Injection-based
configuration. Since both sections are purely for configuring object
graphs, what do you prefer:
1) Just have a single [main] section that configures _all_ objects
(including filters)? or
2) Retain 2 sections for name-spacing.
If we go with a single section, all of the default filters ('authc',
'authcBasic', 'port', 'ssl', etc) would just be normal beans in the
[main] section for a webapp. The only risk is that people could
accidentally overwrite these default filters if they name one of their
beans the same as a default filter - but I think the odds of that
happening in practice would be very low.
Thoughts? Preferences?
Thanks!
Les