all groups > macromedia flash flash remoting > january 2005 >
You're in the

macromedia flash flash remoting

group:

Q: Possible? Saving/updating data/recordsets locally for updating the DB later



Q: Possible? Saving/updating data/recordsets locally for updating the DB later MEnriquez
1/20/2005 5:40:42 PM
macromedia flash flash remoting: // begin "IS THIS POSSIBLE?" statement
#include "dontLaughAtMe.as"
#include "imRelativelyNewToFlash.as"

Hello, all,

Is it possible to locally store dataset or recordset information from a
database over the net to a client machine, AND while offline, make changes to
the dataset? What about using the edited information to make changes to the DB
when the client machine is online?

The idea is to create distributable Projector files that can act as agents for
a web application, but I can't assume a constant internet connection among
clients. Moreover, I can assume a greater lack of constant connectivity.

It might sound like an unstable way to manage data, but since the clients will
only be dealing with data pertinent to themselves, it's alright.

Thanks everyone,
Marc
Re: Q: Possible? Saving/updating data/recordsets locally for updating the DB later denny1
1/20/2005 10:59:41 PM
Yes, it is possible. I would use the SharedObject class. You could save the
results in a local shared object on the user's machine. Manipulate the shared
object instance via a custom "value object" class, then call your remote
service in an init method that would update the DB per the new shared object
instance.

Dennis
Re: Q: Possible? Saving/updating data/recordsets locally for updating the DB later Pete Thomas
1/21/2005 1:37:53 PM
As Dennis suggests this could be done using Localobject class however bear in
mind the default storage allowed is 100k you would need to ensure the client
sets significant more than this (flash setting of the player) to work I would
guess.
AddThis Social Bookmark Button