Here is a simplified version of the FuseBox framework written in ColdFusion code. It is especially useful if your headers and footers tend to vary a lot; which the formal framework does not handle gracefully. [-------- FILE: index.cfm ----------] [-------- FILE: fbx_Switch.cfm ----------]
  • Received UNDEFINED fuse-action called "#fusebox.fuseaction#"   Please notify information services.
    Launch Main Page [-------- FILE: fbx_utils.cfm ----------] [------end--------] ------------- Notes: * You may want to put the settings into a "fbx_Settings.cfm" file to stick with Fuse-Box conventions. * A convention to try is to have "inc_x.cfm" files to group commonly-used include files. It creates a kind of set-based grouping in contrast to the hierarchical approach that circuits tend to use. Tree-skeptics may dig it. However, those who feel that all include files should be directly visible in the switch list file may balk. It is a kind of information-hiding-versus-transparency debate. An alternative that may be more palatable to Fuse-box fans is to keep the list(s) in the same Switch file, but as a subroutine (supported in Cold-Fusion version 6 and up). That keeps all the Include files listed in one place. * A wiki bug may mess the line spacing in the above in some browsers. Grab the text from wiki EDIT mode instead. ------------ CategoryLowEnd, CategoryFramework