Re: [flexcoders] Data caching dto's

2008-08-07 Thread Brian Deitte
Caching of data across browser sessions, I assume?  This is usually
done with SharedObject.  But I wonder if there's a way to rearchitect
your application so this isn't needed?  I assume that all 500 objects
aren't shown at once and that you could implement some kind of paging
mechanism.  -Brian

On Wed, Aug 6, 2008 at 3:17 PM, flexaustin [EMAIL PROTECTED] wrote:
 I was wondering if anyone has done any caching of data in Flex? And if
 so how did you do this?

 I have an application that pulls in up to 500 items and converts them
 to DTO's. The app then runs a routine, which generates objects based
 on those dto's. The generation of objects is very memory intensive so
 I need to reduce this to increase usability as right now the user has
 to wait until all 500 objects are created. I would like to be able to
 generate say the first 10 objects based off the old data, if the data
 hasn't changed since the last time the data was grab (via httpservice)
 then run the routine to create the other 490 objects.

 So sorting by saying N changed?...yes through out, N + 1
 changed?no keep create object, N + 2 changed? yes through
 out.N+10 stop.
 Run...routine recreate the other 490 and stick them back in the
 correct order.

 Make sense?

 


[flexcoders] Data caching dto's

2008-08-06 Thread flexaustin
I was wondering if anyone has done any caching of data in Flex? And if
so how did you do this?

I have an application that pulls in up to 500 items and converts them
to DTO's. The app then runs a routine, which generates objects based
on those dto's. The generation of objects is very memory intensive so
I need to reduce this to increase usability as right now the user has
to wait until all 500 objects are created.  I would like to be able to
generate say the first 10 objects based off the old data, if the data
hasn't changed since the last time the data was grab (via httpservice)
then run the routine to create the other 490 objects.

So sorting by saying N changed?...yes through out, N + 1
changed?no keep create object, N + 2 changed? yes through
out.N+10 stop.
Run...routine recreate the other 490 and stick them back in the
correct order.

Make sense?