Erik Hetzner wrote:
You beat me to it! Just to add, the RWS book suggests using commas for
ordered pairs in the URI design section, which makes sense to me.

Really??  That's weird.  Wrong even?

I mean, if you can (or should) use commas, we'd have urls like this:

/cars,ford,truck,f-series,f150,2007

instead of

/cars/ford/truck/f-series/f150/2007

I like the second (with slashes) because it's somewhat a metaphor for traditional folders on a hard drive. Which is why it's also congruent with a web server serving a static folder hierarchy.

Ultimately, it doesn't matter what your delimiter is. I just think slashes seem more intuitive for this type of "ordered" or "hierarchical" usage.

Adam

Reply via email to