Discussion:
Saving the huge data from the document to a file.
(too old to reply)
g***@gmail.com
2007-09-25 07:06:36 UTC
Permalink
Hi Folks,

I have an doc/view application in which the document has huge data to
handle ,save, retrieve
and I should call my save function every time my document's size
increases to a certain extent.

1) How should I calculate that my doc size ?
2) how to save my data to the file after frequent intervals? I dont
want to loose my data if my appl crashes.
Actually I would be requiring the data through out the application
so when I save the data to the file it should be easily accessible.
Does Serialize concept comes in to picture here ?

Please help ..

Thanking in advance
JLD
Tom Serface
2007-09-26 15:48:41 UTC
Permalink
I've seen applications that suggest to the user that they save and let them
do it. You could also "auto save" new parts of the data to different
temporary files where you could recover it if you needed to, but simply
erase the files when the user does a real full save successfully.

Tom
Post by g***@gmail.com
Hi Folks,
I have an doc/view application in which the document has huge data to
handle ,save, retrieve
and I should call my save function every time my document's size
increases to a certain extent.
1) How should I calculate that my doc size ?
2) how to save my data to the file after frequent intervals? I dont
want to loose my data if my appl crashes.
Actually I would be requiring the data through out the application
so when I save the data to the file it should be easily accessible.
Does Serialize concept comes in to picture here ?
Please help ..
Thanking in advance
JLD
Loading...