Five Reasons to Learn CF in 2019
I am happy to present Five Reasons to Learn CF in 2019. I’m trying to be honest here, but you may find some bias because I love Coldfusion. There, I confessed. Read on!
Five Reasons To Learn CFML
- It’s SO EASY to write!!
- Super powerful - ldap, database, imap, pop, ftp and caching support built-in
- Great security - from ESAPI support to security dudes like Pete Frietag.
- Great job market, can command “unicorn” salaries
- Community is very tight-knit, lots of help from package maintainers
Coldfusion is So Easy To Write
If you take only one sentence away from this article, let it be this: You can build applications faster (and with fewer defects) in Coldfusion than any other language. You simply won’t find an easier language to program in. (And please don’t reply “Python” because I will shoot right back: “Whitespace!”) Coldfusion has been designed around the Rapid Application Development methodology, and should fit in well with any team looking for rapid, iterative development. (Agile, anyone?)
But lest any think I bluff, here’s why I think CF is so easy to write:
Why is Coldfusion So Easy to Write?
- CF has two familiar syntaxes - tag and script - both of which should be easy for frontend devs to pick up. These days most modern CFML trends towards the script syntax.
- No baloney whitespace requirements. Sorry, Python - that makes your code look beautiful, but definitely harder for new devs to pick up.
- Built-in features, as opposed to poorly-documented, inconsistently designed third-party libraries. I’m not trying to down third-party libraries and frameworks, but I posit that you should absolutely not need to install a library to perform basic language features (such as file manipulation, email, HTTP calls, etc.)
Coldfusion is Super Powerful
CF is so stinkin’ useful and feature-packed that after eight years programming in CFML I still come across functionality I never knew existed. There is an abundance of wow-it-can-do-that?-type functionality baked in by default, and you can conceivably build startups or small web apps that focus on any of these:
- build CRUD apps
- deliver email newsletters
- import spreadsheets to the database
- write a blog engine
- send web forms to a fillable PDF
I’m going to follow with an excerpt from my Why CF? blog post, as just one example of functionality which is so easy in CF and so difficult in other languages:
I built a website for a painter several years ago using PHP and Bolt CMS. One additional request the client had was to embed a watermark into every image served on the website. Try as I might, I could not get this done within the client’s minimal budget - PHP’s image processing functionality is somewhat minimal without addon extensions such as
In CF, there is a single function which allows this:
imagePaste(). Take a watermark image and paste it onto a second image, in the upper left corner. Write the image to a file. Done.
Coldfusion is Super Secure
Why is CF super secure?
- Built-in XSS sanitization library via OWASP ESAPI
- Built-in security functions for authentication, hashing and encryption
- A security-conscious community and industry
Coldfusion is highly secure from XSS vulnerabilities because of the built-in OWASP ESAPI library. The ESAPI library provides fantastic XSS-safe canonicalization functions such as
encodeForHTMLAttribute() or simply
A second reason for the great security of CFML is the plethora of built-in authentication functions. You can salt and hash a password in
SHA-512 algorithm with 10,000 iterations with a single function call, encrypt user’s email addresses, or build powerful role-based authentication with
Finally, remember that many CF applications are in the government, health or banking industries. This fact alone both proves CF’s security prowess and pushes CFML security efforts forward. This is the reason we have smart dudes like Pete Frietag and Charlie Arehart specializing in Coldfusion security products. You can follow lockdown guides from Pete, Charlie or the Adobe team, purchase a CF-specific firewall, or use Fixinator.app to perform security scans in a CI build to limit the number of security defects released to production.
Coldfusion’s Great Job Market
Let’s face it: If you can program well in Coldfusion, you are a unicorn in a fairy tale. There are a lot of CF jobs with few developers to go around. Thus, a good Coldfusion developer enjoys good prospects and a high salary. (Seriously.) I was told recently on Twitter that with correct positioning, I could command a “unicorn salary” in Coldfusion consulting. A quick job search on Monster and Indeed finds multiple good-looking opportunities at a local medical university, among many others. And CF’s JVM nature means it is easy to work your way into a similar JVM language, or Java, if you really felt the urge to leave the ecosystem.
The CFML community is, quite frankly, awesome, and it all stems from the CFML Slack Group. Got a syntax question? Ask Slack. Struggling with getting started with the Coldbox framework? Ask Slack. Often questions concerning ORM usage are answered by none other than John Wish, author of THE book on Coldfusion ORM. I myself recently asked a question concerning the CommandBox CLI tool, and not only received an answer from Brad Wood, but he also updated CommandBox within 48 hours to prevent further such issues in the future. Pretty good customer service for an open-source project.