Re: AS3 on the server

2013-12-16 Thread Frank Wienberg
Hi Chris,

a few month ago, I tried out Nashorn to achieve a fast pure-Java RequireJS
build process. RequireJS' optimizer r.js is written in JavaScript and
runs in Node.js and Rhino. Unfortunately, in Rhino, it is about ten times
slower than in Node.js. So when I heard that Nashorn is to be much faster
than Rhino, I had quite high expectations towards Nashorn and tweaked r.js
to be Nashorn-compatible. Sorry to say that the result was quite
disappointing: it was about three times faster than Rhino, but this is
still about three times slower than Node.js / V8 (which is not the latest
and fastest JS engine either). Maybe it was because of the pre-release
version, which as far as I heard still missed many of the performance
optimizations? I should try again with a current version...

-Frank-


On Tue, Dec 10, 2013 at 9:30 AM, Christofer Dutz
christofer.d...@c-ware.dewrote:

 In this case you should have a look at the Nashorn Project. It's a
 JavaScript engine running natively inside the Java VM and hereby on the
 Server:

 https://blogs.oracle.com/thejavatutorials/entry/javaone_2013_nashorn_javascript_on

 Chris

 
 Von: Frank Wienberg fr...@jangaroo.net
 Gesendet: Dienstag, 10. Dezember 2013 09:00
 An: dev@flex.apache.org
 Betreff: Re: AS3 on the server

 What about compiling AS3 to JS using FalconJx and running the result in
 Node.js?
 All you'd need are some ActionScript stub APIs of the corresponding
 Node.js modules...


 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?
 



Re: AS3 on the server

2013-12-10 Thread Frank Wienberg
What about compiling AS3 to JS using FalconJx and running the result in
Node.js?
All you'd need are some ActionScript stub APIs of the corresponding
Node.js modules...


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?



AW: AS3 on the server

2013-12-10 Thread Christofer Dutz
In this case you should have a look at the Nashorn Project. It's a JavaScript 
engine running natively inside the Java VM and hereby on the Server:
https://blogs.oracle.com/thejavatutorials/entry/javaone_2013_nashorn_javascript_on

Chris


Von: Frank Wienberg fr...@jangaroo.net
Gesendet: Dienstag, 10. Dezember 2013 09:00
An: dev@flex.apache.org
Betreff: Re: AS3 on the server

What about compiling AS3 to JS using FalconJx and running the result in
Node.js?
All you'd need are some ActionScript stub APIs of the corresponding
Node.js modules...


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?



Re: AS3 on the server

2013-12-09 Thread Carlos Velasco
 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
   
  
 



Re: AS3 on the server

2013-12-02 Thread jude
 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?
 



Re: AS3 on the server

2013-12-02 Thread Harbs
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?
 
 



Re: AS3 on the server

2013-12-02 Thread Harbs
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?
 
 
 



RE: AS3 on the server

2013-12-02 Thread David Coleman
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?
  
  
  
 
  

Re: AS3 on the server

2013-12-02 Thread Mr. Rich
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

Re: AS3 on the server

2013-12-02 Thread Alain Ekambi
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

Re: AS3 on the server

2013-12-02 Thread Carlos Velasco
Talking on GWT, I've recently ported Uriana to suit with GWT projects and
we're currently testing it at several enterprise projects. The code is at
Uriana's SVN site.


2013/12/2 Alain Ekambi jazzmatad...@gmail.com

 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

Re: AS3 on the server

2013-12-02 Thread Alain Ekambi
@Carlos
That sounds cool.
Any link ?


2013/12/2 Carlos Velasco carlos.velasco.bla...@gmail.com

 Talking on GWT, I've recently ported Uriana to suit with GWT projects and
 we're currently testing it at several enterprise projects. The code is at
 Uriana's SVN site.


 2013/12/2 Alain Ekambi jazzmatad...@gmail.com

  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

Re: AS3 on the server

2013-12-02 Thread Nicholas Kwiatkowski
Adobe did have a few alphas of ColdFusion 9 that existed with an AS3
compiler.  It was pretty much a bastardization of Flex Data Services / Flex
compiler that had some mappings to server side components to do server
things... Essentially, you stuck some as3 files on the server and they ran
like a CFM/CFC.  I thought it was a wicked feature, but it got ripped out
pretty quick because most of the people on the betas were complaining about
causing a split in the community and not knowing AS3

I don't think it is something they are in a position to donate... it was
pretty raw back then and I'm sure it is no better since its development was
stopped.

-Nick


On Sat, Nov 30, 2013 at 5: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?



Re: AS3 on the server

2013-12-02 Thread Alex Harui
Hmm.  It is documented [1]
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea7785946117
2e0811cbec22c24-79aa.html

That makes me think it shipped, but I haven't tried it.

-Alex

On 12/2/13 11:54 AM, Nicholas Kwiatkowski nicho...@spoon.as wrote:

Adobe did have a few alphas of ColdFusion 9 that existed with an AS3
compiler.  It was pretty much a bastardization of Flex Data Services /
Flex
compiler that had some mappings to server side components to do server
things... Essentially, you stuck some as3 files on the server and they ran
like a CFM/CFC.  I thought it was a wicked feature, but it got ripped out
pretty quick because most of the people on the betas were complaining
about
causing a split in the community and not knowing AS3

I don't think it is something they are in a position to donate... it was
pretty raw back then and I'm sure it is no better since its development
was
stopped.

-Nick


On Sat, Nov 30, 2013 at 5: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?




Re: AS3 on the server

2013-12-02 Thread Nicholas Kwiatkowski
Oh, man.

They introduced the FRG (Flash Remoting Gateway) in I think CF MX 6.1.  It
worked within ACF 7, but only when you had FDS/BlazeDS installed... and
then it was only AS2, and supported only like 3 CF tags.  It broke in CF8
(the connectors were never updated to work properly), and didn't even ship
with CF9 (you could download CF7 or CF8 and move the JARs around yourself
and rebuild the connectors from scratch).  It's the same runtime that was
included in FCS/AMS (but ran through the enterprise router, so it was
limited to 1 thread per license).  I'm surprised they kept it in the docs.

The AS3 support they included pretty much exposed all the CFSCRIPT
components as AS3 objects.  It was a new runtime that was on track to make
CF fully support more than one language... Or at least that was how it was
introduced...

-Nick


On Mon, Dec 2, 2013 at 3:09 PM, Alex Harui aha...@adobe.com wrote:

 Hmm.  It is documented [1]
 http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea7785946117
 2e0811cbec22c24-79aa.html

 That makes me think it shipped, but I haven't tried it.

 -Alex

 On 12/2/13 11:54 AM, Nicholas Kwiatkowski nicho...@spoon.as wrote:

 Adobe did have a few alphas of ColdFusion 9 that existed with an AS3
 compiler.  It was pretty much a bastardization of Flex Data Services /
 Flex
 compiler that had some mappings to server side components to do server
 things... Essentially, you stuck some as3 files on the server and they ran
 like a CFM/CFC.  I thought it was a wicked feature, but it got ripped out
 pretty quick because most of the people on the betas were complaining
 about
 causing a split in the community and not knowing AS3
 
 I don't think it is something they are in a position to donate... it was
 pretty raw back then and I'm sure it is no better since its development
 was
 stopped.
 
 -Nick
 
 
 On Sat, Nov 30, 2013 at 5: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?
 




Re: AS3 on the server

2013-12-02 Thread Paul Hastings

On 12/3/2013 2:54 AM, Nicholas Kwiatkowski wrote:

like a CFM/CFC.  I thought it was a wicked feature, but it got ripped out
pretty quick because most of the people on the betas were complaining about
causing a split in the community and not knowing AS3


i don't remember folks complaining about it much. i also don't recall the cf 
team ever saying why they dumped it.


i'm always in favor of it, if for nothing else but to stop me from ripping out 
any more of my hair over where arrays start cf vs AS3 ;-)





Re: AS3 on the server

2013-12-02 Thread Paul Hastings

On 12/3/2013 3:09 AM, Alex Harui wrote:

Hmm.  It is documented [1]
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea7785946117
2e0811cbec22c24-79aa.html

That makes me think it shipped, but I haven't tried it.


not sure that's the same thing. if i recall that's been in cf for quite a while 
but i don't ever recall using it.


i think the closest thing were the flash forms that got built on-the-fly using 
a flex 1.0 (??) compiler server side  were key word restricted to protect the 
full flex product.


some of us went a little overboard with it anyway ;-)



Re: AS3 on the server

2013-12-02 Thread Paul Hastings

On 12/3/2013 4:11 AM, Nicholas Kwiatkowski wrote:

The AS3 support they included pretty much exposed all the CFSCRIPT
components as AS3 objects.  It was a new runtime that was on track to make
CF fully support more than one language... Or at least that was how it was
introduced...


yeah that's what i remember too.



Re: AS3 on the server

2013-12-02 Thread aYo ~
Yes I do remember the cold fusion flash forms. Strange it's so long ago
almost another life

aYo
mrbinitie.blogspot.com
On 3 Dec 2013 01:33, Paul Hastings paul.hasti...@gmail.com wrote:

 On 12/3/2013 3:09 AM, Alex Harui wrote:

 Hmm.  It is documented [1]
 http://help.adobe.com/en_US/ColdFusion/9.0/Developing/
 WSc3ff6d0ea7785946117
 2e0811cbec22c24-79aa.html

 That makes me think it shipped, but I haven't tried it.


 not sure that's the same thing. if i recall that's been in cf for quite a
 while but i don't ever recall using it.

 i think the closest thing were the flash forms that got built on-the-fly
 using a flex 1.0 (??) compiler server side  were key word restricted to
 protect the full flex product.

 some of us went a little overboard with it anyway ;-)




Re: AS3 on the server

2013-12-01 Thread Petr Svoboda
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?



AS3 on the server

2013-11-30 Thread jude
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?


Re: AS3 on the server

2013-11-30 Thread Alex Harui


On 11/30/13 2:06 PM, flexcapaci...@gmail.com 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?
Don't know.  I think there are a couple of efforts.  Here's one:
http://code.google.com/p/mod-actionscript/

-Alex



Re: AS3 on the server

2013-11-30 Thread Paul Hastings

On 12/1/2013 5:06 AM, jude 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?


there was talk at one time for that being in coldfusion. don't think much came 
of it.