Assuming your pages are in a database-driven system, then the custom 404 is 
largely just an extension of ColdFusion serving pages:  which page? dunno, 
lemme check the aliases, ah, there it is ... this page.  Web server rewrite 
is fine, too, but if the code is already running in CF to determine what 
gets served, as it is in any front-side controller framework, then it's not 
much different to have a custom 404 as a simpler version of the controller.


Just my 2c.

----------------------------------------

From: "Jacob Munson" <[email protected]>
Sent: Tuesday, September 21, 2010 2:48 PM
To: "cf-talk" <[email protected]>
Subject: Re: Shorter URLs - How?

>
> Sure it's personal preference I guess but I generally try to use the 
right
> tool for the job. Data processing is best left to databases. URL 
rewriting
> is best left to the server. And ColdFusion server can be left to serve 
out
> ColdFusion pages.
>

I won't disagree.  I just think that there are cases where it makes sense 
to
do URL rewriting in CF.  And especially in this case, where we have a Flex
developer that is learning CF...maybe it's not the best idea for him to go
try to learn yet another technology when he can just use CF?  Also, his 
app
might be on a shared host which would make using web server URL rewriting
difficult if not impossible.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337277
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to