Coldfusion's version of server-side ActionScript is basically JavaScript
1.5. It does not provide support for many of Coldfusion's tags such as
CFLDAP, CFFTP etc. More importantly, it uses string interpolation to
form SQL queries. Since you can't prepare a statement and pass
parameters to it like you can by using cfqueryparam it is both terribly
inefficient and vulnerable to sql injection attacks. It also does not
support calling stored procedures. In short it should not be used. It is
a shame that it was so half baked. There were a lot of indications when
it was first released that Macromedia intended to make it a full partner
with CFML in later releases. I guess, and its just a guess, that the
Flex/Web services revolution at MM meant it never happened. It's too bad
though. CFScript is so unlike AS and different enough from other
scripting languages that it is frustrating to use if you only need it
occaisionally. A full featured scripting language like JS or AS 2/3
would be very convenient.
Yours truly,
-Brian
Chris Velevitch wrote:
I'm currently using coldfusion to code my server side. The whole
server end is strictly being used as the middleware for my database
access. As a result there's not much code there and the majority of my
coding is AS2 on the client.
When I do need to code on the server, I trip myself up by forgetting
to fully "switch" from AS2 to Coldfusion and I find myself writing AS2
in my expressions and loops and then I wonder why CF is complaining.
When happens, I find myself wishing I could code all my server side
code in Actionscript. Then I remembered recalling vague references to
Server-Side Actionscript.
That's great, but I don't recall seeing any discussions about SS AS.
Who's using SS AS and is SS AS AS2? Can you write CFC's as AS2
classes? What issues have you had with SS AS?
Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
______________________________________________________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3 Fax: (416) 979-5220
Office: AB48D E-mail: [EMAIL PROTECTED]
(Enter through LB66) Web: http://www.ryerson.ca/~blesser
______________________________________________________________________
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders