Re: Don't specific media types introduce coupling?
Jan Algermissen <[email protected]>
| Newsgroups | gmane.comp.web.services.rest |
|---|---|
| Message-ID | <[email protected]> |
On Oct 18, 2012, at 3:11 PM, Ruben Verborgh wrote:
> Hi Jan,
>
> Thanks for the very detailed answer, that clears up a lot of the questions I had concerning coupling.
>
>> If you do not do that (write specific media types) but instead use generic ones (application/xml, application/json) you absolutely, 100%, need some out of band coupling somewhere if you want your client to do more than 'parse as xml' or 'parse as json'. And you will, immediately, end up with a non RESTful architecture where out of band contract is owned and changed by the server.
>
> I’m not sure about the latter.
> I agree if this out-of-band coupling (say, a description document, maybe machine-processable) is static and has to be precompiled. However, if such a description document can be obtained and interpreted at runtime [1], I’d argue that a RESTful interaction is taking place.
I meant you do not magically get clients to understand new semantics. At least not without entering Semantic Web or AI discussions which would be a different game altogether
Jan
>
> Best,
>
> Ruben
>
> [1] Such as in your work with Thomas at http://ws-rest.org/2011/proc/a3-steiner.pdf
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rest-discuss/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/rest-discuss/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/