60 likes | 147 Views
New Features of Fusebox 4.1. John Quarto-vonTivadar The Fusebox Corporation. New Features . Fusebox 4.1 contains several powerful new features Many come from developer comments over past 18 months Plus a few surprise additions. The “Biggies”. Content variables with <include>
E N D
New Features of Fusebox 4.1 John Quarto-vonTivadar The Fusebox Corporation
New Features • Fusebox 4.1 contains several powerful new features • Many come from developer comments over past 18 months • Plus a few surprise additions
The “Biggies” • Content variables with <include> • “One-stop” core files • Assertions • “fusebox.init.cfm”, a global fuse • Runs after Loader and after FormUrl2Attributes but before the fuseaction is set • <instantiate> for creating instance of CFCs or Java classes • <invoke> for invoking methods on an instance of Class or on • Core file error templates
The “Smallies” • In index.cfm , the local var FUSEBOX_APPLICATION_PATH • Needed due to “one-stop” core files • <do> in <globalfuseactions> has been deprecated in favor of <fuseaction> • New fusebox parameter “ignoreBadGrammar” adopted • New <classes/> section of fusebox.xml • Used by <instantiate> and <invoke> • New app.fb.rootDirectory deprecated in favor of app.fb.approotdirectory. Likewise, app.fb.webrootdirectory added • New dir for error templates (named, “errortemplates”) off the approot
Les Petites, part deux • Zero-length fuseaction is now treated as undefined • In fusebox.xml circuit definitions, the attributes “path” and “parent” now default to empty string • Faster core file execution in Development mode • Core file version now reflected in its file name • New fusebox parameters “useAssertionsInDevelopment” and “useAssertionsInProduction” adopted
The Future… • Teaser for FB4.2: • User Defined Lexicon of Verbs • <include template=“doThis”/> • <jcq:include file=“doThat”/> • <jcq:jump/> • <jcq:vote frequency=“often” who=“ABB” />