JavaScript inside ColdFusion – CFJS
As promised, I have packaged up the new javascript plugin for use with OpenBD and you can now download and start playing.
I am personally very excited about this step forward. I always believed that CFML is the best web scripting language out there on the market and when people see how easy it is to do certain things, they are hooked. Coupled with the fact CFML has broken free of it available-only-as-a-commercial-product ties there is a whole new wave of people checking the power out.
So mixing Javascript in as a first-class language to this platform creates a very powerful tool to which non-CFML developers can now crank out dynamic websites without needing to learn a single line of CFML.
By wrapping a single page in CFJS tags, you will be able to write a whole website in Javascript alone, without dropping to a single line of CFML code. I am presently debating whether or not to have a new extension, *.cfjs, that lets you code the whole page in pure-raw Javascript without any CFML tag wrapper at all.
This looks like a cool project. I’m always interested to see how multiple languages are playing together, such as
- I’ve heard of someone working on a CFML plugin for Grails
- Barney B has put together a CF system to allow for embedded PHP, jRuby and others
- Grails has a PHP plugin
- ironRuby and ironPython bring dynamic languages to the .NET world
I’m sure there’s dozens of others – these were just top of mind.
Interested in JavaScript but don’t want to give up your ColdFusion system? Take a look at CFJS.










