>
> 1) cfscript resembles is based on _javascript_
> 2) so is Flash ActionScript
> 3) both cfml and ActionScript interface _javascript_ contained in html
>
> You would think it would benefit developers using MM products to
> have a common scripting language.
>
> It has always bothered me that cfscript uses cf operators (NE, EQ,
> &, etc) instead of js operators (!=, ==, +, etc).
CFSCRIPT is loosely based on _javascript_. ActionScript follows the ECMAScript
standard, I think, while CFSCRIPT doesn't. CFSCRIPT was introduced into CF
before Macromedia purchased Allaire. ECMAScript languages use loosely typed
variables, while CFSCRIPT (being part of CF) doesn't. I suspect this would
prevent CFSCRIPT from using _javascript_ operators.
As for your third point, I'm not sure what you mean. CFSCRIPT doesn't
interact directly with any client-side functionality.
> you have to stop and think!
Sometimes that's a good thing!
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

