[uf-rest] Singular and plurals in URLs

David Heinemeier Hansson david at loudthinking.com
Mon Jun 12 18:13:57 PDT 2006


On Jun 13, 2006, at 9:31 , Ernest Prabhakar wrote:

> http://microformats.org/wiki/rest/urls

Just as a side note to this. The Simply Restful plugin for Rails,  
which will soon become part of Rails Core, has gone with the  
following scheme:

/people
/people/1

...so not /person/1. By using only the collection name, and not the  
member, we get a single URL hierarchy, which is hackable (remove the / 
1 to get the index).
--
David Heinemeier Hansson
http://www.37signals.com    -- Basecamp, Backpack, Writeboard, Tada
http://www.rubyonrails.com  -- Web-application framework
http://www.loudthinking.com -- Broadcasting Brain




More information about the microformats-rest mailing list