But what if I need to run the *exact* same ActionScript code on both client and server? I do not want to write the server side code in any other language or translate already existing AS2 client code to some other language.
A rough description of what I'm after: What I have is a bunch of untrusted AS2 clients with a fancy GUI that collect and process user data. As the clients are untrusted I want them to be able to send their data and results to the server for verification. The server side would only have instances of the "Model" part of the MVC, thus being completely GUI-less. Is this possible some way? /Björn Ronald Villaver wrote: > Heheh right one there Chris. I'm cool with Red5 too coz its written in > java :) I've been watching its growth since it started, I'm biased to > java frameworks coz i'm a java architect, who just happens to love flash > too. But HaXe is promising... just not yet too familiar with OCaml to > give me the ability to extend it at will. While projects like OpenAMF > and Red5 uses the Java language allowing me to extend and implement any > customized gates or what not. For example serving the same Business > Managers through the AMF gateways, and the very same instances in XMLRPC > or SOAP for integration. > > Sorry to promote... :) but if you wanna server dynamic client-side logic > generated from the Server side logic, you can look at a small tiny > project I authored called JXN, allowing you to manipulate local assets > and movies through parsing a script generated by the server, this is not > a swf class embedding but an in-client embedded macro script engine > extending the JSON language. > > Going back, its up to which mother language your are more comfortable > with to host your scripting backend. I'm sure you would need more apis, > connect to different databases and services or even integrate to legacy > systems, you need to be familiar or at least good with the host language > to ensure that you can provide all of your clients needs. > > */Chris Allen <[EMAIL PROTECTED]>/* wrote: > > As Ronald points out, you probably would be really happy with HaXe. > While it's not ActionScript, it's very similar, and does allow you > to use the language for the server-side as well as for building > Flash content. > > Also, Red5 allows you to use Flash remoting and now supports AMF3. > It also will allow you to write the server-side code in JavaScript > (also supports Java, Python, Ruby, etc...), which is a very similar > language to ActionScript. Anyway, I would recommend Red5 over > OpenAMF as it's being currently developed and supports many more > features. Oh and yes, I'm a bit biased, as I'm co-project manager > for Red5 > > -Chris > > On 2/12/07, *Ronald Villaver* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > HaXe would be your direct implementation. If you want it written > in java, actionscript is just ecmascript, so running a rhino > engine in your backend manager from your OpenAMF gateway is the > same thing. For php and python, you can try combining the AMFPHP > or AMFPerl with the Spidermonkey engine also from mozilla. > > > */Björn Ritzl <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> /* wrote: > > Hi, > > What are my options if I want to run a set of ActionScript > classes > server side? The classes I want to run contain only logic, > nothing > visual. I want the be able to create several instances > (quite a few > actually), passing data to them and handling the return data. > > TIA! > > /Björn > > _______________________________________________ > osflash mailing list > [email protected] <mailto:[email protected]> > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > ------------------------------------------------------------------------ > Food fight? > > <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367> > Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > > <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367> > > _______________________________________________ > osflash mailing list > [email protected] <mailto:[email protected]> > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > ------------------------------------------------------------------------ > Need Mail bonding? > Go to the Yahoo! Mail Q&A > <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091> > > for great tips from Yahoo! Answers > <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091> > > users. > > > ------------------------------------------------------------------------ > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
