[flexcoders] Re: Data caching dto's

2008-08-10 Thread flexaustin
Actually I can compare up to 2000 objects. What I am thinking is the first time they load the app I will download all their data to an RSL on their computer then the next time they visit see how much the data has changed if any. If I anything is different then remove, add, or change what was their

Re: [flexcoders] Re: Data caching dto's

2008-08-08 Thread Brian Deitte
This message is probably too late, but I'll answer anyways. If you're just trying to compare ten objects at a time, I'd just use the Array technique that you described. Assuming you need to do a deep equality check, just use ObjectUtil.equals() (or something like that, it's in the Flex

[flexcoders] Re: Data caching dto's

2008-08-07 Thread flexaustin
Actually obtaining the data isn't the issue. I more interested how do I go about comparing the old data to the new data? Array, some sort of custom hash, or xml. Which is faster or better? I would think array would be best by comparing old data array to new data array and then creating a third