Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05D37E481 for ; Tue, 4 Dec 2012 17:48:06 +0000 (UTC) Received: (qmail 42494 invoked by uid 500); 4 Dec 2012 17:48:04 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 42468 invoked by uid 500); 4 Dec 2012 17:48:04 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 42376 invoked by uid 99); 4 Dec 2012 17:48:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 17:48:04 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 17:47:57 +0000 Received: by mail-ie0-f175.google.com with SMTP id qd14so6500867ieb.6 for ; Tue, 04 Dec 2012 09:47:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=59cVEqADsOHVbeQA/gSPifoFK9gLfho/Z363mcvwMvQ=; b=JaHX5v3jrK8HvtxxFE3qpMrJujCkggwZN0D+aIt/lhb5902ATY5Y7tiE671kLimPKy oUwjEF6KF7AqiuVM3aU/Jt9YCneNIqipw4tcdZESyFT9W9hakP+1bmhuyXHucdmyzbAY veJmjgLYczHhUnzJaeq+T3BAQu50v+SFYoPmo/av5/G/FRCDAsKbj02bz04e0NbJ6XMc /AE0WuA77vrW+mZW5fzZSm2UhnvIfrfGlCCK6IYWbMNa6kQ2pYXOxNpaUsJGqbjeAPg0 6BRf82FFhOGX4PewllHi3VbKm4VeWU2HyIh0dg39cNfCfjhxshB7HC0M1QMaGMP1eSyC LY2g== MIME-Version: 1.0 Received: by 10.50.152.198 with SMTP id va6mr3601283igb.42.1354643255720; Tue, 04 Dec 2012 09:47:35 -0800 (PST) Received: by 10.64.98.98 with HTTP; Tue, 4 Dec 2012 09:47:35 -0800 (PST) In-Reply-To: References: Date: Tue, 4 Dec 2012 18:47:35 +0100 Message-ID: Subject: Re: [FalconJS] Using Google Closure Tools From: Erik de Bruin To: "flex-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkid2fl0VAXvoKKYQL7NwxMFNVK9sKYWGTM9wCBR7woJY1d/gULqw1fuTcocQGMnxpQsmZi X-Virus-Checked: Checked by ClamAV on apache.org @Alex: no, not yet checked in, I don't like to check in code that doesn't 'compile' ;-) A couple of days more... @Omar: no, I didn't. The original FalconJS POC and demonstration code already have a great deal of Closure annotation in it, so I figured the compiler was geared towards that already. Also, I'm not only setting up the Closure Compiler, but also the Linter and the Builder. The last one is particularly interesting, as it "compliles" the ENTIRE application (framework AND application code) into one file, resolving dependencies, optimising the heck out of what is needed etc. That, and the fact that with the Closure annotations you can build code that pretty much allows for most features in AS, as long as you compile it with GCC. EdB On Tue, Dec 4, 2012 at 6:29 PM, Alex Harui wrote: > Did you check this in? I'm not seeing any commit emails from you. > > > On 12/4/12 7:50 AM, "Erik de Bruin" wrote: > >> Hi, >> >> After a lot of reading, trying and testing, as well as looking at the >> current code and compiler output, I think the project is best of using >> the Google Closure Tools. Both for developing and deploying FlexJS >> components and applications. I've implemented them into the FlexJS >> workflow, and provided instructions on how install and use them: >> Closure Linter, -Compiler, -Builder and finally the -Library [1]. The >> end result of this toolchain will highly optimized and compressed JS, >> while allowing for an intermediate step (for dev/debug) that supports >> all major AS features (inheritance, interfaces, variable scope, >> constants, strong typing etc.). >> >> Not all the pieces are in place, so a little patience, please ;-) >> >> Also, as I refactored the framework "a bit", the FalconJS people can >> dig their teeth into a new output template/pattern (simpler than the >> one currently used). >> >> EdB >> >> 1: https://developers.google.com/closure/ >> >> >> >> -- >> Ix Multimedia Software >> >> Jan Luykenstraat 27 >> 3521 VB Utrecht >> >> T. 06-51952295 >> I. www.ixsoftware.nl > > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui > -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl