Makes sense. From my perspective, here’s what I’m looking to do:
I have a rather large application which has a pretty clean divide between business logic and view. 1) I’m looking to adapt the business logic part so it’ll cross-compile into Javascript, pretty much as-is. I expect to have to work on some of the capabilities and classes to make them cross-compilable. XML processing is one example. 2) I’d like to port the view into ActionScript which would compile to Easel.js-compatible Javascript. My understanding is that folks have already been working on the Easel.js problem. 3) I will likely be interested in using and expanding the FlexJS components as well for UI components, although straight I expect there to be lots of gotchas along the way, but I’m prepared to get my hands dirty. Who knows maybe I’ll even learn a thing or two about the compiler (although those discussions are way over my head). On Jul 22, 2015, at 10:40 PM, Michael Schmalle <teotigraphix...@gmail.com> wrote: > Harbs, > > Externs is just a fancy way of saying, you can use a .swc that contains API > for the JavaScript DOM in your as to js projects. You must include this swc > when cross compiling for type checking and such. > > So what happened was, Fread and I worked together to get a way to just > cross compile straight javascript using the DOM. > > FlexJS to me has become a couple things, Alex and Peter are working on a > component framework that works in SWF and JS. We just created a way to use > ActionScript to make straight Javascript applications. > > Note; For now there is a google base.js dependency that is from FlaexJS > framework but eventually, I plan on making the type of javascript > dependency options and configurable, like allowing RequireJS or AMD if you > don't want to use Google base.js > > Make sense? > > Mike > > > > On Wed, Jul 22, 2015 at 1:07 PM, Harbs <harbs.li...@gmail.com> wrote: > >> To tell you the truth, I have not understood much of the discussion >> regarding externs. I think I got the basic idea, but I’m not really sure. >> >> Since I’m starting from scratch, I’m totally open to suggestions on how I >> should jump in. I’m just clueless as to how to start. Jumping into >> something new is always the hardest part for me… ;-) >> >> FYI, I expect to be devoting a large percentage of my time on targeting JS >> in the coming months, and I have a vested interest in the AS to JS >> approach. After my initial orientation and basic project setup, I think my >> first goal will be creating some classes to handle XML processing (similar >> to XML and XMList, but probably a bit more limited and more (modern) >> Javascript friendly. >> >> This is not really pressing for this week. I don’t have a hard deadline on >> when I need to be setup, but this project has been working its way up my >> priority list, and it’s currently pretty much at the top. >> >> On Jul 22, 2015, at 5:24 PM, Frédéric THOMAS <webdoubl...@hotmail.com> >> wrote: >> >>> Hi Harbs, >>> >>> I won't be able to do anything regarding the wiki before next week, >> actually I as waiting for the FlexJS release but I'm fine to give some >> informations about setting up FlexJS project using IntelliJ before. >>> >>> It wasn't in my plan to do it for ASJS projects though especially that >> now we have 2 ways to code the JS part, either directly in GOOG JS or in >> AS3 via externs, with the first approach, I had to create 2 projects, with >> the 2nd one, 2 build configurations, I proposed to change the compiler that >> it could handle this last one in one step (which would mean only 1 project >> / 1 build configuration in IntelliJ) as soon as COMPILE:JS and COMPILE:AS3 >> were defined to AUTO which would eliminate the need to define the js output >> type as I could infer it. >>> Anyway, I guess this would deserve another wiki page than the one >> mentioned before. >>> >>> Frédéric THOMAS >>> >>> >>> ---------------------------------------- >>>> Subject: Re: [FlexJS] IntelliJ Integration >>>> From: harbs.li...@gmail.com >>>> Date: Wed, 22 Jul 2015 12:50:02 +0300 >>>> To: dev@flex.apache.org >>>> >>>> This discussion was incredibly long and I had trouble following how to >> get going. >>>> >>>> I’m trying to set myself up with FlexJS for the first time. I’d like to >> figure out how I can develop working off the repo so I can work on the SDK >> while I go. Since I’m first starting with FlexJS, I’d like to try and do so >> with IntelliJ rather than FB. >>>> >>>> I took a look at the wiki and the page on using IntelliJ is empty: >> https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+IntelliJ+IDEA >>>> >>>> So here’s what would be helpful: >>>> >>>> Instructions on getting going working off the source: >>>> 1) Assuming flex-asjs is checked out from the repo, what steps do I >> need to do to build from source to be able to use it. >>>> 2) How do I link this to FB/IntelliJ? >>>> 3) What else needs to be done? >>>> >>>> Additionally: >>>> 1) How do you get the nightly build? >>>> 2) How do you switch targets? >>>> >>>> >>> >> >>