I’ve had a C9 account for some time, but only poked at it so let’s assume for now I barely know what I’m talking about I had a person ask me today about getting better CFML support for Cloud9 which has led me here to see what would need to happen for that to get put in place.
CFML is a dynamic, loosely typed JVM language and the easiest engine to set up would be Lucee Server which is FOSS. ColdFusion (CFML) is listed as a supported language, though the support is pretty poor ( http://www.codersrevolution.com/blog/proper-cfml-support-for-the-cloud9-editor ). What I’d like to see however is the ability to:
- Choose a CFML template for a new project with the server already installed and ready to go.
- Have CLI tooling (CommandBox) available. This is an npm clone, a REPL, grunt-style generators, and an embedded server all rolled in one
- Be able to run CF code by starting up a server in the web root
Since CF engines run in any J2EE servlet container, there’s a few million ways you could install them. The most common (provided by the official installers) is on Tomcat, though CommandBox has a nice embedded server that spins up quickly with a “server start” command on Undertow.
Here’s an overview of the CLI tools:
And here’s an overview of scaffolding out an MVC app in CFML:
So where would we start? What would need to happen to get CFML the same kind of goodness that PHP or ROR have right now? Heck, it would even be cool to have templates for ColdBox MVC or ContentBox CMS, but let’s stay simple and just see about getting CFML better support for now. Thanks in advance for the feedback!