I've read a lot of criticism to WADL (see for example http://bitworking.org/news/193/Do-we-need-WADL),
since it could lead to something like WSDL/SOAP/RPC/Berlusconi & other human's fault.
Actually a wadl file should have it's own mime type (does it have one?) but it seem quite good as hypertext language as far as the client can handle it (through, for example, some code on demand).
I'm not considering it a tool to generate such code (even if it would be possible, and as far as the code is downloaded with the wadl, still restful), but just a simple and clean way to connect the resources.
It seem to me that nothing restfully wrong to use an alternative hypertext language instead of html, isn't it?
Hello list! :-D I've read a lot of criticism to WADL (see for example http://bitworking.org/news/193/Do-we-need-WADL), since it could lead to something like...
Giacomo Tesio
giacomo@...
Jul 16, 2010 3:24 pm
... Hello Giacomo :-) ... Basic problem with WADL is its design time use (as you already understand I think). RESTful systems do not need (and in fact forbid)...
I remember a article by Mark Hardley from thr Jersey project about HATEOAS WADL, try to google it. Neverthless I too think that its use should be avoided... ...
On Fri, Jul 16, 2010 at 5:58 PM, Jan Algermissen <algermissen1971@...> ... That's not clear to me... Should I write a specification for a "cargo" mime type...
Giacomo Tesio
giacomo@...
Jul 17, 2010 10:00 pm
G: I wrote a set of blog posts on this topic recently: http://www.amundsen.com/blog/archives/1041 It might give you some ideas. mca http://amundsen.com/blog/ ...
Nick: Thanks for the feedback. The examples given for the query could be done lots of diff ways. i picked what i thought was the simplest for that short blog...
... Think of the media type as domain specific. The application itself is formed when the components (user agent, servers, intermediaries) start working...
... So, to represent a cargo I should send a Content-Type with it of type application/x-cargo+xml for example? Is it right that different resources with such a...
Giacomo Tesio
giacomo@...
Jul 19, 2010 8:25 am
... Why is that important? ... Which result in semantic tunnelling. Look at the work involved in mapping gdata/activitystreams/odata into Atom or...
... That is exactly my fear. Giacomo On Mon, Jul 19, 2010 at 9:58 PM, Bill de hÓra < bill@... > wrote: Which result in semantic tunnelling. Look at the...
Giacomo Tesio
giacomo@...
Jul 19, 2010 8:51 pm
... Why do you fear that? It is at the heart of what is necessary to overcome coupling of clients to servers. When you apply REST to your problem, media type...
... It is important because we want to avoid defining new stuff for every new service. The overal media type (or small set of types) should ideally already...
... If the type cannot be extended, extensions cannot flow back because extensions cannot exist to begin with. I think the reasoning is circular. ... Practical...
... Agreed. "Semantic tunnelling" is a good phrase. The benefits, in the case of Atom/AtomPub include viewing in feed reader, validating w/ feed validator,...
2010/7/19 Glenn Block <glenn.block@...> I also agree. We don't want REST turning into SOAP, it's power is it's ... Neither do I. But keeping simple the...
Giacomo Tesio
giacomo@...
Jul 19, 2010 8:26 am
It's quite interesting, actually. But would it be "right" (from a REST point of view) to use an home made (potentially subjected to changes) mime type like...
Giacomo Tesio
giacomo@...
Jul 19, 2010 9:00 pm
<snip> But would it be "right" (from a REST point of view) to use an home made (potentially subjected to changes) mime type like application/list.man+xml ...
... Not if it's a standard, no. REST argues specifically against creating a new media type in the face of an existing, ubiquitous media type which already...
Eric J. Bowman
eric@...
Jul 20, 2010 12:14 am
... It could be an history of handling, For example. And it could have strict business rules in what handlings can be done, where and when. XML still seem to...
Giacomo Tesio
giacomo@...
Jul 20, 2010 9:24 am
You also have the situation when you want to use those same media-types for in-house application integration (even if not in a REST based arch.) as well in...
BTW, the post I mentioned about HATEOAS WADL is here: http://weblogs.java.net/blog/2009/04/02/hateoas-wadl What I don;t like about this, is that WADL ends up...
... An in-house media type is ubiquitous within the scope of the system. REST simply requires that a media type description exists, in such case. Basically,...
Eric J. Bowman
eric@...
Jul 21, 2010 5:24 am
... What is it about an HTML table marked up with RDFa, that makes it not machine-readable? This point of view always leaves me befuddled -- why should a m2m...
Eric J. Bowman
eric@...
Jul 20, 2010 2:02 pm
... No. Hypertext markup is declarative code, javascript is not. An interface written in markup is easy to decipher (self-documenting); javascript, not so...
Eric J. Bowman
eric@...
Jul 20, 2010 3:55 pm
... No different than an airline reservation. Yet, airline reservations are commonly made online via HTML/HTTP APIs. Such systems aren't (last I checked)...
Eric J. Bowman
eric@...
Jul 20, 2010 6:14 pm
However, a browser do have handlers to deal not only with text/html but also image/gif, image/jpg, application/pdf and so on... If things were as you describe,...
... Where did I imply otherwise? Let me try again to make this clear. If your purpose is to deliver a distributed hypertext application over the Web, then it...