Whatterz


Fusebox 5 Custom Dump and Abort Verbs

by Simon. Average Reading Time: less than a minute.

I have been developing with Fusebox with ColdFusion for a long time now and recently I moved to version 5 (when I say recently, on closer reflection I started using 5 shortly after it was released in July 2006…wow its been that long!). A common feature that was found to be lacking was the dump and abort features, so useful in debugging applications.

Fortunately for me, a colleague, Iain Turbitt, decided to spend an evening after work developing two custom verbs to implement these two ColdFusion tags within the Fusebox framework. You can grab the two files by clicking on the following link:

Download Fusebox 5 Custom Dump and Abort Verbs

The Dump verb behaviour is similar to the <cfdump> tag: <dump var =”"/> but includes an optional abort attribute e.g.:

<dump var=”" abort =”true|false”/>.

The Abort verb behaves as per the <cfabort> tag, i.e. <abort/>.

This article has been tagged

, , , , ,

Other articles I recommend

Fusebox – Web Application Framework

Application developers face a daunting task: they must translate the often fuzzily-defined requirements for a new application into the rigid language of computers.

Fusebox and Fusedoc Toolsets

Sandra Clark has developed toolsets for both Fusebox 4 and Fusedocs.

Application-Based Paths in ColdFusion

The THIS scope in the Application.cfc contains several built-in variables that allow you to set the properties of the application; the name, session management etc. With the release ColdFusion 8 comes the introduction of application-based pathing in the form of the THIS.mappings and THIS.customTagPaths variables.