Skip to main content
Ben Nadel at the jQuery Conference 2011 (Cambridge, MA) with: Andrew Maurer
Ben Nadel at the jQuery Conference 2011 (Cambridge, MA) with: Andrew Maurer

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

By
Published in Comments (4)

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

15 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

27 Comments

FYI I am indeed working on a new version which is based on JSfiddle, it currently has collaboration features as well so people can work together on the code and will allow linking to code and using gists.
Sadly my spare time is very limited, so it is taking me forever to get it finished.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel