Re: Wim's Conf Proposal
Jean-Christophe Michel <jc.michel-/aRvmaKoZxNWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
alex black wrote: > I like wim's conf proposal. Some points: > > -I would very much like to see no XML. Database would be _much_ better. > -The basic path-keys are very good. They would be easy to catalog > and they impose a little logical structure on the values > -We could use damn-near the same code for string IDs if we chose to > use them (more on that in a minute) ... > So basically I am proposing that conf use a 'dictionary' simpleEntity > with very basic read/write methods that include simple validation. > > I would like to see Locale use this same dictionary simpleEntity for > translation services using string keys that look the same as conf. We > _could_ allow aliases in the dictionary entity so that string keys could > reference other string keys. > > Do people agree with this? - how will you store default values in svn? a sql dump? current xml format has the advantage of being strong, typed and can be checked against a dtd. - since we store a tree, why not use nested sets like in categories? probably too much overhead and complexity? -- Jean-Christophe Michel