I didn’t do very well (at all) following through with my 2010 new year’s resolutions — and I have no shortage of excuses why. Rather than lament over the past 12 months about things that didn’t get done, and/or why they didn’t get done, I’m just going to forge ahead and pen my resolutions for [...]
Tag Archives: Coldfusion
Closing Slashes and Cold Fusion Tags
May 26, 2010
A couple of developers and I have been discussing the practice of adding a closing slash to single line Cold Fusion tags. IE:
<cfset variables.sexyLady = "Olivia Munn">
<!— Vs. —>
<cfset variables.sexyLady = "Olivia Munn" />
Some are of the camp that the closing slash is an extra key stroke and a waste of time. Others, like myself, [...]
A Little More Hate For Coldfusion [IsDate() Method]
November 2, 2009
Coldfusion’s IsDate() method has fooled me for the last time. Where as any self respecting programmer would think that a method name IsDate, that returns a value of ‘yes’ or ‘no’ no less, would be checking to ensure that the date in fact is valid. That is where I was wrong. Looking at the method [...]
ColdFusion, PreserveSingleQuotes(), And Array Values
October 20, 2009
I think I may have stumbled upon some odd, unexpected and (definitely) undesired behavior with ColdFusion. The application that I’m working on has a module which needs to create a bit of dynamic SQL. Not a problem here, as I step through my conditions I’m populating an array that I can later loop through to [...]
Clearing Up A Little Confusion Regarding StructKeyExists() Vs. IsDefined() While Parsing XML [ColdFusion]
October 3, 2009
This is something really simple that I consistently overlook. When considering StructKeyExists() or IsDefined(), StructKeyExists() normally always wins. It’s scope parameter instructs ColdFusion where to look for a particular variable, where as IsDefined() forces Cold Fusion to search through all the scopes. The performance impact is obvious.
A possible exception to this rule, and where [...]








December 31, 2010
2 Comments