>
> That makes sense. But.... If you place your cflocation in your index.cfm
> case, you can review the overall site navigation at a glance. If you place
> it in other files, the index.cfm is no longers a 'roadmap' for your
> application.....

But is this really correct? By definition of using fusebox I'm already using
index.cfm to parse all fuseactions. There is no additional information about
site navigation that seeing "url_" as part if a <cfcase> statement tells me
other than I exit a given fuse....which is redundant because I already know
that *within the same fuse's CFCASE* by virtue of seeing
<CFSET attributes.xfa.myexit="myfuseaction">  Further I *know* where it's
going next, it's going to index.cfm, because I'm using Fusebox.

Again, my point isn't that the "url_" is useless, just that it is not
contributing anything more than what is already available. In fact, in many
ways if the same argument is used for "url_" as is used for including the
"qry_" as part of the <CFCASE> rather than it being included with its "dsp_"
then it actually subtracts from usefulness since it inhibits expansion.  Do
people use "url_" for anything other than a CFLOCATION at the bottom of an
"act_" ?

Let me give an example and perhaps you can tell me how "url_" would be
written to accomodate it.

You've listed from records from a DB and now have them in a page showing the
first 25 records. For each record, you might (a) delete it (b) edit it via a
JS pop-up window (c) forward this record's details to Hal Helms via email
and (d) see a PDF file filled in with data from this record.  You might also
just want to see the next 25 records, or may want to use this particular
recordset results and further refine the same search (non-CF5.0) via a form
on the same page.  Finally, if the user is on this page for more than 1
minute, automatically push them into the "next 25 records" XFA  I think
that's 6 exit points, using 3-4 different techniques.  All of them can be
"viewed" from the index.cfm just by looking at the CFSETs for the XFA's.

How would the "dsp_" file described above and the <Cfcase> within the
index.cfm be different is someone were a partisan of the "url_" school?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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