alanwilliamson

CFJS - Server side Javascript available for playing

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.

Solutions such as Jaxer are pretty neat, but relies on too much of a language shift to actually get anything useful from it. To do anything of real meat, you have to scramble down their Javascript API, which while extensive, is not standard. Why reinvent the wheel, when you have such a wonderful library of CFML functions that have been around in some cases for over 10 years?

But OpenBD.JavaScript brings more than just a library of functions. There is the whole underlying CFML platform that comes along free-of-charge without the Javascript having to worry about session management, application management, database pooling, caching, web services and templating to name some of the highlights.

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.

The journey has just started and we have a way to go yet, but at the moment, the initial alpha release packs a lot of punch into what seems just another tag added to CFML. Please let me know your feedback on the OpenBD mailing list and together we can make this into a killer platform that appeals to Javascript developers.

Download
From the main OpenBlueDragon website

Overview
http://wiki.openbluedragon.org/wiki/index.php/CFJS

Update

I have since added support for calling out to CFC's from within Javascript blocks. Also check out the Wiki article referenced above to see how easy and quick it is to embed Java code within the CFJS tag.


 

Recent Cloud posts

Recent JAVA posts

Latest CFML posts


 
Site Links