On Dec 5, 2005, at 2:07 PM, [EMAIL PROTECTED] wrote:
I think Routes provides the maximum flexibility one could ever
need and
it seems that it will be easily integrable with CherryPy 2.2:
http://www.groovie.org/articles/2005/11/21/routes-1-0-released
I like this url (haven't actually *clicked* on it yet) - the format
site/articles/year/month/day/title_of_article is nice and human
readable.
Well, for a lot of purposes the date it was published is kinda
irrelevant and essentially impossible to remember (as a human). Year
is memorable or at least can be reasonably guessed, but not full on
yyyy/mm/dd. A URL like that might as well be an SHA1 hash, because
I'm going to have to use a search engine to find it anyway.
I'd personally tend towards something simpler, and enforce unique
titles... either automatically by adding predicable garbage to the
end, or by validating edits/creates to make sure they have a unique
title.
-bob