Dan Kubb wrote:
>> 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
> 
> At one time I would've agreed with you on this, but I've come to admire
> the way rails URL's are "hackable" by default.  That is, you can hack  
> off
> the end of the URL, and more often than not you're able to move to a
> higher level of the hierarchy.  I believe good websites and web apps
> should have short, easy to read, hackable URLs.
> 
> Here's an article from Jakob Neilsen about how URLs are a strong part
> of the user interface, and why it makes sense to pay attention to them:
>    URL as UI: http://www.useit.com/alertbox/990321.html
> 
> I've heard all the standard REST arguments about URLs needing to be  
> opaque,
> but I do believe that some users (myself included) rely on them to be
> "hackable".  In fact I tend to directly manipulate the URL more than
> clicking on links in breadcrumbs or other navigation on web pages.
> 

Amen. URLs are *very* important... something that the Rails community embraced 
from the beginning, 
but now seems to have lost a bit in the pursuit of the RESTful golden hammer.

I break out of the typical Rails url-scheme at least a few times on every app I 
write. I choose URLs 
that will make sense to the user (or at least make sense to the stakeholder).

The semi-colon was always completely wrong and jarring to me (and caused 
difficulties with at least 
one stakeholder) and I for one danced a jig of jubilation on the news of its 
imminent demise.

My $.02.


Ben


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to