royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OmPrakash Muppirala <bigosma...@gmail.com>
Subject Re: Migrating Flex Apps to Royale Emulation Components
Date Fri, 09 Mar 2018 03:44:35 GMT
Nice!  This is great progress indeed.  Thanks to you and Peter!

Regards,
Om

On Thu, Mar 8, 2018 at 7:37 PM, Alex Harui <aharui@adobe.com.invalid> wrote:

> Hi Folks,
>
> As you hopefully know, we've started on creating new Royale component sets
> that more closely match the APIs used in Flex.  These components will not
> be 100% backward compatible with Flex, but should go a long way towards
> minimizing the number of changes required to your code.
>
> I am pleased to report that we reached a first milestone today. We started
> with a simple 3-line Flex Hello World:
>
> <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>     xmlns:s="library://ns.adobe.com/flex/spark"
>     xmlns:mx="library://ns.adobe.com/flex/mx">
>   <mx:Label text="Hello World" />
> </mx:Application>
>
>
> This compiles in Flex and produces your generic HelloWorld.swf.  Then we
> renamed the mx namespace to point to the MXRoyale emulation components as
> shown below:
>
> <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>     xmlns:s="library://ns.adobe.com/flex/spark"
>     xmlns:mx="library://ns.apache.org/royale/mx">
>   <mx:Label text="Hello World" />
> </mx:Application>
>
> We compiled this app with the Royale compiler and it produced a working JS
> Hello World.  The placement of the text wasn’t exactly the same.  That is
> still work in progress.  But I think it shows the potential of reducing
> the migration effort (but it will not be zero).
>
>
> It would help greatly to have more folks helping to build out the
> emulation components.  We are still smoothing out the process, but we have
> tried to document the process in the wiki [1].  If every committer were to
> add even one API a day, it would greatly speed up how soon we can provide
> this set to migrating users.
>
> Thanks,
> -Alex
>
> [1] https://github.com/apache/royale-asjs/wiki/Emulation-Components
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message