[ACFUG Discuss] Server-side Actionscript
Hey, Has anyone used Server-side Actionscript? Is it just another way for Flash/Flex to talk to CF? I was hoping it would allow communication the other way, where I could have a CFM or CFC call an Actionscript function. I have a third-party SWF (AnyChart) that has a function to export any chart it creates as PNG (or JPEG) but I wanted to do it on the backend, not force the user to do it in the browser. -- Howard Fore, howard.f...@hofo.com A novice asked the master, 'What is the true meaning of programming?' The master replied: 'Eat when you are hungry, sleep when you are fatigued, program when the moment is right.' - Geoffrey Jameshttp://www.softwarequotes.com/showquotes.aspx?id=687name=James,Geoffrey- From The Zen of Programming.
Re: [ACFUG Discuss] Server-side Actionscript
The idea was to be able to program in AS ON the server... it would be comparable to writing CF code that worked in AIR / Flex: ie: cfif blah is 'foo' (written in a flex app) On Thu, Sep 1, 2011 at 2:32 PM, Douglas Knudsen douglasknud...@gmail.comwrote: I smelled silliness then and still smell it now :) AS was not really designed for server-side jobs, reminds me of the hammer and nail analogy. Howard, sure, you could run a AIR app on the server, but how to communicate with it? local connection? certainly doable, but seems a heck of a lot of work IMO. Oh, and it is not going to be thread safe and all that jazz and has no way to push to clients. Need some ADEP and $$ for that. Douglas Knudsen http://www.cubicleman.com this is my signature, like it? On Thu, Sep 1, 2011 at 2:08 PM, Steve Ross nowhid...@gmail.com wrote: from the docs for CF8: Server-side ActionScript lets your ActionScript engineers use their knowledge of ActionScript to write code for the back end of their Flash applications, which can mean more meaningful levels of interactivity for your users. Your Flash applications can share a library of server-side ActionScript functions, which means you can define functions that are specifically tailored to your own business. You could, for example, create a server-side ActionScript file that defines a whole library of SQL query methods. With these query methods defined on the server side, your Flash designers only have to invoke the specific query function they want to return data to their Flash movies. They do not have to write any SQL, and they do not have to create a new query every time they need to retrieve data from a ColdFusion data source. It is a way of creating reusable queries that your entire Flash design team can use. On Thu, Sep 1, 2011 at 1:46 PM, Howard Fore howard.f...@hofo.com wrote: Can Air apps run server-side? -- Howard Fore, howard.f...@hofo.com A novice asked the master, 'What is the true meaning of programming?' The master replied: 'Eat when you are hungry, sleep when you are fatigued, program when the moment is right.' - Geoffrey Jameshttp://www.softwarequotes.com/showquotes.aspx?id=687name=James,Geoffrey- From The Zen of Programming. On Thu, Sep 1, 2011 at 1:19 PM, John Mason ma...@fusionlink.com wrote: Not yet from Adobe. There is server-side ECMAscript with Node.js. Since actionscript and ecmascript are so closely related, it might be worth looking that route. You could also do an air app with a socket server to have cf call it that way. John ma...@fusionlink.com On 9/1/11 1:14 PM, Howard Fore wrote: Hey, Has anyone used Server-side Actionscript? Is it just another way for Flash/Flex to talk to CF? I was hoping it would allow communication the other way, where I could have a CFM or CFC call an Actionscript function. I have a third-party SWF (AnyChart) that has a function to export any chart it creates as PNG (or JPEG) but I wanted to do it on the backend, not force the user to do it in the browser. -- Howard Fore, howard.f...@hofo.com A novice asked the master, 'What is the true meaning of programming?' The master replied: 'Eat when you are hungry, sleep when you are fatigued, program when the moment is right.' - Geoffrey Jameshttp://www.softwarequotes.com/showquotes.aspx?id=687name=James,Geoffrey- From The Zen of Programming. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - -- Steve Ross web application interface developer http://blog.stevensross.com [mobile] (912) 344-8113 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ] -- Steve Ross web application interface developer http://blog.stevensross.com [mobile] (912) 344-8113 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
Re: [ACFUG Discuss] Server-side Actionscript
Yeah well, it's going to be work no matter which route I take :-) I guess that's job security right? -- Howard Fore, howard.f...@hofo.com A novice asked the master, 'What is the true meaning of programming?' The master replied: 'Eat when you are hungry, sleep when you are fatigued, program when the moment is right.' - Geoffrey Jameshttp://www.softwarequotes.com/showquotes.aspx?id=687name=James,Geoffrey- From The Zen of Programming. On Thu, Sep 1, 2011 at 2:32 PM, Douglas Knudsen douglasknud...@gmail.comwrote: I smelled silliness then and still smell it now :) AS was not really designed for server-side jobs, reminds me of the hammer and nail analogy. Howard, sure, you could run a AIR app on the server, but how to communicate with it? local connection? certainly doable, but seems a heck of a lot of work IMO. Oh, and it is not going to be thread safe and all that jazz and has no way to push to clients. Need some ADEP and $$ for that. Douglas Knudsen http://www.cubicleman.com this is my signature, like it? On Thu, Sep 1, 2011 at 2:08 PM, Steve Ross nowhid...@gmail.com wrote: from the docs for CF8: Server-side ActionScript lets your ActionScript engineers use their knowledge of ActionScript to write code for the back end of their Flash applications, which can mean more meaningful levels of interactivity for your users. Your Flash applications can share a library of server-side ActionScript functions, which means you can define functions that are specifically tailored to your own business. You could, for example, create a server-side ActionScript file that defines a whole library of SQL query methods. With these query methods defined on the server side, your Flash designers only have to invoke the specific query function they want to return data to their Flash movies. They do not have to write any SQL, and they do not have to create a new query every time they need to retrieve data from a ColdFusion data source. It is a way of creating reusable queries that your entire Flash design team can use. On Thu, Sep 1, 2011 at 1:46 PM, Howard Fore howard.f...@hofo.com wrote: Can Air apps run server-side? -- Howard Fore, howard.f...@hofo.com A novice asked the master, 'What is the true meaning of programming?' The master replied: 'Eat when you are hungry, sleep when you are fatigued, program when the moment is right.' - Geoffrey Jameshttp://www.softwarequotes.com/showquotes.aspx?id=687name=James,Geoffrey- From The Zen of Programming. On Thu, Sep 1, 2011 at 1:19 PM, John Mason ma...@fusionlink.com wrote: Not yet from Adobe. There is server-side ECMAscript with Node.js. Since actionscript and ecmascript are so closely related, it might be worth looking that route. You could also do an air app with a socket server to have cf call it that way. John ma...@fusionlink.com On 9/1/11 1:14 PM, Howard Fore wrote: Hey, Has anyone used Server-side Actionscript? Is it just another way for Flash/Flex to talk to CF? I was hoping it would allow communication the other way, where I could have a CFM or CFC call an Actionscript function. I have a third-party SWF (AnyChart) that has a function to export any chart it creates as PNG (or JPEG) but I wanted to do it on the backend, not force the user to do it in the browser. -- Howard Fore, howard.f...@hofo.com A novice asked the master, 'What is the true meaning of programming?' The master replied: 'Eat when you are hungry, sleep when you are fatigued, program when the moment is right.' - Geoffrey Jameshttp://www.softwarequotes.com/showquotes.aspx?id=687name=James,Geoffrey- From The Zen of Programming. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - -- Steve Ross web application interface developer http://blog.stevensross.com [mobile] (912) 344-8113 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]