In my opinion, breaking this functionality out makes the redirection
modular, reusable.  There may be several times where you will need to
redirect through different points of entry.  Thus, if you move the physical
location that the redirector points to, you only have to change the
redirector, not all the places where you redirect.  That was a mouthful.

-----Original Message-----
From: Brian Shearer [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 9:24 PM
To: Fusebox
Subject: Why use url_files?


Is there any technical reason to use redirection files?

The book only suggests that
        <cfinclude template="url_ThisFile.cfm">
is easier to read in the index.cfm file than
        <cflocation url="index.cfm?fuseaction=ThisFile">

Is this merely an aesthetic issue? I can see using a url_file if it contains
logic but otherwise it seems like overkill.

If you study the index files in the fusebox.org site you will find that both
methods are used.

Is there something I am missing?

Brian
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to