Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at BFusion / BFLEX 2009 (Bloomington, Indiana) with:

CFLive.net Lets You Run Adobe / Railo ColdFusion Code On-Demand

By Ben Nadel on
Tags: ColdFusion

Yesterday, Adam Cameron brought CFLive.net to my attention. This site, by Russ Michaels, allows you to paste ColdFusion code into a textarea and then execute it in either an Adobe ColdFusion or a Railo ColdFusion context, or both. It's pretty cool! In fact, I just used it to see if the default expression in CFParam tags behaves the same in both Adobe and Railo context:


 
 
 

 
CFLive.net  
 
 
 

As you can see, Adobe ColdFusion and Railo ColdFusion have a very different behavior in this context. Is this because Railo treats unscoped variables in a CFFunction tag differently than Adobe (I have no idea if it does)? Or, is this perhaps some side-effect of the way CFLive.net is actually implementing the code execution? I'm not sure.

I was able to get both engines to behave the same by adding a, "request.", scope prefix to the defaultValue references:


 
 
 

 
CFLive.net  
 
 
 

Anyway, it's a pretty cool service! It's be awesome get a "jsFiddle" style application going here where you could link to your code!



Reader Comments

Aargh this is the most useful thing in the world ever! I've always wanted a site like this. How did I not know about this, I'm sure I've even searched for this before!

Good find Ben (and Adam), thanks

Reply to this Comment

Post A Comment

?
You — Get Out Of My Dreams, Get Into My Comments
Live in the Now
Oops!
Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.