royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <>
Subject Re: Substitutes in Apache Royale
Date Thu, 15 Feb 2018 21:01:36 GMT
Hi Alina,

I can't guarantee that you will be in production in six months, but I believe we can help
you get to the point where every screen shows up and fills with data and we are fixing bugs
in corner cases.   We might also be chasing down memory leaks and things like that.    My
strategy for lots of things is to do the big things first and polish it later.  For example,
I recently pushed some basic Virtual Item Renderer support for Royale, but I'm pretty sure
it will have bugs in corner cases, like deleting things when scrolled to the bottom.  But
most apps start at the top and it will get you going and we'll fix those corner cases later.

I want to finish up some infrastructural things in Royale over the next couple of weeks, then
I will adjust the compiler to generate an API report.  Once we see what that looks like, I
 should be able to help take the sample code you provided and make it work in Royale.  So
maybe in a month or so, you'll see more activity around your code.  Right now I need to clean
up a few things so we can be more efficient working with you.

You won't need an IDE to generate the API report.  If you know what compiler settings you
are using for your Flex app, you can just run a Royale compiler from the command-line with
the same arguments.  I believe that we are likely to make compiling your Flex app with the
Royale compiler one of the steps in migrating. The Royale compiler will catch some syntax
issues that the Flex compiler does not.

More later,

From: Alina Kazi <<>>
Reply-To: "<>" <<>>
Date: Thursday, February 15, 2018 at 2:13 AM
To: "<>" <<>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Thank you so much. You gave me hope that I can achieve my target on time and at least I am
working in right direction.
At most places I'm using getItemAt(0) to access the element in ArrayCollection.
At some places myArrayCollection[0].propertyname  to access it

If you will modify the Royale compiler, I will definitely try compiling my Flex app with the
Royale compiler and generate a report of APIs used.
Currently I am using Visual Studio Code and apache royale 0.9.0 release is installed.I will
need your guidance which IDE and apache royale release should I use to generate that report.

Alina Kazi
From: Alex Harui []
Sent: Thursday, February 15, 2018 1:40 PM
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Other than ArrayCollection, that looks right.  There will be sorting classes eventually.

I think there are two buckets of things that you are going to need:

Things we haven't written yet:
  - DividedBox/Container (mostly done)
 - Menu/MenuBar
 - VariableRowHeight
 - Editable DataGrids
 - Sorting?

Things we have written, but aren't packaged in a way that makes migration easy:
 - TitleWindow
 - Canvas
 - ArrayCollection

For ArrayCollection, do you use array indexing (myArrayCollection[0]) or do you access it
as getItemAt(0)?

You have so many files to port, it is tempting to create a Spark-ish and MX-ish component
set.  They wouldn't be fully backward compatible but would try to implement the most commonly
used APIs.  I'm wondering what percentage of Flex APIs you actually used in your app.  If
I modify the Royale compiler, could you try compiling your Flex app with the Royale compiler
and generate a report of APIs used?


From: Alina Kazi <<>>
Reply-To: "<>" <<>>
Date: Wednesday, February 14, 2018 at 11:06 PM
To: "<>" <<>>
Subject: Substitutes in Apache Royale


I have replaced few imports in Apache Royale Project after comparison in terms of functionality.
As you all are more familiar to Flex and Apache Royale.
Are these correct substitutes?
import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;
import; // instead of import;
import; // instead of import;
import; //instead of import;
import mx.collections.ArrayCollection; //very similar to org.apache.royale.collections.TreeData
import mx.collections.Sort; // No Alternate found
import mx.collections.SortField;// No Alternate found
import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or .IPopUpHost
import org.apache.royale.utils.StringUtil;// instead of import mx.utils.StringUtil;


Alina Kazi

View raw message