Hi all,
In the same line of thought, take a look at YAML as a possible alternative to
JSON. A comparison:
http://en.wikipedia.org/wiki/JSON#YAML
YAML has a few extra features and looks more human-friendly than JSON.
Both currently have Python support.
If you decide to stick with XML, I would say that format 6c looks tidier than the other
two. And actually, that "cascading" approach can equally be applied with XML,
JSON or YAML.
Miguel.
On 11/12/2007 11:17, Ferran Jorba wrote:
Hi Tibor,
The next step in the process of removing the dependency on WML is to
replace the "config.wml" configuration technique we've been using so
far. Here is a brief outline of a schema I've been thinking about.
[...]
I like it; I like specially this magic inveniocfg tool! I have nothing
to add, really.
The only grip is rather aesthetic; I'm getting tired about so much XML
everywhere. And yes, I know that Invenio is heavy consumer and producer
of XML, so... But if the config file would be written in something
simpler (for example JSON, see http://en.wikipedia.org/wiki/JSON)
instead, I think it would be easier both for humans and programs.
But again, I'd be more than happy if this roadmap gets implemented.
Thanks for asking,
Ferran