Comparing Fusebox Circuits XML vs CFC

I recently came across a blog posting comparing Fusebox traditional xml circuits to that of the new Fusebox 5.5 CFC based circuits. I have not worked with CFC Fusebox, and thought this was a good look at the similarities and differences.

circuit.xml.cfm (Fusebox 4 - 5.5)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE circuit>
<circuit access="public">
<fuseaction name="List" access="public">
<if condition="#StructKeyExists(attributes, 'user_id')#">
<true>
<set name="attributes.reminder_user_id" value="#attributes.user_id#" />
</true>
</if>
<include circuit="mReminders" template="actGetReminders" />
<include circuit="vReminders" template="dspListReminders" contentvariable="content.main" />
</fuseaction>
<prefuseaction>
<xfa name="Calendar" value="Calendar.Month" />
</prefuseaction>
</circuit>

CFC as a circuit with Fusebox 5.5

<cfcomponent output="false">
<cffunction name="List">
<cfargument name="myFusebox" />
<cfargument name="event" />
<cfif event.ValueExists('user_id')>
<cfset event.setValue("reminder_user_id", event.GetValue('user_id')) />
</cfif>
<cfset myFusebox.do(action="mReminders.actGetReminders")/>
<cfset myFusebox.do(action="vReminders.dspListReminders", contentvariable="content.main")/>
</cffunction>
<cffunction name="prefuseaction">
<cfargument name="myFusebox" />
<cfargument name="event" />
<cfset event.xfa("Calendar", "Calendar.Month") />
</cffunction>
</cfcomponent>

Additional Information

External Links