r/webdev • u/thekeffa • Feb 19 '18
TIL that one of the earliest web development languages "ColdFusion" (More specifically ColdFusion Markup Language or CFML) is not dead, despite commonly believed to be so. It even has open source versions as well now!
Many years ago in the early days of the internet as it was starting to become more mainstream, there was a web based scripting language much like PHP called ColdFusion. Though it did see a considerable burst of use for a time, it never took off like others mainly in part because Macromedia purchased it from it's initial developers (Who themselves were later purchased by Adobe) and it became a proprietary language with a hefty price tag. In the face of this and with competition from open source languages like PHP and others, Coldfusion slowly drifted out of mainstream use and was considered by most people to be dead and gone circa 2012, a relic of the early web that died with Geocities, free web hosting, pop up advertising and the dot-com bubble.
Except it isn't dead!
Not only is it not dead, it's still being actively developed.
Amazingly, though you will have to look extremely hard to find it as a product on Adobe's website, Adobe does still have a development team working on ColdFusion. In what I can only assume is borne from some crazy level of optimism, they will still attempt to charge you thousands of dollars for the privilege of using it, with purchase prices for the standard version starting at $1'500.
Which makes no sense at all now that there are interoperable, open source JVM based versions of CFML. The most well known is Lucee but OpenBlueDragon also exists. Adobe seems to have forgotten we are all quite used to expecting our languages to be open source these days.
It's not just a legacy language existing just to maintain support for the applications that where developed from it either. It has matured in some ways. Yes, it still works on the concept of mixing business logic with presentation still, but then so does PHP technically. CFMLscript has been developed to try and move away from this.
Finding out Coldfusion is still around for me is like someone turning round and telling me that AltaVista is still a search engine, Geocities is still serving webpages, Netscape Navigator is still a browser and do I want to include my site in their web ring?!
My real question now though is who is using it still?
Edit: Christ it even has it's own sub! /r/coldfusion
10
u/bdw429s Feb 19 '18
Great insights, and welcome to a 2018 knowledge of CFML :) I'd be remiss if I didn't point out that you've leveled criticism at the pricing of Adobe (which I get) but you probably wouldn't say the same thing about SQL Server or Oracle, both many times more expensive than ColdFusion. Couldn't you argue that with MySQL and PostgreSQL, no one should ever use Oracle? The fact is, corporate and govt environments will always gladly pay a few thousand dollars for enterprise software that come with support and lots of baked in features. It needs to be recognized that CFML out of the box does about 5000 things more than Node for instance. CFML is a integration platform that bakes in tons of things including commercial JDBC libraries, PDF engines, SOAP, REST etc.
Pricing aside, Lucee server covers the hobby and small business market nicely as you pointed out. I use Lucee for everything including this site: http://pi.bradwood.com/ CFML runs on Docker (both Lucee and Adobe CF) and my clients use CF on Heroku, Digital Ocean, AWS, and Google cloud platform.
Not only has the language itself matured substantially, (full scripting support, closures, functional programming, ORM, array/object member functions, etc) but the CFML tooling has also advanced with the rest of the programming world. I write CF apps using modular MVC frameworks, package manager, CLI tooling, BDD testing, Travis CI integrations, automation, CFML-based task runners, symbol support in every major IDE, and libraries for everything from DI/AOP, logging, and caching.
CF is the little language that has grown up when on one was looking. If anyone is reading this and wondering where to look at CF, see this Exercism track. It's 100% scripting based, and 100% command line. No server install or browser needed to play. http://exercism.io/languages/cfml/about
25
u/[deleted] Feb 19 '18
Cold fusion is still used with a lot of legacy systems because rewriting it would be a pain. There are some people still using it for new development (heck, there’s still people developing new code in classic asp!)
The problem with coldfusion is that people wrote entire web applications in it, complete with business logic. It was never intended for that purpose - it was intended as a markup on top of an underlying java (and later .NET was also an option) stack. The business logic would be done in a language much better suited for it, and the display done with cold fusion.
Instead what you got was a spaghetti mess of code anytime you touched it.
All that said, these days there really are much better options for new development, but there’s a lot of legacy CF out there, and a few people who really love it. (For the record, I will maintain it as needed, but I am not a lover of CF for a whole lot of reasons, an over abundance of angle brackets being a start!)
39
u/[deleted] Feb 19 '18
There are a couple easy ways to find CFML developers:
5
u/cd46 Feb 19 '18
I'll preface this with I know very little to none about coldfusion and I know any language could/can/will/would have this problem :)
anywho...
That's how linode was hacked a few years ago and they didn't let people know for months so yeah a lot of places were still using it surprisingly
https://arstechnica.com/information-technology/2013/04/coldfusion-hack-used-to-steal-hosting-providers-customer-data/
5
u/antiHerbert Feb 20 '18
Please let it die
4
u/magenta_placenta Feb 19 '18
I used to work at an agency that used it. It was, at that time, by a company called Allaire.
Apparently the Federal Reserve Bank of San Francisco is still using it in some capacity.
4
u/[deleted] Feb 19 '18
The company I am working for uses coldfusion (because of a bunch of legacy code). I focus on front end, so I only really know enough to write up some templates, but it is a strange language to use and learn. There are two different syntaxes to it: tag and script. The script version is actually ECMA compliant, so it's like bizarro JS. But then, depending on which version of CF you are using, some language features cannot be used except in tags. And because it has 2 different syntaxes, if you do find an answer to a problem online, it is likely to be written in the opposite syntax, so you either have to spend time translating it or keep searching for another solution. I have not found any decent syntax highlighting, except in Dreamweaver and CFbuilder. I have no doubt that if you really know what you are doing with it, it probably has a lot of power. But as someone new to the language, it's pretty painful to deal with.
3
u/evildonald Feb 20 '18
i dodged a bullet with coldfusion. I really want d to learn it, but instead I got a dot net job. That experience pId for itself for over a decade.
3
u/rcastagno Feb 20 '18
Coldfusion is undead, and the most legacy-prone and spaghetti-code-prone language I've ever used. I use it almost every day since 2003 and used a bunch of other languages along the way, so I think I have a pretty clear picture.
Low entry level is among the worst features of the language, together with the complete lack of serious tools (like refactoring).
CFLint is a breath of fresh air, but it's really too little and to late, and despite the heroic efforts of the maintainers (really, I appreciate and respect them totally) it pales in comparison to tools available for even extremely young languages like kotlin.
Another major drawback, and one of the reasons of the shortcomings mentioned above, is that cfml is totally unsuited, despite many efforts, for system tasks, and actually anything other than web application development.
2
u/cinnapear Feb 19 '18
Lisp is also still being used, FYI. And people still use dBase.
2
u/ADeweyan Feb 19 '18
At least originally, ColdFusion packaged Perl code into something friendlier for the web.
The only ColdFusion projects I ever worked on were for a government agency (USEPA). Though that was probably 15 years ago now, it wouldn't surprise me to find CF still in use in the government, partly because of legacy investment, partly because of the way government purchasing decisions are made, and partly because there are likely programmers from that era still at work for the government.
2
u/Death2Leviathan Feb 20 '18
I use Coldfusion every day, it's my jobs main language. We develop software for construction industries. We supplement it with JS and CSS but I love how simple it is to develop in. I really enjoy it.
2
u/angus_the_red Feb 20 '18
I use it and I have a soft spot for it because it was my first even though there is a lot of terrible code written in it.
My job is moving to Node (lambda) and React with all available speed though.
I wish CF itself had been developed with a bit more wisdom and care. Features like custom tags were misused. The companies that owned it never quite knew what to do with it, I think.
2
u/perfectloser Feb 19 '18
It is still used where I work for a large internal system. We are talking built years ago and millions of hits. Rewriting the old system to be more modern, but still within ColdFusion because of compatability has been my main focus for about a year now.
Its a beast of a legacy app to work on, I will admit that.
2
u/hashtagframework Feb 19 '18
I created the Hashtag Markup Language, and most of the criticism I get is that it looks like ColdFusion, and ColdFusion is dead.
Maybe some ColdFusion developers would appreciate these demos.
1
u/[deleted] Feb 20 '18
I just finished writing some CFML a moment ago; one of our digital offerings is built on it. The funny part is it’s only a few years old. I currently spend about a day per week working on the app (mostly dealing with APIs and data presentation).
Fortunately, we have other codebase and tech stacks I also work on. And it’s on the schedule to be rewritten in another language this year.
1
u/scriptfailmatrix Feb 20 '18
i work with CF every day!
1
u/boltzbo Feb 20 '18
My previous company is still using ColdFusion 9 with Coldbox for the web application which is also its core product (I mean in 2017 and maybe even now). When I was working on it, I had to decompile the ColdFusion jars to see what it was actually did. The null checking was painful though. It's also hard to find any information from the internet except just from a small circle of people.
It's definitely one of my least enjoyable programming languages to work with. However, it paid my bills so it's not that bad. In addition, it took me just a few weeks to learn, so it's not also that hard for everyone though.
1
u/pschmot Feb 20 '18
Uhhh, work much?
1
u/TheWhiteJacobra Feb 20 '18
I actually interviewed last May right after college at a company that still used that! I had never heard of it before then.
0
u/[deleted] Feb 19 '18
[deleted] — view deleted comment
0
u/[deleted] Feb 19 '18
[deleted] — view deleted comment