Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C07BEFE7 for ; Fri, 25 Jan 2013 18:22:52 +0000 (UTC) Received: (qmail 32678 invoked by uid 500); 25 Jan 2013 18:22:51 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 32640 invoked by uid 500); 25 Jan 2013 18:22:51 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 32629 invoked by uid 99); 25 Jan 2013 18:22:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 18:22:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.219.54] (HELO mail-oa0-f54.google.com) (209.85.219.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 18:22:45 +0000 Received: by mail-oa0-f54.google.com with SMTP id n9so804245oag.27 for ; Fri, 25 Jan 2013 10:22:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=C8ZxWokwZ21UBNAEnNTa9uitsS1DEX387m28v/65XBQ=; b=KG3EFdj/2naIn1QsCRwyxrVogxAvWok27B1f3EBbs2uwnYvg5UKc2ORu0GFeNHgqPE jh20xwDx8l1noZ60KUI0GmXxeAWisSRwfI2VlH2tHr+eilT2XgCKX3jeNgwHV4rgEsdL yKyQZLK4Jo8QE6eUcP1fZAxaG8vO0lKXRt8PVu3BVPjqVZzy/5wBudJb61jAfWWYX+zv JS7kSB5sx1/Aghhuqcqh9wIa8YQuvkKhyTwaTfR1WBy0/zQCkP0efQbBPT+qZD6IWrHB 9xsTsR5rg4oGiuv7GgOSJJOg0ZLmH7ehj15m7hn4bFFKosFmfGUCMxtu1QwkExVx7/1T KSzQ== MIME-Version: 1.0 X-Received: by 10.60.3.193 with SMTP id e1mr5382069oee.39.1359138143678; Fri, 25 Jan 2013 10:22:23 -0800 (PST) Received: by 10.182.161.100 with HTTP; Fri, 25 Jan 2013 10:22:23 -0800 (PST) In-Reply-To: References: Date: Fri, 25 Jan 2013 19:22:23 +0100 Message-ID: Subject: Re: [ASJS] AS to HTML5 in action: announcing the ASJS Publisher and the VanillaSDK JS framework. From: Erik de Bruin To: "dev@flex.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm9xvMGCeUem3F5IHzlmMucenl5haboKHUxmRZamXUCKLiG8z8B4+JlBEJXJ7FhJtyKpB81 X-Virus-Checked: Checked by ClamAV on apache.org Hi, The idea behind the Vanilla SDK is that there is already a pretty good AS side UI toolkit: the Flex SDK. That means there is no need to do any work on the AS side creating a new framework. The only thing we need to build is the JS side of the equation. The Vanilla SDK philosophy is to create a JS framework that has the same public API as the Flex SDK, but with a different, platform (web native/'goog') implementation behind the scenes. This would allow for development in exactly the same way as you are now used to in Flash Builder, but would add the option to publish the project to HTML5. And I'm working on something that might actually facilitate this 'inside' the Flex SDK, which means the main objection to this approach -- developers not knowing which components and which properties are supported -- will be taken away. EdB On Fri, Jan 25, 2013 at 7:11 PM, Frank Pepermans wrote: > I concur, this is huge news for the future of Flex! Congrats to making this > possible! > > About the vanilla sdk, I have some Jangaroo experience, there you can build > a full AS Button component, > which compiles to JS without the need of a vanilla SDK. > > I assume technically you can do the same, if the basic Flash API stuff is > 'emulated' for JS and included with the compilation? > > -----Original Message----- From: Nick Tsitlakidis > Sent: Friday, January 25, 2013 6:58 PM > To: dev@flex.apache.org > Subject: Re: [ASJS] AS to HTML5 in action: announcing the ASJS Publisher and > the VanillaSDK JS framework. > > > Firstly, WELL DONE TO ALL cause this sounds epic! I haven't tried it yet > but it's already in my todo list. > > I'll go slightly off topic here and ask you if you can share your vision > about the VanillaSDK Erik. I'm reading the hundreds of emails but its kinda > hard to keep up with you guys. You do a great job and you do it fast. > > I plan on investing some time to our beloved project and spending some time > with VanillaSDK made the click for me. That's why I ask. > Also, any hints on what I should read or check to understand how I can > contribute would be really appreciated. Please keep in mind that I never > had any experience with compilers. I'm more of a 'components and apps' > developer. > > Again, congratulations guys. I hope I'll be able to join in soon. At least > I'll try. :) > > > On Fri, Jan 25, 2013 at 5:03 PM, Erik de Bruin wrote: > >> Hi, >> >> I'm proud to announce the availability of a 'proof of concept' for a >> Actionscript to HTML5/Javascript work flow. Standing on the shoulders >> of giants (Gordon, Mike, Alex et al., I'm looking at you!) I was able >> to piece together a working prototype of a full Flash Builder -> >> Browser application development tool chain. >> >> The tools are: >> - the Flex SDK. Most importantly, the goal is to allow developers to >> use the tools they know while giving them the ability to publish their >> work to a www-friendly format. >> - the FalconJx browser, which can as of today output a pretty descent >> approximation of AS in JS, the 'goog' way. >> - the ASJS Publisher, an ant script that takes the JS that FalconJx >> produces and puts it through the Google Closure Tools to create both >> intermediate and release versions of the web native application. >> - the VanillaSDK, my attempt at an AS compatible JS framework. I have >> plan for a different type of framework, even better integrated with >> the current Flex SDK, but more on that later ;-) >> >> With these new tools, you are now able (albeit in a very limited way) >> to use the regular Flex SDK for application development in your >> favorite development tool. Using the new ASJS Publisher script, you >> can compile your project into a highly optimized HTML5 application >> that will run in any modern browser. It's that simple... well, almost >> :-) >> >> As this is a prototype, there are some (ha!) limitations: >> - the VanillaSDK (the Javascript counterpart to the Flex SDK) is very >> basic indeed, with only 2 UI components: Button and Label. Both these >> components currently support only 1 or 2 properties (position and >> label or text). It does show, however, how easy it is to create these >> Flex SDK compatible UI elements. >> - not all AS language features are fully supported on the JS side yet. >> - there isn't (yet) support for MXML, but that's coming soon. >> - since this is only a proof of concept, there is almost certainly a >> lot that doesn't work -- to be honest, I'd be suprised if anything >> works at all :-) >> >> If you want to try this out, please get the latest version of the tool >> set from SVN, starting with here: >> >> https://svn.apache.org/repos/asf/flex/asjs/branches/develop >> >> Begin with the README you'll find there. After an initially >> non-trivial setup (SDK, Falcon, FalconJx and the new tools), the >> everyday use is really simple: just one command in a terminal, calling >> one ant script with one argument: this will publish your Flash Builder >> application to the 'js-intermediate' and 'js-release' directories in >> your FB project folder. Simply double click on the HTML files in >> either of these will run your application in your default browser, no >> Flash plugin needed! >> >> Please let me know if this works for you and what issues you >> encounter. Should you feel inspired, feel free to contribute, this >> part of the project can use all the help it can get! >> >> Have fun, >> >> EdB >> >> >> >> -- >> Ix Multimedia Software >> >> Jan Luykenstraat 27 >> 3521 VB Utrecht >> >> T. 06-51952295 >> I. www.ixsoftware.nl >> > > > > -- > Nick Tsitlakidis, > > CEO and Software Architect at Perfect Edge LTD. > www.perfectedz.com -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl