Phil,

I would suggest that you include all your qry_ files within the fuseaction.
One of the main reasons that I like FuseBox is that the code is
'transparent' and easier to interpret.  Ideally, someone without any prior
knowledge of a particular site should be able to sit down and immediately
figure out how the site works.  If you 'hide' cfincludes inside a
cfincluded file, you're increasing the effort needed to interpret the code.

If you're concerned about the number of includes in your fuseaction, maybe
you can bundle the 5 queries you aren't re-using into one include file.
I'd be very careful about this, because you could make more work for
yourself in the future if you decide to reuse one of the queries [you'd
have to pull the query code out of the qry_ file and then be _sure_ to
cfinclude the new, separate qry_ file everywhere you reference the old
'bundled' qry_ file].  If you're confident that these queries are linked
tightly enough to one another that you'll never need to separate them, toss
'em all into one file.

Regards,
Kevin

--------------------------
Kevin Marshall
Certified ColdFusion Developer
eCalton.com, Inc.
Vero Beach, FL
www.ecalton.com
[EMAIL PROTECTED]
561.569.4500


                                                                                       
                              
                    Phillip Duba                                                       
                              
                    <phillip.a.duba        To:     Fusebox <[EMAIL PROTECTED]> 
                              
                    @lmco.com>             cc:                                         
                              
                                           Subject:     Query file question            
                              
                    12/04/00 10:44                                                     
                              
                    AM                                                                 
                              
                    Please respond                                                     
                              
                    to fusebox                                                         
                              
                                                                                       
                              
                                                                                       
                              



This is a question about the use of the "qry_" files. I am building a
scoring/statistical tracking system for a hockey league for a project
for school. I have a series of 6 queries that I use to build a game's
results. Each one of these queries can also be used in other instances
(such as building forms). My question is would it be appropriate to have
one qry_ file call inside of this fuseaction (GameData) with a number of
<cfinclude>s for each of the other query files or should I just do six
separate <cfincludes> within the fuseaction? Is it appropriate to
include qry_ files inside of a qry_ file or is this just a matter of
personal preference? Thanks for your input,

Phil

--
Phil Duba
Software Developer
IDE Applications
Lockheed Martin NE&SS - Surface Systems
(856) 787-3657
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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