My Top 50 ColdFusion CFTags

The other day, I was trying to think of ten (10) ColdFusion tags I couldn't live without. When I sat down to write out a few, I couldn't stop writing! Eventually, I "narrowed" the list down to fifty (50) tags. Obviously, there are many, many more that I use and would be much less productive without, but I had to draw the line somewhere. Also, in order to qualify for the list, the tags had to be actual "CF" tags. In other words, they needed to begin with "<CF" otherwise, it would be nearly impossible for me to narrow it down.

If anything, this was an exercise in recognizing how easy ColdFusion makes creating dynamic, rich internet applications. Simply use any of the tags below with very few attributes, and viola! It's as if ColdFusion is an "Easy-Bake Oven" and the tags themselves are merely the recipes!

So without further adieu ...

My Top 50 ColdFusion CFTags:

  1. CFAjaxImport
  2. CFAjaxProxy
  3. CFArgument
  4. CFCatch
  5. CFChart
  6. CFComponent
  7. CFContent
  8. CFDBInfo
  9. CFDirectory
  10. CFDocument
  11. CFDump
  12. CFFeed
  13. CFFile
  14. CFForm
  15. CFFtp
  16. CFFunction
  17. CFGraph
  18. CFGrid
  19. CFHeader
  20. CFHtmlHead
  21. CFHttp
  22. CFIf
  23. CFImage
  24. CFIndex
  25. CFInvoke
  26. CFInvokeArgument
  27. CFLocation
  28. CFLock
  29. CFLoop
  30. CFMail
  31. CFObject
  32. CFOutput
  33. CFParam
  34. CFPresentation
  35. CFQuery
  36. CFQueryParam
  37. CFReport
  38. CFReturn
  39. CFScript
  40. CFSearch
  41. CFSet
  42. CFSetting
  43. CFSilent
  44. CFSwitch
  45. CFThread
  46. CFTree
  47. CFTry
  48. CFWindow
  49. CFXml
  50. CFZip

Would your list be similar?

Comments

Don't leave out: cfsavecontent
# Posted By Troy Pullis | 2/24/09 2:55 PM
@Troy,
Ooops! Good one.
# Posted By Stephen Withington | 2/24/09 3:25 PM
CFGRAPH?

That was a sh*t tag even back before it was binned in favour of CFCHART. But you like CFCHART without wanting to add a CFCHARTSERIES or any CFCHARTDATA. Hmmm.

Interesting you have CFFORM but... err... not CFINPUT. In fact only seems like CFGRID and CFTREE made the cut for tags that might go on a CFFORM..?

No CFABORT or CFMODULE? CFFLUSH? No **CFINCLUDE**?

CFSTOREDPROC and CFTRANSACTION would make my list before any of the UI-specific fluff you have in there, too.

What do you fancy about CFSWITCH that you don't fancy about CFCASE? What do you actually use the CFSWITCH for? ;-)

"Interesting" list, that's for sure. Way way WAY different from one I might concoct.

--
Adam
# Posted By Adam Cameron | 2/24/09 3:51 PM
But to answer your question, mine would be this (also in order):

cfset
cfoutput
cfloop
cfif
cfelse
cfswitch
cfcase
cfdefaultcase
cfelseif
cfscript
cfquery
cfqueryparam
cfinclude
cfimport
cfmodule
cffunction
cfargument
cfreturn
cfcomponent
cfproperty
cfparam
cfabort
cflocation
cflock
cffile
cfdirectory
cfbreak
cftry
cfcatch
cfthrow
cfrethrow
cfdump
cfflush
cfcontent
cfheader
cfsavecontent
cftransaction
cfstoredproc
cfprocparam
cfprocresult
cfsilent
cfhttp
cfhttpparam
cfsetting
cfprocessingdirective
cfthread
cfzip
cfzipparam
cfftp
cfmail

Didn't quite make the cut:
cfmailpart
cfmailparam
cflog
cfwddx
cfassociate

--
Adam
# Posted By Adam Cameron | 2/24/09 4:09 PM
@Adam,

You're too funny man! Trust me, this was _not_ an easy task for me. You're absolutely correct though ... there are several tags I totally left on the cutting room floor, but not because I don't love them! Maybe I should've made it a top 100 list, eh? : )
# Posted By Stephen Withington | 2/24/09 4:26 PM
@Adam,

Oh, and by the way ... CFGraph made the cut _only_ because I've still got some old sites out there (on some old CF servers) using it.
# Posted By Stephen Withington | 2/24/09 4:29 PM

© 2026, Stephen J. Withington, Jr.  |  Hosted by Hostek.com

Creative Commons License   |   This work is licensed under a Creative Commons Attribution 3.0 Unported License.