Side Bar |
---|
Seattle ColdFusion User Groups |
State of the Union 2015 CF Survey |
8/15/17User Group Meeting |
---|
Thank you so much for taking the time out to meet at our inaugural Seattle ColdFusion User Group meeting. As promised, here is the link to the slide deck for our meeting: http://bit.ly/2uo0CHI.
|
4/7/15CFC's / Custom Tags / User Defined Functions |
---|
|
ColdFusion Component (CFC's) |
|
Custom Tags |
|
User Defined Functions |
If what you need to do involves output to the screen, and if it makes sense to "wrap" this around some other code or text, then a custom tag might be in order. In all other cases a UDF works fine and generally better. That being said, in close to 8 years of CF development, I really haven't ever came across a very good reason for a custom tag. I'm not saying the reasons don't exist, but I would say that they are rare. |
7/1/13cfScript Dump |
---|
Inside the script: Outside the script: |
3/22/10File Extension Code |
---|
<cfset variables.myfile = "TA_H264_768kbit_Widescreen.mov" /> <cfswitch expression="#LCase(ListLast(variables.myfile, "."))#"> <cfheader name="Content-disposition" value="attachment;filename=#variables.myfile#" /> |