- From: Eran Hammer-Lahav <eran@hueniverse.com>
- Date: Sun, 1 Mar 2009 12:45:02 -0700
- To: "wangxiao@musc.edu" <wangxiao@musc.edu>
- CC: Julian Reschke <julian.reschke@gmx.de>, "Patrick.Stickler@nokia.com" <Patrick.Stickler@nokia.com>, "jar@creativecommons.org" <jar@creativecommons.org>, "connolly@w3.org" <connolly@w3.org>, "www-tag@w3.org" <www-tag@w3.org>
The reason why your position on links is pointless is because you are trying to use a framework - a tool - as the end and not the mean. Your entire argument is equal to someone walking over to the guy who invented the first axe and told him it has a critical flaw because by itself, it wasn't very useful to figure out what should be built with it. The link framework offers something very simple. If you have two resources, where you have an interest in one, and would like to obtain more information (given a very specific context), you can find this extra information elsewhere. It has nothing to do with conneg. We are talking about two discrete resources. But the key here is that links by themselves don't do much. Applications must specify how certain links are used in certain situations. You are completely ignoring the application layer. Now, if you want to use an axe to insert related information into the resource itself, go ahead. But I strongly believe you are using the wrong tool here (to put it mildly). The endless discussion over links vs. conneg is pointless. I learned not to debate religion when I was 12, and that lesson applies here. I am not going to use conneg for my use cases because: 1. It overloads content-type with relation type or worse, an application specific activity. 2. It requires minting content types that are limited to representing metadata. A quick look at a typical Windows registry for file types or URI scheme types shows just how broken this approach is. 3. There is no way to find meta-metadata. Given three resources, C describes B and B describes A, how would conneg accomplish that? Mint a content type for a description of a description? 4. It partially fails the Equal Access Principle in that it is not a simple feature for many small and large providers to support. I can tell you that Yahoo! will not support connect for metadata on any of its high value properties for a wide range of reasons. Also many web clients don't give full access to the Accept header or other conneg features. The community I serve with this work depends heavily on extreme pragmatism. 5. It doesn't allow for an easy one resource-many descriptors link type (you can return a 300 but that isn't really widely used or understood). And all of this completely ignores the basic principle that data and metadata are not always just different representations of the same resource. So I'll use links and you use conneg and meet again in 5 years and see who is getting more traction. Any further debate on this is a waste of time. EHL > -----Original Message----- > From: Xiaoshu Wang [mailto:wangxiao@musc.edu] > Sent: Tuesday, February 24, 2009 4:00 PM > To: Eran Hammer-Lahav > Cc: Julian Reschke; Patrick.Stickler@nokia.com; > jar@creativecommons.org; connolly@w3.org; www-tag@w3.org > Subject: Re: Uniform access to metadata: XRD use case. > > The critical flaw of all the proposed approach is that the definition > of > "metadata/descriptor" is ambiguous and hence useless in practice. Take > the "describedBy" relations for example. Here I quote from Eran's > link. > > The relationship A "describedby" B asserts that resource B > provides a description of resource A. There are no constraints on > the format or representation of either A or B, neither are there > any further constraints on either resource. > > As a URI owner, I don't know what kind of stuff that I should put in A > or B. As a URI client, how should I know when should I get A and when > B? Since I don't know what I might be missing from either A or B, it > seems to suggest that I must always get both A and B. Thus, I cannot > help but wondering why they are not put together at A at the first > place. > > The same goes for MGET, how a user knows when to GET and when to MGET? > PROFOUND is different because when people use it, they have already > known that the resources is defined by WebDAV. Hence, these kind of > ideas only works when the client already have some knowledge about A. > But, to propose it as a general framework for the Web, it won't work. > At the most fundamental level, we only know three things about the Web > -- URI, Representation, Resource. The concept of metadata is > ill-conceived at this level because as data about data, to say metadata > implies that we already know something about the resource we tries to > access, a piece of knowledge that we don't have. > > There are a lot of implicit assumptions under the so-called "uniform > access to metadata/descriptor" approach. It either requires the > definition of IR or a one-on-one relationship between Resource and > Representation. As the former implies that non-IR cannot have a > representation, it makes the "descriptor/metadata" necessary. The > knock > on this assumption is that the definition of IR is impossible to work > with. > > The 1-on-1 relationship gives rise to the so-called "legacy resource". > But the word "legacy resource" is wrongly named too. In the Web, there > might be something as "legacy representation" but there should NOT be > such thing as "legacy resource" because the latter implies that the > Resource is closed and no more semantics will be added. > > But the so-called "metadata/descriptor" problems can be solved by using > HTTP Content Negotiation, making any other proposal a redundant one. > The > actual issue, as I have discussed in [1], is about the incomplete > syntax > of the URI specs, which currently does not have a syntactic notation > the other two foundation objects in the Web, i.e., URI and > Representation. Once we supplement URI spec with those syntactic > sugar, > such as the one I proposed in [2], then, we can have a uniform approach > to (1) describe URI along with standard resources and (2) to > systematically discover the possible representation types, i.e., > Content-Type/MIME types, associated with a Resource (either URI or > standard Resource). As a particular content-type is equivalent of a > particular *service*, hence, the approach in effect establishes a > uniformed approach to service discovery. > > What is required is to define Content-Type in URI. Once we have these, > not only Data/Resource are linked but DataType/Service. The best of > all, it works within the conceptualizations defined in AWWW, and does > not require any other ambiguous conceptualization, such as, IR, > metadata, and description, etc. > > 1. http://dfdf.inesc-id.pt/misc/man/http.html > 2. http://dfdf.inesc-id.pt/tr/uri-issues > > Xiaoshu > > Eran Hammer-Lahav wrote: > > Both of which are included in my analysis [1] for the discovery > proposal. > > > > EHL > > > > [1] http://tools.ietf.org/html/draft-hammer-discovery-02#appendix-B.2 > > > > > >> -----Original Message----- > >> From: Julian Reschke [mailto:julian.reschke@gmx.de] > >> Sent: Tuesday, February 24, 2009 1:45 AM > >> To: Patrick.Stickler@nokia.com > >> Cc: Eran Hammer-Lahav; jar@creativecommons.org; connolly@w3.org; > www- > >> tag@w3.org > >> Subject: Re: Uniform access to metadata: XRD use case. > >> > >> Patrick.Stickler@nokia.com wrote: > >> > >>> ... > >>> Agents which want to deal with authoritative metadata use > >>> > >> MGET/MPUT/etc. > >> > >>> ... > >>> > >> Same with PROPFIND and PROPPATCH, btw. > >> > >> BR, Julian > >> > > > >
Received on Sunday, 1 March 2009 19:46:00 UTC