On 3/22/16, 5:38 AM, "OK" <[email protected]> wrote:

>Hi,
>with the goal to get a reusable 'business logic' that works for the
>standard
>SDK and FlexJS I'm trying to get rid of the flex/flash dependencies.
>
>Could mx.collections.ArrayList replaced by
>org.apache.flex.collections.ArrayList without any risk using the standard
>SDK?

Well it depends.  In keeping with the Pay-As-You-Go (PAYG) principle,
org.apache.flex.collection.ArrayList is the most bare-bones Ilist
implementation.  Mx.collections.ArrayList does a lot more: it watches each
item for changes, it handles serialization, and maybe a few other things.
IMO, in FlexJS these capabilities would be added as beads and possible
aggregated into higher-level collections
(ArrayListWithItemChangeDetection).  That's because it is wasteful to scan
a array of the 50 US states for change detection.

It would be great for some volunteer to start working on beads that
provide the missing functionality.

Thanks,
-Alex

Reply via email to