I fully appreciate the semicolon issues that Koz referenced, mostly having to do with client and server incompatibilities.
That being said, I loved the semicolon. It not only removed likely namespace collisions, but clearly defined the role for each part of the RESTful url: /resource.format;non-http-action?params In fact I had actually been hoping it would be embraced further, using that format for 'new' as well: /users;new /users.xml;new So, is there any way we could use another character that would not cause these incompatibilities? According to RFC1738 (http://www.ietf.org/rfc/ rfc1738.txt) Thus, only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL. Would it be possible for us to simply replace the semicolon with the + character? Or wrap the action in parentheses, ala wikipedia? Just my two cents. Tammer Saleh Thoughtbot, inc. [EMAIL PROTECTED] On Aug 1, 7:17 am, "Tom Ward" <[EMAIL PROTECTED]> wrote: > On 01/08/07, Chris Kampmeier <[EMAIL PROTECTED]> wrote: > > > > > On Jul 31, 4:44 pm, "Michael Koziarski" <[EMAIL PROTECTED]> wrote: > > > Sounds a little too tricky for my liking. What we really want is a > > > way for people to provide a prefix for their collection actions so > > > that we can distinguish these two cases > > > > /users/the-prefix/popular > > > /users/mr-popular > > > I've used this before and it seems to make sense: > > > /users/all/popular > > /users/mr-popular > > Am I horribly misguided in wanting to use plural and singular prefixes > to distinguish between collections and individual entities?: > > Collections: > > /posts/tagged/ruby > /posts/from/2007/12 > /posts/written-by/tomafro > /users > > Individual items: > > /user/tomafro > /post/1 > > Tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
