incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik de Bruin <e...@ixsoftware.nl>
Subject Re: [FalconJS] concepts
Date Thu, 29 Nov 2012 12:57:35 GMT
Mike,

Can you explain a little bit (maybe in pseudo-code or whatever) about
how the AS3 -> Falcon -> FalsonJS -> JS 'compilation' process works?
What I'm looking for is an idea of how the JS output is put together,
if you will. Example: how easy (or difficult) is it to exchange one JS
"class" creation method for another? Right now it's "Class =
adobe.extend(arg, arg, { theClassBody })". Is it a lot of effort to
change that output to something like "function Class()  { theClassBody
}"?

I did look at some of the Java classes that seemed relevant, but soon
realised that without first having some idea of the concepts involved,
"use the Force, read the source" wasn't going to be a useful way to
spend my time ;-)

EdB



On Thu, Nov 29, 2012 at 1:47 PM, Michael Schmalle
<apache@teotigraphix.com> wrote:
> It's not that you can't use a framework and "vanilla" js, it's that it has
> been shown that these candy frameworks that hide vanilla method calls to the
> DOM severely kill performance.  ... For the sake of just entering a $()
> dollar sign? That's a crazy tradeoff but thousands do it everyday. For
> alittle dev time saved, you kill the actual applications performance.
>
> I was just saying that using AS, you can already have a "framework" you use
> that is light, but the compiler would transcode it to the fastest possible
> js implementation, since it's now hands off.
>
> Mike
>
>
> Quoting Kessler CTR Mark J <mark.kessler.ctr@usmc.mil>:
>
>> Funniest site I've been to today.  It's a good point, but it's prob pretty
>> difficult to not use a framework at all.
>>
>> -----Original Message-----
>> From: Justin Mclean [mailto:justinmclean@gmail.com] On Behalf Of Justin
>> Mclean
>> Sent: Wednesday, November 28, 2012 18:21
>> To: flex-dev@incubator.apache.org
>> Subject: Re: [FalconJS] concepts
>>
>> Hi,
>>
>>> And to eliminate the 'IF' from your conditional statement, just a quick
>>> one:
>>> http://jsperf.com/jqury-vs-plainjs
>>
>>
>> Slightly off topic but amusing all the same:
>> http://vanilla-js.com
>>
>> Reinforces the point that if you want pure performance don't use a
>> framework and as we're generating the JS there's probably no need to use
>> one, especially one as heavy as jQuery.
>>
>> Justin
>>
>>
>
> --
> Michael Schmalle - Teoti Graphix, LLC
> http://www.teotigraphix.com
> http://blog.teotigraphix.com
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Mime
View raw message