PDA

View Full Version : mimicing ColdFusion script functions


kentyler
04-26-2003, 06:31 AM
After going through and checking to see what parts of core javascript were working in laszlo I decided to add functions that mimic those available in ColdFusion scripting. ColdFusion tends to take a procedural rather than an object oriented approach. Some of the new functions duplicate functionality already in javascript, but let someone with ColdFusion experience use the syntax they're familiar with ( like ArrayAppend(), which just does an Array.push() ) but some add functionality that is not in javascript ( like ArrayAvg() ).

Any interested party feel free to add functions that you feel might be useful. I figure that looking at the ColdFusion functions is a good place to start, since they represent a lot of experience in what is useful building applications on the web.

http://www.seedwiki.com/page.cfm?doc=javascriptcode&wikiid=1944&wpid=