Kevin Dangoor <[EMAIL PROTECTED]> writes: > So, in a generic CRUD feature, what would you want your URLs to look like: > > 1) http://yoursite/articles/10/edit > 2) http://yoursite/articles/edit/10 > 3) http://yoursite/articles/edit?id=10 > > the advantage to the first one is that it makes view look like this: > http://yoursite/articles/10
I like more the second kind. The advantage is that I can use classes for "articles", "news", etc. and have a consistent "look" throughout the website. The "id" is always the last element. It looks more "natural" to me to have the variant thing in the end (it also makes it easier to navigate through the URL location bar. I "hate" more the third kind. Anyway, some good articles that might help... http://www.w3.org/Provider/Style/URI http://www.adaptivepath.com/publications/essays/archives/000058.php http://www.port80software.com/support/articles/nextgenerationurls Be seeing you, -- Jorge Godoy <[EMAIL PROTECTED]>