Re: Google Closure Events (was Re: [FalconJx] progress update)

2013-03-31 Thread Erik de Bruin
>> One certainly could. But I don't know jQuery and I do know the Closure tools. >> > I will choose not to interpret this as your "my way or the highway" > declaration. :-) Just pointing out my limitations :-P EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I

Re: Google Closure Events (was Re: [FalconJx] progress update)

2013-03-31 Thread Alex Harui
On 3/31/13 7:46 AM, "Erik de Bruin" wrote: >>> any day. And it's there for us to use, since we already require (pun >>> intended) the Closure Library. >> But one could use the same argument to say we should start with Jquery. > > One certainly could. But I don't know jQuery and I do know the

Re: [FalconJx] progress update

2013-03-31 Thread Alex Harui
On 3/31/13 8:05 AM, "Erik de Bruin" wrote: > I think WebKit might be solved by fully qualifying constructor calls. > Should be easy enough to add to FalconJx. I'm not sure about that. In my older safari, you can't dispatch anything other than the built-in Event from an HTMLElement. > > EdB >

Re: [FalconJx] progress update

2013-03-31 Thread Erik de Bruin
I think WebKit might be solved by fully qualifying constructor calls. Should be easy enough to add to FalconJx. EdB On Sunday, March 31, 2013, Alex Harui wrote: > You're right it works much better in Chrome. I guess later webkit must be > able to resolve "new CustomEvent" to "new > org.apache

Re: [FalconJx] progress update

2013-03-31 Thread Alex Harui
You're right it works much better in Chrome. I guess later webkit must be able to resolve "new CustomEvent" to "new org.apache.flex.events.CustomEvent", and the HTTP DOM lets you dispatch something other than DOMEvent. I would think we need to support older webkit versions, though, so that brings

Re: Google Closure Events (was Re: [FalconJx] progress update)

2013-03-31 Thread Erik de Bruin
>> any day. And it's there for us to use, since we already require (pun >> intended) the Closure Library. > But one could use the same argument to say we should start with Jquery. One certainly could. But I don't know jQuery and I do know the Closure tools. EdB -- Ix Multimedia Software Jan L

Re: [FalconJx] progress update

2013-03-31 Thread Erik de Bruin
Chrome (if it's up to date) should have the same webkit version as my Safari 6 (I think), so if it's a version "problem", this should show you in Chrome what I see in my Safari (and Chrome and Firefox, both on OS X and WinXP/7). EdB On Sun, Mar 31, 2013 at 4:33 PM, Erik de Bruin wrote: > My Sa

Re: Google Closure Events (was Re: [FalconJx] progress update)

2013-03-31 Thread Alex Harui
On 3/31/13 12:36 AM, "Erik de Bruin" wrote: > Ok, I agree on the minimalist approach very much, but that doesn't > exclude the use of a large library (sounds silly, but read on). > > On the merits of using 'goog' events: Gmail, Google Plus, Google Drive > etc. This is a cross-platform, cross-

Re: [FalconJx] progress update

2013-03-31 Thread Erik de Bruin
My Safari is 6.0.3, the current version on OS X 10.8.3. I'm curious to hear how the app is functioning for you in Chrome? EdB On Sun, Mar 31, 2013 at 4:28 PM, Alex Harui wrote: > > > > On 3/31/13 7:03 AM, "Erik de Bruin" wrote: > >> On selection from the dropdownlist it hits the breakpoint. S

Re: [FalconJx] progress update

2013-03-31 Thread Alex Harui
On 3/31/13 7:03 AM, "Erik de Bruin" wrote: > On selection from the dropdownlist it hits the breakpoint. Stepping > into brings me to UIBase::dispatchEvent, where the only argument is a > CustomEvent (so that was created properly, it seems) and then it > enters the whole event chain that lead t

Re: [FalconJx] progress update

2013-03-31 Thread Erik de Bruin
On selection from the dropdownlist it hits the breakpoint. Stepping into brings me to UIBase::dispatchEvent, where the only argument is a CustomEvent (so that was created properly, it seems) and then it enters the whole event chain that lead to the value of the dropdownlist being displayed in the t

Re: [FalconJx] progress update

2013-03-31 Thread Alex Harui
On 3/31/13 6:33 AM, "Erik de Bruin" wrote: > In Safari, with the "error console" opened, I get the following > "warning/message" (not an exception, as far as I can tell): > > event.layerX and event.layerY are broken and deprecated in WebKit. > They will be removed from the engine in the near

Re: [FalconJx] progress update

2013-03-31 Thread Erik de Bruin
In Safari, with the "error console" opened, I get the following "warning/message" (not an exception, as far as I can tell): event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future. Is that what you are seeing as well? Or do you ge

Re: Google Closure Events (was Re: [FalconJx] progress update)

2013-03-31 Thread Erik de Bruin
Ok, I agree on the minimalist approach very much, but that doesn't exclude the use of a large library (sounds silly, but read on). On the merits of using 'goog' events: Gmail, Google Plus, Google Drive etc. This is a cross-platform, cross-browser, tremendously tested and proofed implementation. It

Re: [FalconJx] progress update

2013-03-31 Thread Erik de Bruin
When I pick from the dropdown list, initially nothing happens. But when I then click OK, the currect stock price of the selected ticker symbol is displayed in the text entry on the right. I can't get the original FlexJS example to work in Flash Builder, so I can't check on the intended functionali

Re: [FalconJx] progress update

2013-03-30 Thread Alex Harui
If I pick from the dropdown list, other things are supposed to update. They don't for me. This is bizarre. What code in your link supports "new Event"? On 3/30/13 10:42 PM, "Erik de Bruin" wrote: > Even on my iPhone all functionality of the demo app is working fine. What > isn't working for

Re: Google Closure Events (was Re: [FalconJx] progress update)

2013-03-30 Thread Alex Harui
On 3/30/13 10:39 PM, "Erik de Bruin" wrote: > Alex, just checking before I spend too much time on this: with FlexJS, is > it always going to be "your way or the highway"? I don't think so. What gave you that impression? If it was the tone of my last post, I apologize. I am actually trying

Re: [FalconJx] progress update

2013-03-30 Thread Erik de Bruin
Even on my iPhone all functionality of the demo app is working fine. What isn't working for you? EdB On Sunday, March 31, 2013, Alex Harui wrote: > I hit this link in Mac Safari: > http://people.apache.org/~erikdebruin/flexjs/ > I turn on JavaScript debugging. > I hit refresh on the address ba

Re: Google Closure Events (was Re: [FalconJx] progress update)

2013-03-30 Thread Erik de Bruin
Alex, just checking before I spend too much time on this: with FlexJS, is it always going to be "your way or the highway"? EdB On Sunday, March 31, 2013, Alex Harui wrote: > I read up a little on Google Closure Events. I was hoping to find some > information on why it takes that much javascri

Re: [FalconJx] progress update

2013-03-30 Thread Alex Harui
I hit this link in Mac Safari: http://people.apache.org/~erikdebruin/flexjs/ I turn on JavaScript debugging. I hit refresh on the address bar. It halts on MyModel.js line 30. It doesn't do that for you? On 3/30/13 10:33 PM, "Erik de Bruin" wrote: > Not at all. But I don't understand. The onlin

Re: [FalconJx] progress update

2013-03-30 Thread Erik de Bruin
Not at all. But I don't understand. The online example runs fine for me with full functionality and no exceptions or anything in the console. I'll spend some time on this after the weekend. EdB On Sunday, March 31, 2013, Alex Harui wrote: > I put in an Event and CustomEvent class in the html a

Re: [FalconJx] progress update

2013-03-30 Thread Alex Harui
I put in an Event and CustomEvent class in the html and got past the exceptions, but it still craps out with another exception later in dispatchEvent. You would have had to override the dispatchEvent in UIBase.as to ever see this app respond to a change in the dropdownlist. Do you have strong obj

Google Closure Events (was Re: [FalconJx] progress update)

2013-03-30 Thread Alex Harui
I read up a little on Google Closure Events. I was hoping to find some information on why it takes that much javascript to implement a brand new event model when it appears (at least from my perspective) that the only rogue browser is IE8. I think I'm going to forge ahead with my custom approxima

Re: [FalconJx] progress update

2013-03-30 Thread Om
Probably not related to what you guys are discussing, but Erik's latest changes send to have caused the list to look more like a drop down list. This used to work fine in both versions a couple of days ago. Thanks, Om On Mar 30, 2013 9:34 AM, "Alex Harui" wrote: > No, because I ran the link to y

Re: [FalconJx] progress update

2013-03-30 Thread Alex Harui
No, because I ran the link to your app in the debugger in Safari and I get the exception. I don't think the flash.*.* thing is involved in your version right? If you run http://people.apache.org/~erikdebruin/flexjs/ in the JS debugger it doesn't send exceptions to the console? And changing the se

Re: [FalconJx] progress update

2013-03-30 Thread Erik de Bruin
Did you try to put the flash.*.* thing back (revert your latest commit)? EdB On Sat, Mar 30, 2013 at 4:20 PM, Erik de Bruin wrote: > Or, it might have something to do with your last ASJS commit... remove > flash.*.* from implicit imports... If you revert that locally, does > FalconJx work? It

Re: [FalconJx] progress update

2013-03-30 Thread Erik de Bruin
Hi, >From [1]: "Closure Library provides the advantage of a consistent event model that works the same way in all browsers." And the GC Compiler takes care of any overhead, it can very efficiently re-compile "goog" based Javascript. More so than "manual" JS like FlexGlobals. And we're using the G

Re: [FalconJx] progress update

2013-03-30 Thread Alex Harui
On 3/30/13 7:54 AM, "Erik de Bruin" wrote: > I left out FlexGlobals on purpose, I plan to bring the Google Closure > way of dealing with events to FlexJS. The GC way is not dependent on > DOM based events and fits very snugly with the way Flex handles > events. BTW, do we need a DOM event for

Re: [FalconJx] progress update

2013-03-30 Thread Alex Harui
I put your app in the debugger and get the same exception. And selecting from the dropdownlist doesn't change anything. On 3/30/13 8:13 AM, "Erik de Bruin" wrote: > Maybe I'm doing something wrong... the example on my p.a.o works for you? > > http://people.apache.org/~erikdebruin/flexjs/ > >

Re: [FalconJx] progress update

2013-03-30 Thread Erik de Bruin
Or, it might have something to do with your last ASJS commit... remove flash.*.* from implicit imports... If you revert that locally, does FalconJx work? It wasn't there yesterday, so that's the only difference in code between you and me. We need to set up functional testing for Falcon/FlexJS soon

Re: [FalconJx] progress update

2013-03-30 Thread Erik de Bruin
Nope, Safari works well for me, and there doesn't need to be the extra method in the main HTML anymore, I remember. Weird. EdB On Sat, Mar 30, 2013 at 4:13 PM, Erik de Bruin wrote: > Maybe I'm doing something wrong... the example on my p.a.o works for you? > > http://people.apache.org/~erikdeb

Re: [FalconJx] progress update

2013-03-30 Thread Erik de Bruin
Maybe I'm doing something wrong... the example on my p.a.o works for you? http://people.apache.org/~erikdebruin/flexjs/ Maybe try Chrome? EdB On Sat, Mar 30, 2013 at 4:01 PM, Alex Harui wrote: > I'm not seeing anything like that in the HTML wrapper. Safari is definitely > throwing on except

Re: [FalconJx] progress update

2013-03-30 Thread Alex Harui
I'm not seeing anything like that in the HTML wrapper. Safari is definitely throwing on exception on "new Event". Any idea what I'm doing wrong? On 3/30/13 7:54 AM, "Erik de Bruin" wrote: > I left out FlexGlobals on purpose, I plan to bring the Google Closure > way of dealing with events to F

Re: [FalconJx] progress update

2013-03-30 Thread Erik de Bruin
I left out FlexGlobals on purpose, I plan to bring the Google Closure way of dealing with events to FlexJS. The GC way is not dependent on DOM based events and fits very snugly with the way Flex handles events. In the mean time I've a method in the "main" HTML that is called Event and that passes

Re: [FalconJx] progress update

2013-03-30 Thread Alex Harui
Hi Erik, I finally got time to try to switch over to FalconJX. It produces js files and the app shows up, but the console shows an exception and the interactivity of the application is mostly broken because the generated js code has snippets like this: models.MyModel.prototype.set_labelText = fu

Re: [FalconJx] progress update

2013-03-29 Thread Erik de Bruin
Ok, we're back in business! I think this time I have been working with the right version of FlexJS (the one with the timer and the drop down list?) and it looks to work as advertised: http://people.apache.org/~erikdebruin/flexjs/ Time to get packing for the long flight ;-) EdB On Fri, Mar 29,

Re: [FalconJx] progress update

2013-03-29 Thread Erik de Bruin
Ah, and there's plenty left for you to "learn" from :-) EdB On Fri, Mar 29, 2013 at 2:30 PM, Alex Harui wrote: > No worries. Might be a good way for me to learn how it works by getting it > to work. > > > On 3/29/13 12:31 AM, "Erik de Bruin" wrote: > >> Uh oh... Turns out I was testing again

Re: [FalconJx] progress update

2013-03-29 Thread Erik de Bruin
Nearly there... EdB On Fri, Mar 29, 2013 at 2:30 PM, Alex Harui wrote: > No worries. Might be a good way for me to learn how it works by getting it > to work. > > > On 3/29/13 12:31 AM, "Erik de Bruin" wrote: > >> Uh oh... Turns out I was testing against an outdated ASJS lib >> (pre-fb614905

Re: [FalconJx] progress update

2013-03-29 Thread Alex Harui
No worries. Might be a good way for me to learn how it works by getting it to work. On 3/29/13 12:31 AM, "Erik de Bruin" wrote: > Uh oh... Turns out I was testing against an outdated ASJS lib > (pre-fb614905ac), so FalconJx DOESN'T WORK against the current > iteration of FlexJS. Sorry about th

Re: [FalconJx] progress update

2013-03-29 Thread Erik de Bruin
Uh oh... Turns out I was testing against an outdated ASJS lib (pre-fb614905ac), so FalconJx DOESN'T WORK against the current iteration of FlexJS. Sorry about that. I will work on that today, but I don't have a lot of time, so it might be a while before I can catch up, due to next week's travel to t

RE: [FalconJx] progress update

2013-03-28 Thread Sugan Naicker
Hi Alex, Thanks. I will assist with testing. Rgs, Sugan Naicker South Africa -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: 28 March 2013 09:46 PM To: dev@flex.apache.org Subject: Re: [FalconJx] progress update OK, thanks. There's lots of bugs in this prot

Re: [FalconJx] progress update

2013-03-28 Thread Alex Harui
uth Africa > > -Original Message- > From: Alex Harui [mailto:aha...@adobe.com] > Sent: 28 March 2013 09:09 PM > To: dev@flex.apache.org > Subject: Re: [FalconJx] progress update > > FlexJS doesn't work on IE yet. On my list of things to do. > > > On 3/28

RE: [FalconJx] progress update

2013-03-28 Thread Sugan Naicker
rds, Sugan Naicker South Africa -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: 28 March 2013 09:09 PM To: dev@flex.apache.org Subject: Re: [FalconJx] progress update FlexJS doesn't work on IE yet. On my list of things to do. On 3/28/13 11:55 AM, "Sugan

Re: [FalconJx] progress update

2013-03-28 Thread Erik de Bruin
To avoid confusion: "my" code is a carbon copy of Alex's. The only difference is - and should be - that his code is compiled using FalconJS and mine is compiled with FalconJx. This means that as of now, both compilers have the same capabilities and the transition of FlexJS from FalconJS to FalconJx

Re: [FalconJx] progress update

2013-03-28 Thread Erik de Bruin
It does. No GCC with Advanced Optimisation enabled yet (or rather, it is enabled, but the resulting code is not yet working ;-) Without that 'release' optimisation, the application loads lots of files from the Google Closure Library and of course from the FlexJS framework, i.e. 100s of KB at least

Re: [FalconJx] progress update

2013-03-28 Thread Alex Harui
c does not push value to text box Regards, Sugan Naicker South Africa -Original Message- From: Erik de Bruin [mailto:e...@ixsoftware.nl] Sent: 28 March 2013 06:24 PM To: dev@flex.apache.org Subject: Re: [FalconJx] progress update And another update (things are going much better than

Re: [FalconJx] progress update

2013-03-28 Thread Alex Harui
Yup, Erik's matches my binjs-debug version. On 3/28/13 11:49 AM, "Om" wrote: > I am not asking you to optimize or anything, but am just curious. > > Alex's version: > http://people.apache.org/~aharui/FlexJS/binjs-release/FlexJSTest_again.example > .html > > loads quite fast, whereas > > Your

RE: [FalconJx] progress update

2013-03-28 Thread Sugan Naicker
Regards, Sugan Naicker South Africa -Original Message- From: Erik de Bruin [mailto:e...@ixsoftware.nl] Sent: 28 March 2013 06:24 PM To: dev@flex.apache.org Subject: Re: [FalconJx] progress update And another update (things are going much better than I expected): FalconJx c

Re: [FalconJx] progress update

2013-03-28 Thread Om
I am not asking you to optimize or anything, but am just curious. Alex's version: http://people.apache.org/~aharui/FlexJS/binjs-release/FlexJSTest_again.example.html loads quite fast, whereas Your version: http://people.apache.org/~erikdebruin/flexjs/ takes quite a while. I notice that your v

Re: [FalconJx] progress update

2013-03-28 Thread Erik de Bruin
And another update (things are going much better than I expected): FalconJx can now emit a fully functional version of the FlexJSTest_again demo application. You can see it in action here (provided you use Chrome or Firefox, I just noticed): http://people.apache.org/~erikdebruin/flexjs/ Onwards a

Re: [FalconJx] progress update

2013-03-27 Thread Erik de Bruin
I'd have to look into it for specifics, but of the top of my head it seems that this most depends on the implementation in the FlexJS JS framework. Emitting the strings required by that framework should really be easy enough. If needed we can "look forward" into AST to look for binding information.

Re: [FalconJx] progress update

2013-03-27 Thread Alex Harui
[Bindable] results in extra codegen. Binding expressions with {} is a whole other ball of work. I think in FalconJX you might have to modify the node tree in several places when you hit a [Bindable] node. It isn't working correctly in FalconJS either, but my "customer" needs it so I'm hacking a

Re: [FalconJx] progress update

2013-03-27 Thread Erik de Bruin
No, not yet. How is this set up in FlexJS? I'm sure I can read Metadata and Databinding information, so I guess it depends on the requirements for the emitted JS if I can easily implement this ;-) EdB On Wednesday, March 27, 2013, Alex Harui wrote: > Does FalconJX handle [Bindable]? My "custo

Re: [FalconJx] progress update

2013-03-27 Thread Alex Harui
Does FalconJX handle [Bindable]? My "customer" is using it. On 3/27/13 11:56 AM, "Michael Schmalle" wrote: > > Quoting Erik de Bruin : > >> Another one popped into my head just now: I have a gut feeling there >> is a bit of circular logic going on in the whole 'backend', >> 'blockwalker' and

Re: [FalconJx] progress update

2013-03-27 Thread Michael Schmalle
Quoting Erik de Bruin : Another one popped into my head just now: I have a gut feeling there is a bit of circular logic going on in the whole 'backend', 'blockwalker' and 'emitter' construct. More specifically in the way the references to them are passed around as arguments in the constructors

Re: [FalconJx] progress update

2013-03-27 Thread Erik de Bruin
Another one popped into my head just now: I have a gut feeling there is a bit of circular logic going on in the whole 'backend', 'blockwalker' and 'emitter' construct. More specifically in the way the references to them are passed around as arguments in the constructors for the various classes. But

Re: [FalconJx] progress update

2013-03-27 Thread Erik de Bruin
Mike, Just kidding ;-) I'm really happy with FalconJx, once you get to know it it's a pleasure to work with. I hope my last commits didn't give you any additional work in your other projects? I did my best to leave all the APIs alone. There are plenty of TODOs in the code, and I would also like

Re: [FalconJx] progress update

2013-03-27 Thread Michael Schmalle
No thats not what I meant. I am saying with the Randori project compiler, I have not had to touch the core framework for weeks and it is compiling 1000's of lines of code. And application code now. What I meant to say was, the design keeps people in the correct spaces. :) Note; I AM SURE t

Re: [FalconJx] progress update

2013-03-27 Thread Erik de Bruin
> All I can say is its easy to fix things in the emitters. :) Thanks, I feel SO special now... :-P EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl

Re: [FalconJx] progress update

2013-03-27 Thread Michael Schmalle
Ah ok, this has to do with the emitter, I thought you were talking about language specific errors. All I can say is its easy to fix things in the emitters. :) Mike Quoting Alex Harui : Static initializers were not being output correctly. Some goog.requires were not being listed. On 3/27/1

Re: [FalconJx] progress update

2013-03-27 Thread Alex Harui
On 3/27/13 10:56 AM, "Erik de Bruin" wrote: > Ok, but note that while the output is NEARLY correct, the application > doesn't work in the browser. Just thought I'd emphasise that ;-) Yeah, I saw that. > > > On Wed, Mar 27, 2013 at 6:50 PM, Alex Harui wrote: >> Excellent. I will try it out l

Re: [FalconJx] progress update

2013-03-27 Thread Alex Harui
Static initializers were not being output correctly. Some goog.requires were not being listed. On 3/27/13 10:55 AM, "Michael Schmalle" wrote: > > Quoting Alex Harui : > >> Excellent. I will try it out later today. I have to quickly fix some >> FalconJS stuff for my potential "customer", but

Re: [FalconJx] progress update

2013-03-27 Thread Erik de Bruin
Ok, but note that while the output is NEARLY correct, the application doesn't work in the browser. Just thought I'd emphasise that ;-) EdB On Wed, Mar 27, 2013 at 6:50 PM, Alex Harui wrote: > Excellent. I will try it out later today. I have to quickly fix some > FalconJS stuff for my potenti

Re: [FalconJx] progress update

2013-03-27 Thread Michael Schmalle
Quoting Alex Harui : Excellent. I will try it out later today. I have to quickly fix some FalconJS stuff for my potential "customer", but once I get past that I will see if FalconJX can generate the same code. I am hopeful that if I run into more of the kinds of errors I am fixing in FalconJ

Re: [FalconJx] progress update

2013-03-27 Thread Alex Harui
Excellent. I will try it out later today. I have to quickly fix some FalconJS stuff for my potential "customer", but once I get past that I will see if FalconJX can generate the same code. I am hopeful that if I run into more of the kinds of errors I am fixing in FalconJS, that they will be easi

Re: [FalconJx] progress update

2013-03-27 Thread Erik de Bruin
Another update (have taken/will take some time to get this right this week): FalconJx can now parse both FlexJS MXML and AS reasonably correctly. If run from the command line, it will now create the correct output directories (bin/js-debug and bin/js-release) and emit all JS and HTML files, both p

Re: [FalconJx] progress update

2013-03-26 Thread Om
>> So, I need to research more about how skinning works in HTML5, but I have > >> this vague recollection that skins in HTML5 are entirely graphics. > > > > > > I dont think so. SVG is part of the HTML5 spec now, so what we are doing > > is completely legitimate. > That's sort of what I meant. I

Re: [FalconJx] progress update

2013-03-26 Thread Erik de Bruin
Get/set methods with prefixes are entirely possible - I just wrote the implementation in FalconJx - just not very elegant. There is an alternate solution that uses on function per property and depending on the amount of arguments (1 for "set" and 0 for "get") it will either execute the "get" or "se

Re: [FalconJx] progress update

2013-03-26 Thread Alex Harui
On 3/26/13 10:44 AM, "Erik de Bruin" wrote: > I was talking about changes to the JS output, not the AS input. There > is some obsolete stuff in the Goog JSDoc annotation; the use of > goog.base() instead of [functionname].call(); maybe use goog.bind() > and I'm not at all sure what more. We'll

Re: [FalconJx] progress update

2013-03-26 Thread Erik de Bruin
I was talking about changes to the JS output, not the AS input. There is some obsolete stuff in the Goog JSDoc annotation; the use of goog.base() instead of [functionname].call(); maybe use goog.bind() and I'm not at all sure what more. We'll need to discuss the use of HTML5 "object" methods like "

Re: [FalconJx] progress update

2013-03-26 Thread Alex Harui
On 3/26/13 12:04 AM, "Om" wrote: >> But in thinking more about it, your transform of MXMLG or FXG to SVG is >> essentially an optimization. > > > I would characterize it more as laziness. An XSLT transform is the easiest > way to get to our end goal, which is rendering fidelity between the

Re: [FalconJx] progress update

2013-03-26 Thread Alex Harui
What would the change to FlexJS look like? Are you assuming that the browser has getter/setter support or is there a flag for that? If it is trivial I can tweak FalconJS to use the right pattern and then adjust FlexJS for you. On 3/26/13 3:08 AM, "Erik de Bruin" wrote: > I wasn't being specif

Re: [FalconJx] progress update

2013-03-26 Thread Erik de Bruin
I wasn't being specific enough... I should have said: support for cross-compiling all AS features to FlexJS specific output. This means basically getting the 'goog' emission complete (nearly there) and fixing the FlexJS framework to be compatible with 'goog' output (or introducing a FlexJS emitter,

Re: [FalconJx] progress update

2013-03-26 Thread Michael Schmalle
Quoting Erik de Bruin : Erik thinks he can do all of this in VanillaJS. I still think it will take him too long to get to a minimal viable product and VanillaJS will have a huge minimal download and worry that folks are waiting for him instead of jumping in on FlexJS hoping he can provide the

Re: [FalconJx] progress update

2013-03-26 Thread Erik de Bruin
> What is the difference between goog and FlexJS? It might be better to make > FlexJS goog-compliant. There's not that much difference, like I said, for now it looks like getter/setter handling is the major difference. I am planning to make FlexJS fully 'goog' compliant as part of my contributio

Re: [FalconJx] progress update

2013-03-26 Thread Om
On Mon, Mar 25, 2013 at 8:27 PM, Alex Harui wrote: > > > > Well, first off, thanks for motivating me to spend more time thinking about > skinning. Honestly, I don't have a formal plan and your input is quite > welcome. I spent a fair amount of time mulling over how to re-use as much > of existi

Re: [FalconJx] progress update

2013-03-25 Thread Alex Harui
On 3/25/13 11:44 PM, "Erik de Bruin" wrote: >>> I have to set up the JS part of the FlexJS parsing. I've got the MXML >>> in place, but the JS part will take me a bit of time. Are you up >>> against a deadline somehow? >>> >> Oh, I thought it was all there. Is it only MXML->AS? I am setting

Re: [FalconJx] progress update

2013-03-25 Thread Erik de Bruin
> Erik thinks he can do all of this in VanillaJS. I still think it will take > him too long to get to a minimal viable product and VanillaJS will have a > huge minimal download and worry that folks are waiting for him instead of > jumping in on FlexJS hoping he can provide the magic bullet. Well,

Re: [FalconJx] progress update

2013-03-25 Thread Erik de Bruin
>> I have to set up the JS part of the FlexJS parsing. I've got the MXML >> in place, but the JS part will take me a bit of time. Are you up >> against a deadline somehow? >> > Oh, I thought it was all there. Is it only MXML->AS? I am setting up my > launch config now. What is FlexJS specific ab

Re: [FalconJx] progress update

2013-03-25 Thread Alex Harui
Well, first off, thanks for motivating me to spend more time thinking about skinning. Honestly, I don't have a formal plan and your input is quite welcome. I spent a fair amount of time mulling over how to re-use as much of existing spark skins as possible and how to leverage your FXG->SVG wor

Re: [FalconJx] progress update

2013-03-25 Thread Om
On Mar 25, 2013 5:04 PM, "Alex Harui" wrote: > > > > > On 3/25/13 3:41 PM, "Om" wrote: > > > On Mon, Mar 25, 2013 at 3:25 PM, Alex Harui wrote: > > > >> Hmm. But at the top-level is a non-FXG element like Skin or something like > >> that, right? > > > > > > I plan to use the or elements for t

Re: [FalconJx] progress update

2013-03-25 Thread Alex Harui
On 3/25/13 3:41 PM, "Om" wrote: > On Mon, Mar 25, 2013 at 3:25 PM, Alex Harui wrote: > >> Hmm. But at the top-level is a non-FXG element like Skin or something like >> that, right? > > > I plan to use the or elements for this. Well, in FlexJS, we aren't translating MXML tags into HTML t

Re: [FalconJx] progress update

2013-03-25 Thread Om
On Mon, Mar 25, 2013 at 3:25 PM, Alex Harui wrote: > Hmm. But at the top-level is a non-FXG element like Skin or something like > that, right? I plan to use the or elements for this. > And, you don't know if script is going to change any of these > entities at run-time. How are you going

Re: [FalconJx] progress update

2013-03-25 Thread Alex Harui
Hmm. But at the top-level is a non-FXG element like Skin or something like that, right? And, you don't know if script is going to change any of these entities at run-time. How are you going to make that happen when converted to SVG? Finally, nobody "drew" this skin in a design tool. It was han

Re: [FalconJx] progress update

2013-03-25 Thread Om
On Mon, Mar 25, 2013 at 12:26 PM, Alex Harui wrote: > Om, can you give an example? > > IMO, there is a difference between MXML Graphics and FXG. To me, FXG is > stuff in an FXG file exported from several Adobe design tools. The > internal > pieces are not manipulated at run time. Today, FXG as

Re: [FalconJx] progress update

2013-03-25 Thread Alex Harui
On 3/25/13 12:55 PM, "Erik de Bruin" wrote: >>> Are you saying that you are planning to switch to FalconJX soon? >> Soon === Now > > That is... interesting :-) I guess it'll be a late night for me tonight. > > I have to set up the JS part of the FlexJS parsing. I've got the MXML > in place,

Re: [FalconJx] progress update

2013-03-25 Thread Alex Harui
On 3/25/13 12:28 PM, "Om" wrote: > > With my approach, to get the rendering fidelity to match that of Flex's > skins, inline CSS makes it easy (because of the XSLT approach) > BTW, we still need to deal with the 'cascading' part of CSS, right? Not quite sure what you mean, but for sure the AS

Re: [FalconJx] progress update

2013-03-25 Thread Erik de Bruin
>> Are you saying that you are planning to switch to FalconJX soon? > Soon === Now That is... interesting :-) I guess it'll be a late night for me tonight. I have to set up the JS part of the FlexJS parsing. I've got the MXML in place, but the JS part will take me a bit of time. Are you up agains

Re: [FalconJx] progress update

2013-03-25 Thread Alex Harui
Om, can you give an example? IMO, there is a difference between MXML Graphics and FXG. To me, FXG is stuff in an FXG file exported from several Adobe design tools. The internal pieces are not manipulated at run time. Today, FXG assets are compiled into Sprites and other SWF primitives. MXML Gr

Re: [FalconJx] progress update

2013-03-25 Thread Erik de Bruin
Om, > Just to be clear, for all practical purposes, when I say FXG, I really mean > MXML. This is because, the Flex implementation of FXG ensures that FXG > elements can be pluggable inline into any MXML component. So, if we are to > support MXML, then we must support FXG. > > In what I am doing

Re: [FalconJx] progress update

2013-03-25 Thread Om
On Mon, Mar 25, 2013 at 12:09 PM, Alex Harui wrote: > My answers in-line > > > On 3/25/13 11:55 AM, "Erik de Bruin" wrote: > > > Om, > > > > 1) the wiki is mostly current, but as a work in progress: if it > > doesn't work, ask and we will fix ;-) > > > > 2) CSS resulting from...? I'm not familia

Re: [FalconJx] progress update

2013-03-25 Thread Om
On Mon, Mar 25, 2013 at 11:55 AM, Erik de Bruin wrote: > Om, > > 1) the wiki is mostly current, but as a work in progress: if it > doesn't work, ask and we will fix ;-) > > 2) CSS resulting from...? I'm not familiar with FXG etc., so my > questions are bound to be naive as well, as you'll notice.

Re: [FalconJx] progress update

2013-03-25 Thread Alex Harui
My answers in-line On 3/25/13 11:55 AM, "Erik de Bruin" wrote: > Om, > > 1) the wiki is mostly current, but as a work in progress: if it > doesn't work, ask and we will fix ;-) > > 2) CSS resulting from...? I'm not familiar with FXG etc., so my > questions are bound to be naive as well, as yo

Re: [FalconJx] progress update

2013-03-25 Thread Erik de Bruin
Om, 1) the wiki is mostly current, but as a work in progress: if it doesn't work, ask and we will fix ;-) 2) CSS resulting from...? I'm not familiar with FXG etc., so my questions are bound to be naive as well, as you'll notice. Basically we have access to whatever the compiler (Falcon-main, if y

Re: [FalconJx] progress update

2013-03-25 Thread Om
Erik, I am planning to get FalconJX working on my machine soon. Before I start digging into it, 1. Are these wiki pages current? https://cwiki.apache.org/confluence/display/FLEX/AS+to+JS+-+the+%27goog%27+Way https://cwiki.apache.org/confluence/display/FLEX/FalconJx+Prototype 2. Do you have a

[FalconJx] progress update

2013-03-25 Thread Erik de Bruin
Hi, Just 'checking in': FalconJx can now compile the FlexJSTest_again example from the command line, using these arguments: +env.PLAYERGLOBAL_HOME=/Users/erik/Documents/ApacheFlex/dependencies/PlayerGlobal/player +playerglobal.version=11.1 -load-config="/Applications/Adobe Flash Builder 4.7/sdks/