Here’s how you provide CFFUNCTION tag attributes when converting it to a script function

Have you needed to convert a CFFUNCTION to a script equivalent function or CFC method, and wondered how you would specify the things which had been attributes to the tag, such as OUTPUT, ROLES, RETURNFORMAT (added in CF8), or RESTPATH (added in CF10), to name just a few? It’s just not obvious. The quick answer is that you specify them AFTER the closing parenthesis which surrounds any arguments to the function. So, for example: public numeric testMethod (numeric arg1) returnFormat=”json” […]

sonarqube / cflint – automated code quality checking tools ?

Hi All, I was just wondering who else out there has experience with sonarqube / cflint or other automated code quality checking tools ? Cheers Gareth.

ColdFusion MailSpoolService Performance

Originally posted at https://www.coldfusionmuse.com/index.cfm/2017/11/27/ColdFusion-MailSpoolService-Performance In my last article about the Adobe ColdFusion MailSpoolService I mentioned that I was going to try to get specifics on expected performance in the Standard Edition vs Enterprise edition of the MailSpoolService. Adobe has not respond to my requests with actual data. While attending the ColdFusion Summit 2017 I tried to get a clear answer from any of the Adobe ColdFusion engineering team members that were at the conference. They didn’t know the answer. Because I […]

How do I install ColdBox with CommandBox on a local ColdFusion service?

I installed ColdBox with CommandBox, but when I try to run it on my localhost ColdFusion server (not in CommandBox), I get various mapping errors. Are there some standard tweaks I can make to get this to work? I will provide more specific errors if you want, but I figure since I’m not doing anything custom yet and just using one of the out-of-the-box templates, I thought I should get some more general advice first. This is a Microsoft Windows […]

Resources for learning more about CF2016

Think you have a good handle on the many things that were new in ColdFusion 2016, or do you think there were only a couple of new features? In this post, I point you to a couple dozen resources which highlight both its major and minor features, as well as its updates since the initial release, and still more resources on the new release. Though CF2016 has been out since Feb 2016, there are many folks who may have only […]

Number To Text Converter

number2TextConverter.cfc This is a component that takes a number as an argument and returns a string representation of that number. It can convert numbers in the range from 1 to 999999999. Clone or download from GitHub // Create an object c = new number2TextConverter(); // Change language c.setLanguage(‘spanish’); // Change the currency c.setCurrency( ‘MX’ ); // Converting just the number result = c.convert( 1999 ); // mil novecientos noventa y nueve // Converting the number and adding the currency at […]

3 ways to test your ColdFusion API – Presented at CF Summit 2017

CF Summit 2017 was a lot of fun, lots of new faces, and good to meet friends, old and new alike. I really enjoyed the ColdBox 2 day training, RESTFul Training Bootcamp. I also enjoyed, Pete Freitag’s Hands On CFML Security Workshop. It was fun, and terrifying at the same time. My session on 3 ways to test your ColdFusion API went well, lots of interest, and lots of discussion after the class. I am sharing my slides in this post, […]

How to install ColdFusion updates manually

Sometimes, CF administrator UI update installation could fail due to permissions, lockdown guide, network restrictions etc. You can follow below instructions to apply updates manually. Navigate to https://www.adobe.com/go/coldfusion-updates (use Google chrome to view xml in the browser) Look for required update under <cfhf_downloadlink> tag. It would be listed as https://cfdownload.adobe.com/pub/adobe/coldfusion/20XX/updates/hotfix-00X-XXXXX.jar Download the hotfix-0XX-XXXXX.jar and place it under ColdFusion20XX/jre/bin Open the command prompt as administrator and navigate to ColdFusion20XX/jre/bin Run the below command:           Java -jar hotfix-0XX-XXXXX.jar […]

Did you know there’s far more to the CF docs than just the CFML Reference?

[Published originally in Nov 2017, revised in Jul 2021] Are you making full use of the ColdFusion documentation? I see many people labor and suffer in their use of ColdFusion (or failing to take full advantage of it) because they tend to use search engines like Google to find information, only to be led often solely to the CFML Reference. That’s not all there is to the CF docs, folks! And you shouldn’t stop there. You wouldn’t try to learn a […]

Did you know there’s a free “express” edition of ColdFusion Builder?

Did you know there’s an available free “Express” edition of ColdFusion Builder? You may already know there’s an available 60-day trial, but I’m not talking about that (which gives you full access to all features of CFBuilder for 60 days). Instead, I’m talking about the Express edition, which is entirely free, even for production use. There’s no separate installer for it. Instead, the way it works is that after that 60-day trial is over, if you don’t add a license […]

ColdFusion MailSpoolService Manual Restart Issue

I’ve seen a few different ColdFusion 11 Standard servers that have been sending duplicate emails. We’ve had several clients at CF Webtools reporting this issue and over time I’ve had to research this to try to determine how this is happening. During my investigations, I’ve been able to see this behavior happen on each of the servers in question. The obvious response that I’ve see from Adobe and others is that code must be creating to emails in error. However, […]

Adobe ColdFusion Summit 2017 presentations

Does anyone know if all of the presentations from CF Summit 2017 will be available in a single location after the conference?