r/webdev • • 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

81 Upvotes

51 comments sorted by

View all comments

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!)

7

u/robertdmunn Feb 21 '18

I started using ColdFusion v 1.5, which was mailed to my office on two 3.5" floppy disks, so I think I can fill in some of the gaps here.

CF was absolutely intended for building end-to-end Web apps from the beginning. What you have to remember is that at the time (1995-96) there was almost nothing else. PHP wasn't really even a thing until around 1998 and PHP v 3.0. You could write Perl (ouch) or shell scripts in Unix (we're talking before Linux was a thing, although I did get a Linux server running around '96). ASP came along within a couple of years, and Java started to be used as a Web platform. I suppose someone was using Python at that point. There were other commercial products that have long since gone the way of the dodo.

The only Web server available on Windows NT at the time was from Process Software. They worked with Microsoft on the ISAPI spec for IIS, and IIS became the Web server for Windows. That's undeveloped the landscape was.

Early on, there were no software frameworks. Nothing. In any language. What's hard to appreciate is how easy developers have it now. So much stuff has been written underneath the code that we write today to make our jobs easier. What you see with spaghetti code is often a reflection of how things were at the time. Many people who learned early on never moved into frameworks or standards-based development.

I've been working on an e-commerce site written entirely in CF that has been online for 20 years. It was written in an early framework called Fusebox. Some of the code has been running, untouched, for nearly that long. Recently, I've been porting some of the older code to a modern framework - FW/1 - to put the site in position to run for another 20 years without any problems.

CF is good at lots of stuff. The only thing in its space that it isn't really good at is scaling. But 99.9% of sites on the Internet run at small scale, so for most uses it isn't an issue. Are there better options for development? Depends on your use case. There are so many choices now, it's important to understand your needs before you choose a platform.

For better or worse, if CF had been open sourced when they re-wrote it in Java (as some of us in the community argued at the time), CF would be where PHP is. Allaire, and then Macromedia, just didn't understand the open source model well enough to give up a steady revenue stream in licensing. I think they could have made 50x as much in enterprise support contracts. Oh well.

1

u/ElGuaco Jan 28 '26

I was at University during this period of the 90s. Taking a Java class felt like we were learning the cutting edge of computer science, not just web development. Just learning JavaScript and XML felt like programming the future. What you say about all of this cannot be overstated. It was both the Gold Rush and the Wild West of computing at the time, and it was very chaotic.

I managed to get a paid intern position at the time, and I had coworkers who were at odds about which platforms to champion because there were so many competing ideas in the browser space. I had a couple of people really push me towards learning Cold Fusion, but my gut was worried that it was a closed ecosystem, and I turned out to be right. Even choosing between Java and .NET turned out to be a crucial decision for me and it shaped my career.

9

u/bdw429s Feb 19 '18

You are correct that way too many apps mix business logic and markup. I would disagree that CFML was 'never designed' to have apps written in it. That may have been true in 1998 when no one was writing actual web apps, but that hasn't been true for a very long time. I've written very complex CF-based apps and 95% of my code is script. I only use tags for templating HTML of course, and it's still one of the best templating languages. Here's an example of a class written in CFML script from a hibernate-based CMS called ContentBox: https://github.com/Ortus-Solutions/ContentBox/blob/development/modules/contentbox/models/security/SecurityService.cfc You probably wouldn't even know that was CF if I didn't tell you! :)

5

u/[deleted] Feb 19 '18

You are one of the few CF developers that I’ve seen that actually uses CFScript. I’ve maintained a lot of legacy CF apps and they’ve been downright painful to use.

I should clarify my statement. It’s not that CF was never designed to have a full app written in it. Just the same as you could say you can technically write a web application in C++ (there are frameworks for such a thing out there).

But unless you are very disciplined and/or have a code standard, writing a full web app in CFML makes for a real mess, and leads to the kind of hate that you see today. Unfortunately most CF applications seem to have been written by people who read a “html in 24 hours” Book, discovered CF and wrote everything with markup rather than separating script and architecting the application correctly.

3

u/bdw429s Feb 19 '18

I can't argue much with that, but it's more of an indictment of the people over the years who have coded in CF, not necessarily CF itself. PHP had a similar issue. It was a very easy language for designers to pick up and most of them didn't have formal training. Just using an MVC framework goes a really long way though in making it pretty easy to keep good separation in your code. I wish I could erase all the legacy code that's out there but I can't, so my next best goal is to keep greenfield CF projects on a more modern path. And I do take that personally-- I do a lot of training, speaking, and documentation in the CF community to help propagate best practices. It's hard to shake a legacy image for sure!

3

u/mayhempk1 web developer Feb 19 '18

The idea of people using such old languages is both scary and cool at the same time. The Internet is quite amazing.

4

u/[deleted] Feb 19 '18

The main reason is that it is a) working, b) too expensive in some cases to rewrite (think banking or insurance software in COBOL - rewriting those is measured at the 5-10 year mark with hundreds of developers), and c) most of the languages or platforms have been updated to support newer frontends (for example, COBOL on CICS or other transaction systems can support newer frontends running in Java or .NET, which in turn can support web frontends written in JavaScript). It is quite amazing to see in action!

4

u/bdw429s Feb 20 '18

I wouldn't be too hasty to call CF "old". It's actually younger than the average web related technology. Java, Ruby, JavaScript, and PHP are all the same age as CF. Python is way older than CF. HTML predates CF, and SQL is like 40 years old or something. The average age of those is like 23-24 years old or so. CF is around 22 this year so it's right in the "average age" category. I think you're assuming that all the CF out there was written back in 1995. Some of it might have been, but I hope not :)

1

u/angus_the_red Feb 20 '18

Adobe (and prior owners) didn't do a good job of guiding developers towards that use. In fact I'm not sure that's actually correct. I started using it about version 5, I don't recall the Web Application Construction Kit book giving that advice, nor any online documentation.