S.Isaac Dealey wrote:

>>  1. (a) http://example.com/archives/2005/4/25/
>>     (b)
>>     http://example.com/archives.cfm?yr=2005&mth=4&dy=25
>>     (c)
>>http://example.com/index.cfm?fuseaction=blog.archives&yr=2
>>005&mth=4&dy=25
> 
> You know, there's nothing keeping me from using
> http://example.com/archives/?2005/4/25
> http://example.com/archives.cfm?2005/4/25
> 
> You can get the data from the variable #cgi.query_string# although
> according to the article, these would not pass as SES url's merely
> because they include a question-mark in the url.

Yup, I I agree completely. And with a tiny bit of hacking with
CGI.PATH_INFO and CGI.SCRIPT_NAME, you could do:

     http://example.com/archives.cfm/2005/4/25

>>  2. (a) http://example.com/entries/name-of-an-entry/
>>         http://example.com/entries/348/
>>     (b) http://example.com/entries.cfm?name=name-of-entry
>>         http://example.com/entries.cfm?id=348
>>     (c)
>>http://example.com/index.cfm?fuseaction=blog.entry&name=na
>>me-of-entry
>>         http://example.com/index.cfm?fuseaction=blog.entr
>>         y&id=348
> 
>>And so on. I think you'll agree that the (a)s are a bit
>>easier on the user.
> 
> a bit

And as a bonus, if you're doing URL remapping, you can, if need be,
rearchitect the app without breaking the URLs. And there's fewer
useless warts on it too. :-)

K.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204414
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to