At Thu, 19 Jul 2007 13:48:35 -0600, Adam Taft <[EMAIL PROTECTED]> wrote: > Which is greater significance: manufacturer, model year, model class, > model type? You said /cars/ford/2007/f-series/f-150/ was acceptable.
> But, you can't answer which is more significant either. They are all > required to uniquely identify the tuple, in this case a truck. I didn’t say it was acceptable as a hierarchy (that is, a good hierarchy), thought it may be. I meant that by using the slash you identify it as a hierarchy. Whether model, manufacturer, etc. is more important is a judgment you make designing your URLs. By using the URL /cars/ford/2007/f-series/f-150/ you suggest that: cars > ford > 2007 > f-series > f-150 In other words, for the f-150, it is most importantly a car, then a ford, then a 2007 model, then an f-series, then an f-150. This is part of the URI generic syntax and the definition of a hierarchy. See: <http://gbiv.com/protocols/uri/rfc/rfc3986.html#hierarchical> Look, here’s an example of what I’m talking about. In binomial nomenclature, E. coli is uniquely identified by the 2-tuple of its genus and species: <Escherichia, coli>. Although this tuple looks no different from the <latitude, longitude> at first glance, what it *models* is different because there is a hierarchy behind it. Escherichia is more important than coli. Not only is order important, but the order indicates a hierarchy. > […] > Let's move the holy wars to the REST discussion list where they are > more relevant, ok? Yes, they would be more relevant there. PS: I made an error in a previous post, where I quoted RFC 3986. | The URI syntax is organized hierarchically, with components listed | in order of decreasing significance from left to right. I inserted the commentary ‘with slashes’ following ‘organized hierarchically’. This was an error. This sentence is referring to the entire URI, not just the path segment, so there are number of characters other than / in other parts of the URI which signify hierarchy. In the path part, however, only the / signifies hierarchy. best, Erik Hetzner ;; Erik Hetzner, California Digital Library ;; gnupg key id: 1024D/01DB07E3
pgp1metL4KkNv.pgp
Description: PGP signature

