Questions tagged [cfml]

CFML is a dynamic general-purpose programming language, especially suited for web and intranet development. There are compatible but independent implementations by Adobe ColdFusion, Lucee, Railo and Open BlueDragon - each with a common CFML core but different advantages/focuses.

CFML (Cold Fusion Markup Language) is a dynamic general-purpose programming language, especially suited for web and intranet development. There are compatible but independent implementations by Adobe ColdFusion, Lucee, Railo and Open BlueDragon - each with a common CFML core but different advantages/focuses.

Most CFML implementations run using a Java servlet engine. ColdFusion versions 6-9 ship with JRun, but from CF10 onwards uses a customised version of Tomcat. Lucee, Open BlueDragon and Railo run on Jetty/Resin/Tomcat, though they can all use any J2EE app server. There is also a BlueDragon.NET which runs on Microsoft's .NET platform instead of Java.

The and tags have been aliased to this tag.

For all questions, remember to indicate which CFML engine version(s) you are running on (such as , , , or ), and any CFML frameworks you might be using.


Free ColdFusion Programming Resources


CFML Frameworks

There are currently two well maintained / active MVC frameworks for CFML, both are convention over configuration based. They are:

All 3 frameworks run on ColdFusion 10+ and Lucee 4.5+.

FW/1 has support for clojure integration, this requires Lucee 4.5. Clojure integration is optional and not required to run CFML code.

Deciding which one to use will depend on your needs and/or coding style.

854 questions
11
votes
4 answers

ColdFusion adding extra quotes when constructing database queries in strings

I am coding in ColdFusion, but trying to stay in cfscript, so I have a function that allows me to pass in a query to run it with #query# Somehow though, when I construct my queries with sql = "SELECT * FROM a WHERE…
Alex
11
votes
4 answers

Is ColdFusion on Linux/Apache stable?

I'm working on a site that still has a lot of scripts in ColdFusion. I need to move it to a new server. I much prefer Apache/Linux instead of IIS/Windows. I've seen some info here and there about running ColdFusion on Apache/Linux. Is that a stable…
Cyrcle
  • 1,363
  • 3
  • 13
  • 25
11
votes
1 answer

Extending ColdFusion with application wide UDFs

I've been exploring different methods of structuring my ColdFusion applications and I'm looking for some opinions on the best way to provide application wide UDFs. For each of my apps, I generally use a bunch of extra functions that don't really…
Gary Stanton
  • 1,435
  • 12
  • 28
10
votes
2 answers

Is using cfsqltype good practice?

When coding a cfqueryparam or cfprocparam, cfsqltype is optional. However, I've usually seen it coded. Are there any benefits to specifying cfsqltype?
froadie
  • 79,995
  • 75
  • 166
  • 235
10
votes
1 answer

Lucee randomly generates new sessions when using JQuery’s load() method

I have a web page that you log into which then creates a session variable that’s checked on all subsequent page accesses and if it doesn’t exist or doesn’t match whats recorded against the session ID you get kicked out of the page. Code…
haddow64
  • 676
  • 1
  • 7
  • 24
10
votes
4 answers

What Notable Differences are there between Railo, Open Bluedragon, and Adobe Coldfusion?

An attempt to capture notable differences between implementations: Adobe ColdFusion Railo Open Bluedragon (I'm aware of Smith, but don't believe it's still active). Include CFML and platform differences - syntax, feature, and extensibility.…
orangepips
  • 9,891
  • 6
  • 33
  • 57
9
votes
2 answers

PDF Table with slanted header

I'm creating PDFs in ColdFusion using cfdocument. I need to make a table with the header row slanted so it all fits on the page. Here's an example of what I'm trying to accomplish. None of the HTML or CSS examples I have found so far have worked.…
9
votes
3 answers

Which web frameworks are available for CFML?

Which active CFML based frameworks are available for ColdFusion / Lucee? Please note: This is a community wiki Q&A as it is a question that comes up quite a lot.
John Whish
  • 3,016
  • 17
  • 21
9
votes
19 answers

Source Code Control Systems in Web Development

We are just beginning the process of looking for a source code control system. I realize we are behind, but better late than never. None of the members on our team have experience with any systems in their past so I was hoping I could find out some…
Jason
  • 17,276
  • 23
  • 73
  • 114
9
votes
3 answers

Convert coldfusion json to struct

I have a JSON variable output from a jQuery application as…
eduski
  • 179
  • 1
  • 1
  • 14
9
votes
4 answers

How would you go about executing a database query based on the value from a form select element?

I am using ColdFusion as my application server and SQL Server for the database. I have a select form element which lists a number of vehicles: Volvo S60, BMW M6, VW Jetta. Based on what vehicle the user selects, I need my webpage to perform a…
volume one
  • 6,800
  • 13
  • 67
  • 146
8
votes
2 answers

How do I generate an OpenOffice Draw document?

I want to create a flowchart in OpenOffice Draw. Since there's a lot of steps to show (and may change in future) but I can extract the data, I want to automate the creation with the following steps: Create a new ODG document with specified page…
Peter Boughton
  • 110,170
  • 32
  • 120
  • 176
8
votes
6 answers

How can I do a "deep compare" or "diff" on two Structs?

(This is a coldfusion question) I've got two different Structs that may or may not contain the same data, and I want to be able to see if they do! My Structs will always contain simple values (Numbers, Strings or Booleans) because they are being…
Jordan Sitkin
  • 2,303
  • 3
  • 26
  • 35
8
votes
3 answers

Service Temporarily Unavailable error on IIS 8.5 and ColdFusion 10

In the midday the IIS server was just running fine, when I restarted it shows me this error Service Temporary Unavailable! The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again…
Donnyschr
  • 111
  • 1
  • 3
8
votes
1 answer

How does one convert from a Java resultset to ColdFusion query in Railo?

The following works fine in CFMX 7 and CF8, and I'd assume CF9 as well: