Another reason why you guyz should switch to GWT :) Java all the way to the backend :)
2013/12/2 Mr. Rich <mrrich....@gmail.com> > Here's a solution. Because Adobe didn't release this for AS3, I built it > into FTML a few years back! > > 1. RSL support - FMTL will load any swf as an RSL and allow you call any > method or construct any class using your swf file. > 2. MXML web compiler - FTML will allow you compile mxml code directly on > the HTML page - and it works as you would expect, similar to Flash Builder > where you only need to define the namespace of the class. > > Most of what I just said can be found here: > http://reshapemedia.com/ftml/learn/runtime-libraries/ > > 3. Web based AS3 - FTML has multiple scripting support where you can (1) > write code in javascript and pass data between js and flash, (2) write pure > AS3 code (like Java so flash.display.DisplayOjbect not DisplayObject) > 4. All flash code is IN THE BROWSER, NO COMPILING - only refresh and go! > > 5. PHP and flash - FTML is a markup so you can use it just like HTML with > PHP no extra config required: > http://reshapemedia.com/ftml/learn/php-to-flash/ > > 6. Javascript and flash - fastest integration possible: > http://reshapemedia.com/ftml/learn/javascript-to-flash/ > > Remember FTML is free - so try it with your swf and see for your self. > Support is there for 4.6, 4.11 support will come in 2013. > > Any questions or comments - mrr...@reshapemedia.com (fastest way to get in > touch). > > > On Mon, Dec 2, 2013 at 10:21 AM, David Coleman < > david_coleman_...@hotmail.com> wrote: > > > For what it's worth, I've often shared the opinion that AS3 would be an > > ideal server language. Strongly structured, native events which in my > > opinion is a world better than java. In my mind the language itself is > > mature, and elegant and the only thing missing is a strong set of > database > > access libs to work as a web service. > > > > as far as how you would implement it as a platform, I always pictured > that > > the ideal situation would be a worker based solution, using workers for > db > > access and a mxml approach for html files, similar to how php can script > a > > page, with the mxml components implemented similar to how CakePHP > > implements an "element". we can use a flag like <?mx ..... ?> > > > > ie: > > > > index.mhtm: > > <html> > > <?mx > > this.addHere( > > HeadElementFactory.getHeadFor(this) > > ); > > ?> > > ... > > </html> > > > > sure this is a fast ugly incomplete example, but what i have defined more > > clear in my head is how we would do the server > > > > inside an mhtm file we can directly call a server component like: > > > > (Server.getService(FacebookService) as > > IFacebookService).getFriends(onFriendsResult); > > > > we would then be able to pass the data to an mhtm element and using > > jQuery-ish selectors inject the data into the dom of the parent page, or > > better yet invent some kind of "anchor" class that we can use in the > result > > handler to build html directly on the server, inserting content at a > given > > tagged point of the dom. and build out the dom prior to serving the page > to > > the browser. > > > > In terms of mapping a REST (for instance) call, > > > > Server.mapService('{locale}/{controller}/{method}/[named]/{argv}') > > > > again, much, much definition is lacking... but i've given this great > > thought over the years. > > > > I have long thought that AS3 as a language has a UNIQUE advantage over > > other server languages. The SWF encapsulation is a tricky technical > > challenge, and the creation of a stable and robust web service framework > > would obviously be a big task. > > > > but I just thought that maybe, just maybe, it's worth just throwing this > > out there for anyone who might have similar ideas to build on! > > > > So anyway, hope you all like my fantasy server idea... maybe i'm full of > > it... maybe i'm actually on to something. but I've always had this idea > > kicking around and it seems i'm not the only one! > > > > Best Regards! > > Dave > > > > > > > Subject: Re: AS3 on the server > > > From: harbs.li...@gmail.com > > > Date: Mon, 2 Dec 2013 15:49:26 +0200 > > > To: dev@flex.apache.org > > > > > > Of course, the links on that blog post seem to indicate that it was > > supposed to have been rolled into Coldfusion. > > > > > > So I assume that's a non-starter… > > > > > > On Dec 2, 2013, at 3:43 PM, Harbs wrote: > > > > > > > It was MAX 2008: > > > > > > > http://www.jonnymac.com/blog/2008/11/18/max-2008-sneak-peek-actionscript-3-as-a-server-side-language/ > > > > > > > > On Dec 2, 2013, at 3:29 PM, jude wrote: > > > > > > > >> I'm glad to see there are others out there but from what I remember > > it was > > > >> an Adobe project. I think it was mentioned at an Adobe Max or 360 > Flex > > > >> conference. The point was that node js is gaining popularity and > it's > > using > > > >> JS. I thought if there was something on on the server in AS3 then > > maybe > > > >> node.js could use that. > > > >> > > > >> > > > >> On Sun, Dec 1, 2013 at 6:55 AM, Petr Svoboda <wor...@gmail.com> > > wrote: > > > >> > > > >>> or maybe this: > > > >>> https://code.google.com/p/redtamarin/wiki/RunningShellScripts > > > >>> > > > >>> > > > >>> On Sat, Nov 30, 2013 at 11:06 PM, jude <flexcapaci...@gmail.com> > > wrote: > > > >>> > > > >>>> At one time there was talk about AS3 on the server. With node.js > > you can > > > >>>> use JS on the server. What happened to that project? Is it > > something can > > > >>> be > > > >>>> donated to Apache? > > > >>>> > > > >>> > > > > > > > > > > > > > > > -- > Mr. Rich > > Reshape Media: http://www.reshapemedia.com >