Re: FlexJS Brand Positioning

2015-12-02 Thread Harbs
Hi Jude, I also read your whole rant and you have valid points there. I don’t think there was opposition when you donated Radii8. Although sometimes the enthusiasm in donations can get drowned out by the noise of the annoying technical details. I was actually surprised when you went completely

Re: FlexJS Brand Positioning

2015-12-02 Thread jude
This post bounced for me because of the image attachments. So I'm not sure if the original message made it through. But here's the email from yesterday: Oh and I meant to post these images (below). Most of you won't care because you can write MXML UI faster than in a GUI but for the designers in u

[4.15.0] # Apache Flex SDK 4.15.0 nightly build 117: Successful

2015-12-02 Thread flex . ci . builds
flex-sdk_release-candidate - Build #117 - Successful Changes since last build: No changes For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/117/.

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread OmPrakash Muppirala
On Wed, Dec 2, 2015 at 3:38 PM, Alex Harui wrote: > These are all valid points, but the way I look at it is this: If you have > an existing Flex app and need to migrate it off of the Flash Player, would > you reject using FlexJS because it doesn't have AMF support, or because > the effort requir

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread Alex Harui
These are all valid points, but the way I look at it is this: If you have an existing Flex app and need to migrate it off of the Flash Player, would you reject using FlexJS because it doesn't have AMF support, or because the effort required to migrate the UI is too high? I believe I can convince

Re: Node.js support

2015-12-02 Thread Josh Tynjala
Got it. So if I were trying to hide a require() call, @flexjsignorecoercion could be used in my code without requiring users to do anything. I think I may be able to work with that. I'll play around with it, when I have a moment. - Josh On Wed, Dec 2, 2015 at 3:10 PM, Alex Harui wrote: > Curren

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread OmPrakash Muppirala
On Wed, Dec 2, 2015 at 3:15 PM, Carlos Rovira wrote: > Hi Alex > > 1) The scenario you propose makes me think I could use other method than > AMF, but I think the main Resons for AMF are : > >a) As Chris Dutz said "it's the best way to communicate with your > server" , is better than JSON and

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread Carlos Rovira
Hi Alex 1) The scenario you propose makes me think I could use other method than AMF, but I think the main Resons for AMF are : a) As Chris Dutz said "it's the best way to communicate with your server" , is better than JSON and we should diferentiate over the rest (but people could choose JSON

Re: Node.js support

2015-12-02 Thread Alex Harui
Currently it works at the method's ASDoc, not at the class level. Here's an excerpt: /** * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement * @flexjsignorecoercion HTMLBodyElement */ COMPILE::JS override public function star

Re: Node.js support

2015-12-02 Thread Josh Tynjala
Interesting... I didn't know about that. How would @flexjsignorecoercion be used? In the asdocs for a class, like this? /** * @flexjsignorecoercion */ public class MyClass {} If I'm understanding your correctly, when using this tag, the JS output would not pass the value to Language.as()? //as

Re: Node.js support

2015-12-02 Thread Alex Harui
On 12/2/15, 2:37 PM, "Josh Tynjala" wrote: >Oh, I see. I didn't realize that you were thinking that users would import >something and also manually call require(). In that case, yes, you could >still potentially have proper type checking. > >I like the idea of using some kind of wrapper class t

Re: Node.js support

2015-12-02 Thread Josh Tynjala
Oh, I see. I didn't realize that you were thinking that users would import something and also manually call require(). In that case, yes, you could still potentially have proper type checking. I like the idea of using some kind of wrapper class to hide the require() call. It's kind of messy to bot

Re: Node.js support

2015-12-02 Thread Alex Harui
On 12/2/15, 12:12 PM, "Josh Tynjala" wrote: >You'd lose out on compiler checks and IDE code hinting if you had to call >require() directly in AS. I probably don't know enough about Node and require to understand that. Let's try looking at source code patterns first. My quick read of require is

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread OmPrakash Muppirala
On Wed, Dec 2, 2015 at 1:37 AM, Christofer Dutz wrote: > Actually I don't think you need to add anything to BlazeDS I think the > Spring-Flex guys for example already did that work. > I know that you can configure Spring MVC Rest Controllers to > auto-serialize data depending on the Accept head

Re: AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread OmPrakash Muppirala
On Dec 2, 2015 9:37 AM, "Alex Harui" wrote: > > > > On 12/2/15, 1:37 AM, "Christofer Dutz" wrote: > > >Actually I don't think you need to add anything to BlazeDS I think the > >Spring-Flex guys for example already did that work. > > > >I know that you can configure Spring MVC Rest Controllers to

Re: Node.js support

2015-12-02 Thread Josh Tynjala
You'd lose out on compiler checks and IDE code hinting if you had to call require() directly in AS. Wrapping the generated JS for a class in an IIFE, like I talked about in an earlier thread, could keep the requires confined to a single class. (function() { var fs = require("fs"); //the f

Re: Node.js support

2015-12-02 Thread Alex Harui
I read up a bit on Node's require system. It seems that because import statements in AS are generally at the package level, it wouldn't be a good equivalent for Node's require. I think Node's require system is an explicit class/package loader like Java's and allows you to defer the loading of cod

[GitHub] flex-asjs pull request: Language.js bug fixes and improvements

2015-12-02 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-asjs/pull/3#issuecomment-161399542 Hi, Thanks for these improvements. It turns out we are refactoring Language.js in the core_js_to_as branch right now. I will fold your changes in after

Re: Node.js support

2015-12-02 Thread Josh Tynjala
Node.js has its own require system. It's called CommonJS. I was thinking that it could also be based on imported classes. It can be a little tricky, though. A module is pretty flexible with what it exports. Most simply, a module could export a single class. In this case, the translation is pretty

Re: Node.js support

2015-12-02 Thread Alex Harui
On 12/2/15, 9:59 AM, "Josh Tynjala" wrote: >The require() call for a Node.js module should probably be generated in >the >PackageHeaderEmitter, where the goog.require() calls are generated. OK, but based on what kind of source code lines? The goog.requires are generated from import statements

Re: Node.js support

2015-12-02 Thread Josh Tynjala
The require() call for a Node.js module should probably be generated in the PackageHeaderEmitter, where the goog.require() calls are generated. - Josh On Tue, Dec 1, 2015 at 5:47 PM, Alex Harui wrote: > > > On 12/1/15, 5:06 PM, "Josh Tynjala" wrote: > > > >I thought you meant that you were wor

Re: APACHE FLEX 4.14 WITH FLASHDEVELOP

2015-12-02 Thread Alex Harui
I haven't used FlashDevelop, so I don't know if there is a better way, but I would imagine you could create an empty project and copy source files. -Alex From: Premkumar M mailto:mpremkumar...@gmail.com>> Reply-To: "dev@flex.apache.org" mailto:dev@flex.apache.org>> D

Re: is it slow?Total time: 12 seconds

2015-12-02 Thread Alex Harui
Well, I wish it was faster, but making it faster isn't a priority for me right now. If you want to get to know the compiler code and make improvements it would be much appreciated. -Alex On 12/2/15, 12:56 AM, "lizhi" wrote: > [java] using SWC: E:\sdk\flexjs6\frameworks\libs\Core.swc >

Re: AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread Alex Harui
On 12/2/15, 1:37 AM, "Christofer Dutz" wrote: >Actually I don't think you need to add anything to BlazeDS I think the >Spring-Flex guys for example already did that work. > >I know that you can configure Spring MVC Rest Controllers to >auto-serialize data depending on the Accept header of a req

Re: Node.js support

2015-12-02 Thread Carlos Rovira
I think this is a must, since is the way devs out there work with JS...all is "npm"-able ;) So, thanks Om to start the work with this, this should be a great addition :) 2015-12-02 1:29 GMT+01:00 OmPrakash Muppirala : > My first goal is to mimic the Installer to get all the required > dependencie

APACHE FLEX 4.14 WITH FLASHDEVELOP

2015-12-02 Thread Premkumar M
Hi, I am already having mxml files which was developed using FLEX 3-ADOBE FLEX BUILDER. Now i need to convert those files to apache flex 4.14 or any latest versions. How can i proceed with this,i m a beginner to flex. Seeking for your response ASAP.. Thanks and Regards, *PREM KUMAR M* P

is it slow?Total time: 12 seconds

2015-12-02 Thread lizhi
[java] using SWC: E:\sdk\flexjs6\frameworks\libs\Core.swc [java] using SWC: E:\sdk\flexjs6\frameworks\libs\CreateJS.swc [java] using SWC: E:\sdk\flexjs6\frameworks\libs\DragDrop.swc [java] using SWC: E:\sdk\flexjs6\frameworks\libs\Effects.swc [java] using SWC: E:\sdk\flexjs

Re: [FlexJS] Major good news for FlexJS

2015-12-02 Thread Marcus Fritze
I tried the same, but I also have the problem. When I open a mxml from the flexJS examples, I get a in java.lang.NullPointerException init Outline / Update Outline. And when I create a new MXML file, only the flexSDK classes are available. It seems that FDT currently only supports .as and not .

AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread Christofer Dutz
Actually I don't think you need to add anything to BlazeDS I think the Spring-Flex guys for example already did that work. I know that you can configure Spring MVC Rest Controllers to auto-serialize data depending on the Accept header of a request. So if xml is requested, a xml response is sent

Re: [FlexJS] Major good news for FlexJS

2015-12-02 Thread piotrz
I tried it yesterday and as I understand I can compile pure AS project to JS, but what about existing FlexJS example. ? I've create new project in folder with one of the example and tried to compile without success - Anyone tried to compile existing FlexJS example ? I will provide more details lat