Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Om
On Tue, Jan 22, 2013 at 9:39 AM, Alex Harui wrote: > Erik, > > I think having a separate folder off root will make it hard to maintain the > parallel-ism. That would be two different SVN projects to figure out how > to > release together, and two different checkins to keep things in sync. > > In

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Om
On Mon, Jan 21, 2013 at 8:46 PM, Alex Harui wrote: > > > > On 1/21/13 5:21 PM, "Om" wrote: > > > On Fri, Jan 18, 2013 at 11:49 AM, Alex Harui wrote: > > > >> Changing subject because GPU rendering usually gets a lot of replies. > >> > >> In this new framework, I am trying to separate everything

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Om
On Tue, Jan 22, 2013 at 2:40 AM, Erik de Bruin wrote: > Om, > > I see your point. Here's mine: Alex's new framework has an AS and a JS > part. Currently projects build using his AS part are compiled with > FalconJS to run in the browser using his JS framework. Alex has named > his framework combo

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Frank Wienberg
On Tue, Jan 22, 2013 at 5:34 PM, Michael Schmalle wrote: > This is how Android works to, you draw to Bitmaps. > > It has a "display list" for layout like algorithms but the Canvas is > passed around to be drawn on. > > Isn't that similar to a Flash Stage with cacheAsBitmap=true? At least this is h

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Alex Harui
Erik, I think having a separate folder off root will make it hard to maintain the parallel-ism. That would be two different SVN projects to figure out how to release together, and two different checkins to keep things in sync. In my vision, the new framework does need to allow for alternative im

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Michael Schmalle
This is how Android works to, you draw to Bitmaps. It has a "display list" for layout like algorithms but the Canvas is passed around to be drawn on. Mike Quoting Kevin Newman : Flex could do something more like they do on iOS. They can build an entire layout as one bitmap, but to get par

RE: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Kessler CTR Mark J
/nay lol. http://www.doesmybrowsersupportwebgl.com/ -Mark -Original Message- From: Kevin Newman [mailto:capta...@unfocus.com] Sent: Tuesday, January 22, 2013 10:37 To: dev@flex.apache.org Subject: Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be) WebGL isn't suppo

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Kevin Newman
Flex could do something more like they do on iOS. They can build an entire layout as one bitmap, but to get parts that can change or animate, they use layer-backing. So they only create a new quad for the parts they need to. This seems to be a better strategy on mobile than a deep display list,

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Kevin Newman
WebGL isn't supported by IE (and various flavors of WebKit and maybe not Opera either), so you'd have to do two implementations, one in WebGL, and a fallback in Canvas (which in IE is GPU accelerated). Kevin N. On 1/22/13 7:26 AM, Kessler CTR Mark J wrote: I was going to recommend trying

RE: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Kessler CTR Mark J
similar to WebGL? -Mark -Original Message- From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of Om Sent: Monday, January 21, 2013 20:22 To: dev@flex.apache.org Subject: Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be) On Fri, Jan 18, 2013 at 11:49 AM, Alex Harui wrot

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Erik de Bruin
Om, I see your point. Here's mine: Alex's new framework has an AS and a JS part. Currently projects build using his AS part are compiled with FalconJS to run in the browser using his JS framework. Alex has named his framework combo FlexJS. I think that name (FlexJS) should be revisited as that fra

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-22 Thread Om
On Mon, Jan 21, 2013 at 11:02 PM, Erik de Bruin wrote: > Hi, > > >> I spent some time going through your new framework. First off, I think > it > >> deserves to be called something else. The "JS" in "ASJS" implies that > it > >> is a JS specific implementation of the framework. In reality it i

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-21 Thread Erik de Bruin
Hi, >> I spent some time going through your new framework. First off, I think it >> deserves to be called something else. The "JS" in "ASJS" implies that it >> is a JS specific implementation of the framework. In reality it is not. > Well, I called that to show that it is a parallel framework.

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-21 Thread Alex Harui
On 1/21/13 5:21 PM, "Om" wrote: > On Fri, Jan 18, 2013 at 11:49 AM, Alex Harui wrote: > >> Changing subject because GPU rendering usually gets a lot of replies. >> >> In this new framework, I am trying to separate everything into little >> chunks >> I call "beads". The visual components ar

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-21 Thread Om
On Fri, Jan 18, 2013 at 11:49 AM, Alex Harui wrote: > Changing subject because GPU rendering usually gets a lot of replies. > > In this new framework, I am trying to separate everything into little > chunks > I call "beads". The visual components are supposed to have a minimum of > three beads,

Re: [FalconJx] where I'm going to be

2013-01-19 Thread Alex Harui
On 1/19/13 8:15 AM, "Frank Wienberg" wrote: > After some time off, I just became aware of this discussion, and it has > already become quite longish, so please forgive me if I missed or > misunderstood some arguments. > > That said, my understanding of MXML is that it is just another (for som

Re: [FalconJx] where I'm going to be

2013-01-19 Thread Frank Wienberg
After some time off, I just became aware of this discussion, and it has already become quite longish, so please forgive me if I missed or misunderstood some arguments. That said, my understanding of MXML is that it is just another (for some use cases more convenient) syntax to write an ActionScrip

Re: ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-18 Thread Jonathan Campos
Very cool interesting work Alex. Going to need to stop and check this out. I've been using feathers recently for a few display object heavy mobile apps and it has worked well. Would like to get back some parts from flex. When I was playing with making a starling version of flex I felt the need for

ASJS and Starling (was Re: [FalconJx] where I'm going to be)

2013-01-18 Thread Alex Harui
Changing subject because GPU rendering usually gets a lot of replies. In this new framework, I am trying to separate everything into little chunks I call "beads". The visual components are supposed to have a minimum of three beads, one each for MVC, and the V is essentially the Skin. Components

RE: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Quoting Gordon Smith : I thought you said MXML shouldn't be used to create javascript. I don't have a clear recollection. I was probably recommending that MXML be converted into a data structure or a bytestream that would get interpreted by a small bit of JavaScript (or any other langu

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Om
On Fri, Jan 18, 2013 at 10:00 AM, Alex Harui wrote: > That's why I've chosen a new > parallel framework: I've already got a prototype up and running, and I > would not be able to do that with the current Flex SDK. Hopefully the > patterns I am using the new framework are extensible enough to

RE: [FalconJx] where I'm going to be

2013-01-18 Thread Gordon Smith
e that is a databinding expression has to generate all sorts of extra stuff like Watcher instances in other places. - Gordon -Original Message- From: Michael Schmalle [mailto:apa...@teotigraphix.com] Sent: Friday, January 18, 2013 10:27 AM To: dev@flex.apache.org Subject: RE: [FalconJx

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Quoting Alex Harui : Either do I, the way I see it is we traverse the MXML AST. I just have to look at what you have done to know what "state" needs to be saved as we are walking the MXML AST. I think all "state" is kept as a variables in the "Context" class. The "state" is mostly trying

RE: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Quoting Gordon Smith : There needs to be an intermediate "model" that can hold the MXML data structure AFTER the AST. (I guess) I don't see why you would need to transform the MXML AST into yet another model. There are already two models for MXML and they should be sufficient. The synt

RE: [FalconJx] where I'm going to be

2013-01-18 Thread Gordon Smith
piece of semantic information that was in the MXML file. - Gordon -Original Message- From: Michael Schmalle [mailto:apa...@teotigraphix.com] Sent: Friday, January 18, 2013 4:21 AM To: dev@flex.apache.org Subject: Re: [FalconJx] where I'm going to be No, the Falcon compi

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Alex Harui
> > Either do I, the way I see it is we traverse the MXML AST. I just have > to look at what you have done to know what "state" needs to be saved > as we are walking the MXML AST. I think all "state" is kept as a variables in the "Context" class. The "state" is mostly trying to remember what th

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Alex Harui
On 1/18/13 3:24 AM, "Fréderic Cox" wrote: > I'm following your work with great interest, but I'm afraid as a "regular" > AS3 developer with no background in compilers this is a bit too technical > for me. I was wondering if you could explain in a non-technical way what > the status of the proj

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Quoting Alex Harui : On 1/18/13 3:49 AM, "Michael Schmalle" wrote: Erik, MXML comes after ActionScript. Sorry but I have to do things in order. This is where projects go wrong, where people start cutting corners and skipping things they should finish. 10 years experience with this stuff

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Alex Harui
On 1/18/13 3:41 AM, "Erik de Bruin" wrote: > Frederic, > > There are currently two JS cross compilation projects happening: > FalconJS and FalconJx. > > FalconJS is a project started by Alex Harui. FTR, it was started by another Adobe engineer. I am just shepherding its donation to Apache a

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Quoting Alex Harui : On 1/18/13 4:21 AM, "Michael Schmalle" wrote: No, the Falcon compiler turns MXML AST into straight ABC instructions. This is why Alex had to do majic with the MXMLClassDirectiveProccessor. So right now, there is no working translation of MXML into a Class file. Also

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Alex Harui
On 1/18/13 3:49 AM, "Michael Schmalle" wrote: > Erik, > > MXML comes after ActionScript. Sorry but I have to do things in order. > This is where projects go wrong, where people start cutting corners > and skipping things they should finish. 10 years experience with this > stuff and various ar

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Alex Harui
On 1/18/13 4:21 AM, "Michael Schmalle" wrote: > No, the Falcon compiler turns MXML AST into straight ABC instructions. > > This is why Alex had to do majic with the > MXMLClassDirectiveProccessor. So right now, there is no working > translation of MXML into a Class file. > > Also this has be

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Alex Harui
On 1/18/13 8:11 AM, "Fréderic Cox" wrote: > That is interesting stuff! And more understandable now :-) (not fully yet > ;-)) > > Thanks for your time and effort. I'm very pleased to see Erik has plans > for the views handling from MXML to HTML DOM. That is an interesting part > of the project

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Frédéric THOMAS
Yeah but good enough to dare glance at the code now :) Thanks again. -Fred -Message d'origine- From: FrédericCox Sent: Friday, January 18, 2013 5:11 PM To: dev@flex.apache.org Subject: Re: [FalconJx] where I'm going to be That is interesting stuff! And more understa

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Fréderic Cox
>Sent: Friday, January 18, 2013 4:51 PM >To: dev@flex.apache.org >Subject: Re: [FalconJx] where I'm going to be > > >Quoting Frédéric THOMAS : > >> Mike, >> >> Yes, that's a clear introduction of what it aims to and it was >>important >> to

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Frédéric THOMAS
apache.org Subject: Re: [FalconJx] where I'm going to be Quoting Frédéric THOMAS : Mike, Yes, that's a clear introduction of what it aims to and it was important to clarify that. Ok good. On the wiki page, l would like to understand little bit more, even if maybe, not sure, I can

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
verriding the parts of the two languages that differ for source code production. In the end, FalconJx is actually an ActionScript emitter first, other languages next. Mike -Fred. -Message d'origine- From: Michael Schmalle Sent: Friday, January 18, 2013 4:03 PM To: dev@flex.ap

RE: [FalconJx] where I'm going to be

2013-01-18 Thread Michael A. Labriola
>Didn't the 'old' compiler (pre-Falcon) translate MXML into intermediate AS and >offer the option to safe those intermediate files? >I think that the presentation guy used these intermediate files (classes, I'm >sure) instead of the actual MXML to get his prototype to work. I'm however not >sure

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Great Erik! We are on the same page then, this is even better that I thought. :) Thanks for writing that. Mike Quoting Erik de Bruin : When I say business logic, I mean, no views, no ui components, no flash display list to javascript DOM conversations. Just business logic. And that's where

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Erik de Bruin
> When I say business logic, I mean, no views, no ui components, no flash > display list to javascript DOM conversations. Just business logic. And that's where I come in. Once I'm done with helping out Mike getting the business logic up and running, I plan on starting work on the JS framework that

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Frédéric THOMAS
y, it would be nice if it would be explained. -Fred. -Message d'origine- From: Michael Schmalle Sent: Friday, January 18, 2013 4:03 PM To: dev@flex.apache.org Subject: Re: [FalconJx] where I'm going to be Yeah, When I wrote that I was basically brainstorming and talking to

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
basic that could help to understand what is written on the wiki page. -Fred -Message d'origine- From: Michael Schmalle Sent: Friday, January 18, 2013 3:38 PM To: dev@flex.apache.org Subject: Re: [FalconJx] where I'm going to be I outlined some of this a while ago; https://cwik

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Frédéric THOMAS
to understand what is written on the wiki page. -Fred -Message d'origine- From: Michael Schmalle Sent: Friday, January 18, 2013 3:38 PM To: dev@flex.apache.org Subject: Re: [FalconJx] where I'm going to be I outlined some of this a while ago; https://cwiki.apache.org/co

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
ld be also welcomed I guess. -Fred -Message d'origine- From: Carol Frampton Sent: Friday, January 18, 2013 3:30 PM To: dev@flex.apache.org Subject: Re: [FalconJx] where I'm going to be This would be good info to post somewhere on the website since I'm sure Frederic isn'

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Hi Carol, The problem with this project is exactly what you are talking about. Alex worked on a full cross compile of logic and views. The project I started only cares about AS3 -> JS conversion at the moment. So up until recently it was hard to describe the difference because FalconJx was

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Frédéric THOMAS
PM To: dev@flex.apache.org Subject: Re: [FalconJx] where I'm going to be This would be good info to post somewhere on the website since I'm sure Frederic isn't the only one wondering. Carol On 1/18/13 6 :41AM, "Erik de Bruin" wrote: Frederic, There are currently two JS cross compi

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Carol Frampton
This would be good info to post somewhere on the website since I'm sure Frederic isn't the only one wondering. Carol On 1/18/13 6 :41AM, "Erik de Bruin" wrote: >Frederic, > >There are currently two JS cross compilation projects happening: >FalconJS and FalconJx. > >FalconJS is a project started

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
No, the Falcon compiler turns MXML AST into straight ABC instructions. This is why Alex had to do majic with the MXMLClassDirectiveProccessor. So right now, there is no working translation of MXML into a Class file. Also this has been brought up between Alex and Gordon that doing a straig

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Fréderic Cox
Understood, thanks and good luck guys! I will monitor your work but first I need to learn about AS and MXML in more detail, where can I start? Because I thought MXML was just actionscript classes where a compiler would parse the MXML and generate the appropriate AS class.

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Erik de Bruin
Didn't the 'old' compiler (pre-Falcon) translate MXML into intermediate AS and offer the option to safe those intermediate files? I think that the presentation guy used these intermediate files (classes, I'm sure) instead of the actual MXML to get his prototype to work. I'm however not sure if Falc

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
And to be completely honest here, so you have the proper expectations; I usually before starting something like the MXML task, turn up psychedelic trance music really loud, stare at the screen for a couple hours, write some code, refactor the code. Stare at it again for about 1 day, look th

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Quoting Erik de Bruin : Mike, I'm not trying to get you to do stuff, certainly not 'out of order'. First things first, and we'll have our hands full on AS -> JS, to be sure. Just thinking out loud: at some point I saw a video where an Adobe guy explained one of the early FalconJS prototypes (

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Erik de Bruin
Mike, I'm not trying to get you to do stuff, certainly not 'out of order'. First things first, and we'll have our hands full on AS -> JS, to be sure. Just thinking out loud: at some point I saw a video where an Adobe guy explained one of the early FalconJS prototypes (Pete?) and he worked around

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Quoting Fréderic Cox : I'm following your work with great interest, but I'm afraid as a "regular" AS3 developer with no background in compilers this is a bit too technical for me. I was wondering if you could explain in a non-technical way what the status of the project is at this moment. Ques

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Erik, MXML comes after ActionScript. Sorry but I have to do things in order. This is where projects go wrong, where people start cutting corners and skipping things they should finish. 10 years experience with this stuff and various architectures tells me finish the foundation before we d

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Erik de Bruin
Frederic, There are currently two JS cross compilation projects happening: FalconJS and FalconJx. FalconJS is a project started by Alex Harui. It is currently the most complete implementation and has (limited?) MXML parsing. The FalconJS compiler will take an MXML and AS project and output a vali

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Fréderic Cox
I'm following your work with great interest, but I'm afraid as a "regular" AS3 developer with no background in compilers this is a bit too technical for me. I was wondering if you could explain in a non-technical way what the status of the project is at this moment. Questions I have: - I have an

Re: [FalconJx] where I'm going to be

2013-01-18 Thread Erik de Bruin
Mike, how does that relate to MXML (if at all...)? wrt. MXML, will you (someone) be able to take what Alex did for FalconJS and put that in FalconJx, or does it not work like that? I'm trying to get a feeling for where we are in relation to the two other Falcons and MXML seems to be a big thing

[FalconJx] where I'm going to be

2013-01-18 Thread Michael Schmalle
Hey all, Since the project is really taking shape thanks to our great cooperation, I am going to focus on the nemesis I have left and that is finishing of the ActionScript emitter. This project blew up fast with Erik contributing, I didn't get a chance to fully finish the ActionScript imp