ColdFusioning: Pronunciation \kold-fy�-zhn-ing\ Noun: The action of one that writes ColdFusion.

Fusebox Production Mode for Live Websites

If you are using Fusebox, when you put your site into production, make sure you set your site into "production mode". If you go into fusebox.xml.cfm and look for the "mode" parameter, there are three options you can use:

development-full-load
Does a full load (slowest but most useful for developing)

development-circuit-load
Just loads the circuit on each call. I personally don't use this setting, ever.

production
Full production mode. The quickest but requires you reload the application if you make any changes to the XML files.

Make sure your mode is set to production to get the full performance out of your site:

<parameter name="mode" value="production" />




QueryDeleteRows UDF in CFLib

Oddly enough, ColdFusion doesn't have a QueryDeleteRows function. Luckily for us, Ray Camden has come up with a UDF to help us. If you view the UDF in CFLib you can plug that UDF into your code and then just issue a


<cfset x = "1" />
<cfset Query = QueryDeleteRows(Query,x) />

and it will remove your row. You can even list multiple rows (e.g. "1,3,5"). This function is especially helpful with Fusebox because I had pre-existing to create a drop-down menu and I didn't need a row.

Thanks Ray!