Sean Corfield wrote:
I'd be interested to hear a commercial business argument in favor of getting Macromedia to spend lots of time and effort on bringing CFSCRIPT up to ECMAScript compliance as opposed to spending that time and effort on adding new functionality to ColdFusion. That's a serious question...
Rather than a heavily beefed up cfscript (can't see how much you could do to it without breaking backward compatibility) I'd like to see an AS 2.0/cfc equivalent of .asr files (which I know were a dismal flop, I think because of their rather neutered access to the API, it made cfexpress look fully featured) because as an Actionscripter there is no application server environment (I don't count FCS because it has no direct access to system or db resources, although I think that was suggested briefly in Chris Hock's MAX sneak) to run Actionscript in.
One of the advantages of Java clients is that code is portable between the client and the server - validators, value objects and other stuff. An architect at an enterprise client we're working with had exactly this objection to Flex/Flash vs a Swing client. If I could create an instance of my validator as an AS class and use it on the client and the server (my Flash class path would be the same as my ColdFusion mapping) that would halve RIA development time. I've even toyed with the idea of hooking into Java's Rhino library from CF and parsing actionscript code. Just expose all of cf's tags and functions as static methods of a built-in CF object and you'd be in business (ok, I know it would be a lot harder).
It would be even cooler to be able to dynamically compile one of these classes as a swf and download it - but I think the Flex team would have something to say about that :-)
Robin http://www.rocketboots.com.au
--- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
