I've been playing around with my own version of XFB, and I'm finally
trying to conform to what seems to be the norm out there so I'm ready
for the next round of craziness.
So I've got a couple style questions for the masters of XFB.
1) I don't understand why some of the stuff that clutters up index.cfm
isn't placed in MyGlobals.cfm (e.g. call to formurl2attributes,
circuits.cfm, cf_nesting, and cfparam of attributes.fuseaction). Is
this just a matter of preference, or is there some important reason
for this?
2) I take it you want to make MyGlobals/Index.cfm include everything it
needs to either stand up as a home application, or as a circuit within
one. So it seems like a lot of routine and initialization code (ie the
elements listed above) are run multiple times for non-home applications.
Why do we do this? Simply for the simplicity of reusing circuit apps?
Or is there a bigger reason? I don't see how this is better than the
old app_globals/app_locals scheme where I could set the global stuff
in app_globals, and the circuit specific stuff in app_locals.
Thanks in advance for some insight.
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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