I 100% agree, this is a far better approach than the index.cfm/key/value
approach.





"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Judah McAuley
To: CF-Talk
Sent: Sun Jan 21 00:57:59 2007
Subject: Re: Apache config

Robertson-Ravo, Neil (RX) wrote:
> Well, your URL is simple a rewrite of index.cfm?foo=foo, it is not a
> permanent location for this document in that if I bookmark this page and
you
> delete foo, I will be 100% guaranteed to get it again. This is simple a
> facade onto the normal query string approach.   The fact you still have
> index.cfm in the URL points to a hack.

Ah, I think that there was a misunderstanding then. I was discussing 
rewriting, which would remove the index.cfm altogether. I advocated a 
url of the form:
http://www.doughughes.net/articles/coldfusion/search-engine-friendly-urls-wi
th-coldfusion/

where articles, coldfusion and 
search-engine-friendly-urls-with-coldfusion map to variables that you 
then use to serve up the content in question. The point being, the 
content could be a file that you move around on the filesystem or it 
could be in a cms or migrated from one to another while still keeping 
the same URI. I too do not like having index.cfm in the middle of a url. 
  It is still true that if I delete the content (or website for that 
matter) then your bookmark will fail. But that is only true in the most 
trivial sense, like saying that falling down won't hurt if you turn off 
gravity.

And I would not consider using a rewrite scheme to be a hack at all. The 
spec for URI's do not require that items in the url map directly to 
folders/files. It is rather a scheme for organizing information and 
providing an addressing mechanism. And if we can keep URI's permanent 
and human readable, then we've accomplished what URI's were intended for.

Judah





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267074
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to