On Dec 23, 2008, at 1:02 PM, Shawn Walker wrote:

>>>  5.  The return value of authority/0 is useful as a standalone
>>>      document for bootstrapping access to an authority.  That  
>>> suggests
>>>      that the return value should be useful in a file form.  We've  
>>> used
>>>      XML with success/controversy in other places for properties  
>>> like
>>>      this, but we could also use YAML or make a mini-language.
>>
>>  I've been privately reminded that XML and JSON are particularly
>>  friendly to consumption by web clients.  YAML on JavaScript seems to
>>  be a bit stunted.
>
> json is substantially more light-weight, and is what I originally  
> wanted
> to use for client history records.

I'd vote for either JSON or XML over YAML.  The rapid Ajax-driven  
uptake of JSON seems to have filled the hole in the ecosystem for a  
standardized interchange format that's lighter in weight than XML, so  
I'm not sure YAML has a bright future.  XML is still appropriate when  
what you're interchanging looks like "documents" (deep nesting,  
embedded fields, etc).  -T
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to