flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] Summary of things that should be noted when starting a new project
Date Wed, 02 Dec 2015 17:40:27 GMT


On 12/2/15, 1:34 AM, "OK" <OKrueger@edscha.com> wrote:

>Alex Harui wrote
>> If you structure your app
>> so the data I/O always presents Value Objects to the rest of the app,
>>then
>> you swap out the data I/O from XML/AMF to JSON by just changing one SWC.
>
>I already moved from AMF to JSON but what do you mean with "...by just
>changing one SWC"?
>Outsourcing the data I/O into a separate lib/swc?

Yes, or some other way of separating the functionality.  But since you are
already using JSON you're probably fine unless you want to use value
objects so the compiler and runtime will type-check your code.

-Alex

Mime
View raw message