Hi Erik,

I am starting to put event-handler definitions (ie XFAs) in myGlobals.  I am 
doing this only because of the OOAO (OnceAndOnlyOnce) principle.  If we 
define the same XFA in each and every FuseAction that needs it, then we are 
heading for trouble.

Nevertheless, there are some problems with this method:
* Needless initialization of variables that may not be needed (especially in 
XFB);
* Reduced information in the central FuseBox.

In order to address these issues I am considering using a separate 
myXFAs.cfm, which is only called immediately before THIS circuit's CFSWITCH, 
ie only when THIS circuit is the target circuit.

LeeBB.


>From: "Erik Voldengen" <[EMAIL PROTECTED]>
>Date: Mon, 07 May 2001 10:40:58 -0700
>
>Does anyone put commonly used XFA definitions in MyGlobals.cfm?
>Seems like it's a good idea.  If it's not, please clue me in.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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