On Thu, May 7, 2009 at 1:17 AM, Tim Bray <Tim.Bray@sun.com> wrote:
On May 6, 2009, at 1:44 PM, Alexis Richardson wrote:FWIW, I've never seen a non-trivial language/protocol/API/standard/
> Failure is a possibility and for this reason
> we have set ourselves a very tight schedule so that if we fail we can
> fail fast and the interoperability community can learn from our
> findings.
whatever designed in less than a year, elapsed.
> Cool - can you or they contribute some use cases please? We needsGood point. We have internal ones, had actually never thought of
> dem use cases :-)
publishing them. I'll see what I can do.
>> They do not rely on interoperable models,>> send me and what the meanings of the fields are. ....
>> they rely on agreement on what bytes I send you and what bytes you
>I don't understand the difference, to be honest.
> That sounds like a protocol mindset - consistent with your RFC comment
> above. But is OCCI a protocol? Or is it an API? What are your
> thoughts here?
The problem is that when you say API people expect object models and
methods, and history should have taught us that those are very
difficult to make portable across networks. I confess to having a
protocol mindset since I'm a Web guy.
> More generally: What is the right way to make a cloud interface moreMy opinion: Be RESTful, to the extent possible.
> like a protocol?
> How would you recommend we deal with cases where XML is well supportedHmm... if you're in Java or Python or Ruby or of course JavaScript,
> but JSON is not well known?
>
> * .NET
> * Many 'enterprises'
it's super-easy to consume and generate JSON. If C# & friends are
behind in this respect I can't see it staying that way for very long,
my impression is that those guys are serious about keeping up with the
joneses.
> If we 'went with JSON' then would it be plausible to have XML adaptorsSpecifying the mapping is extra work. I suggest that YAGNI.
> for non-JSON settings?
> What about plain text - any view on that?Well, in our API, it turned out that the things we wanted to send back
and forth were numbers, labels, lists and hashes. Without exception.
JSON had everything we needed built-in and nothing we didn't need.
I'm not sure; I enumerated the things that I think would make Atom
> Do you think Atom is a bad thing for our use cases?
attractive. For our use cases in the Sun API, it didn't seem like a
terribly good match.