Web
Article

Favorite CF Functions/Tags/Etc.

By davidjmedlock

…posted by davidjmedlock:

I thought it would be interesting to hear from other developers what their favorite or most used ColdFusion custom tags, UDF’s, or CFC’s are. I’ll start off:

– This has saved my life a few times when I needed to use XML with CF 5. It’s based on the Microsoft XMLDOM parser, which from my research is not the greatest in the world. But when you just need to do some simple XML parsing, it can really save your life.

DeleteCFCache – This nifty little UDF can be handy to have around. Ever get an error that won’t seem to go away no matter what you try? It may be because CFMX has cached that file. It can be a nightmare to figure out the first time you see it and then when you do figure it out, it becomes a pain to clear the cache. This little UDF can make it much easier to clear out those files and save your sanity.

ImageSize – CFMX required. Grabs the image height and width for you. It’s a very handy tag to have around, especially when doing any image manipulation.

So there are a few of mine. Feel free to post your favorites here.

No Reader comments

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Instant Website Review

Use Woorank to analyze and optimize your website to improve your website to improve your ranking!

Run a review to see how your site can improve across 70+ metrics!

Get the latest in Front-end, once a week, for free.