Implementing XFAs

Essentially, the process of implementing XFAs involves two steps: changing hard-coded exit points to use XFA variables, and setting the values for the variables in the Fusebox file.

The next few sections will cover specific examples of XFA syntax compared with hard-coding. Then we’ll take a quick look back at the overall technique.

Coding Techniques

These examples are illustrations of each type of exit point we discovered in the last section. Each example compares hard-coded syntax with the same job done using an XFA. Note that when an XFA is employed, its name is indicative of its related event. The reason for this becomes apparent when we look at the code used in the Fusebox file (fbx_switch.cfm) to call the fuseaction. ...

Get Fusebox: Developing ColdFusion® Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.