Re: EBNF for Diet YAML
André Caron <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
+1 for YAML as config. I use it extensively for configuration on a proprietary distributed system. We have switched most of our XML and JSON configurations to YAML over the past two years. It's much easier to hand edit than both other options and it's just as easy to generate from GUI tools. Note that it's also much easier to diff to compare compare revisions of a configuration over time. André On 2014-06-26, at 14:08, Ingy dot Net <[email protected]> wrote: > Susu, > > YAML is usually considered human readable and writable. Thus people like it for config. > > JSON is of course technically both of these, but less so to make it a good config format. > > INI has a shallow data model, but is good enough for most config, and less impervious to syntax errors than YAML and JSON. > > YAML is probably better for config as soon as you need much more than a flat hash model. > > That's my quick PoV. > > Ingy > > > > On Thu, Jun 26, 2014 at 9:51 AM, Trans <[email protected]> wrote: >> On Thu, Jun 26, 2014 at 11:35 AM, Susu Laird <[email protected]> wrote: >>> Well, how's this any better than json? >> >> YAML is more readable, and thus also more easily writable. >> >> Content wise, they would be nearly alike, except for Date/Times (put another tick in the YAML column). >> >> trans >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Yaml-core mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/yaml-core > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Yaml-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/yaml-core ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core