Skip to search.
rest-discuss · REST Discussion Mailing List

Group Information

  • Members: 1401
  • Category: Protocols
  • Founded: Nov 13, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
WADL as an hypertext   Message List  
Reply Message #15848 of 18829 |
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 WSDL/SOAP/RPC/Berlusconi & other human's fault.

BTW, I'd like to use it as a hypertext as in http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven

It would be possible?

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?


Giacomo

Fri Jul 16, 2010 9:45 am

giacomo@...
Send Email Send Email

Message #15848 of 18829 |
Expand Messages Author Sort by Date

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@... Send Email
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)...
Jan Algermissen
algermissen1971 Offline Send Email
Jul 16, 2010
3:59 pm

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... ...
António Mota
amsmota Offline Send Email
Jul 16, 2010
4:23 pm

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@... Send Email
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/ ...
mike amundsen
mamund Offline Send Email
Jul 17, 2010
10:47 pm

Mike, Good post. One question. Shouldn't the date range query URI look like this: http://www.example.org/list/?*date-range&* ...
Nick Gall
nick_gall_1117 Offline Send Email
Jul 20, 2010
2:56 pm

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...
mike amundsen
mamund Offline Send Email
Jul 20, 2010
3:32 pm

... Think of the media type as domain specific. The application itself is formed when the components (user agent, servers, intermediaries) start working...
Jan Algermissen
algermissen1971 Offline Send Email
Jul 18, 2010
6:44 am

... 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@... Send Email
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...
Bill de hÓra
bdehora Offline Send Email
Jul 19, 2010
8:15 pm

... 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@... Send Email
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...
Jan Algermissen
algermissen1971 Offline Send Email
Jul 19, 2010
9:45 pm

... 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...
Jan Algermissen
algermissen1971 Offline Send Email
Jul 19, 2010
9:45 pm

... If the type cannot be extended, extensions cannot flow back because extensions cannot exist to begin with. I think the reasoning is circular. ... Practical...
Bill de hÓra
bdehora Offline Send Email
Jul 19, 2010
11:07 pm

... Agreed. "Semantic tunnelling" is a good phrase. The benefits, in the case of Atom/AtomPub include viewing in feed reader, validating w/ feed validator,...
Peter
pkeane_littl... Offline Send Email
Jul 20, 2010
1:29 am

I also agree. We don't want REST turning into SOAP, it's power is it's simplicity....
Glenn Block
glenn_block Offline Send Email
Jul 19, 2010
2:13 am

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@... Send Email
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@... Send Email
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 ...
mike amundsen
mamund Offline Send Email
Jul 19, 2010
9:23 pm

... 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@... Send Email
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@... Send Email
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...
António Mota
amsmota Offline Send Email
Jul 20, 2010
9:47 am

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...
António Mota
amsmota Offline Send Email
Jul 20, 2010
10:15 am

... 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@... Send Email
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@... Send Email
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@... Send Email
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@... Send Email
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,...
António Mota
amsmota Offline Send Email
Jul 20, 2010
6:46 pm

... 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...
Eric J. Bowman
eric@... Send Email
Jul 21, 2010
5:46 am
First  | < Prev  |  Last 
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help