Re: Proposal to close ISSUE-19: Adressing more error cases, as is

On Jun 3, 2013, at 14:11, Kingsley Idehen <kidehen@openlinksw.com> wrote:
> Semantics and Media Types are two distinct things. Media Types don't determine Semantics. Semantics don't determine Media Types.

for you they don't; for many others they do. both options are design choices. in the REST community, this debate took years. it seems that nowadays, many favor exposing application/protocol+xml over just exposing application/xml, but i am sure you'll still find naked XML out there.

in the end, you have to have some way to reach agreement about what you're talking about. you can push this into your model or metamodel, or surface it in the service interface. if you want loose coupling, the latter is better, but like all design choices, it's a trade-off with pros and cons.

cheers,

dret.

Received on Monday, 3 June 2013 21:32:39 UTC