It could give all of those dead or dying languages new life:

<cfscript language="Apple Basic">

But seriously, the ability to add multiple language interpreters would be a
'killer app'.


-----Original Message-----
From: Brad Wood [mailto:[EMAIL PROTECTED]
Sent: Monday, June 04, 2007 10:16 AM
To: CF-Talk
Subject: RE: OT: Run PHP (or Ruby) code inline on a Coldfusion page


So in CF9 should be expect <cfscript> tag to have a language argument
and we just specify what language we'll be pasting in?  That would be
cool...

~Brad

-----Original Message-----
From: Sean Corfield [mailto:[EMAIL PROTECTED]
Sent: Monday, June 04, 2007 10:12 AM
To: CF-Talk
Subject: Re: OT: Run PHP (or Ruby) code inline on a Coldfusion page

On 6/4/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
> Someone else then built upon THAT and wrote a Coldfusion
> library which references the Quertus library and allows you to combine
PHP
> and Coldfusion code on the same page, pass variables back and forth to
each
> other and more.

Here's the official project page:

http://scripting.riaforge.org/

I have Ruby running inside CF8 as well as PHP now.

> I don't know what the speed is (probably not as fast as the native
zend
> interpreter, but still...PHP code mixed in with CF code is pretty kick
ass.

I'm working on leveraging the javax.script.* CompiledScript machinery
which should allow for script caching and one-time compilation which
should make it much faster than the current Alpha version of
scripting.

> I read that someone else has done the same thing for Ruby.

Same someone. Me.

I'll be adding the capability to run Python, Groovy and Haskell
"soon". Maybe awk, Scheme and Tcl later, maybe others. Essentially all
of the languages that are listed on Sun's Scripting project page.

This all relies on the javax.script.* package introduced in Java 6
(which CF8 uses).
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280011
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to