Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maintaining Persistence

Status
Not open for further replies.

djam

Technical User
Nov 15, 2002
223
CA
I'm wondering what is the best way to maintain persistence for a small software program I'm working on. I need to track some contact information. Should I be saving these as XML files? Parsing text files? This program is for a PDA and resources are limited, I don't want to parse a file and store them as objects in RAM until I exit the program and write it to a file. What is the best way to do this?

thanks

" ahhh computers, how they made our lives much simpler ;) "
 

Do you have a need to sync the contents of this data with a desktop PC?
How much volume do you anticipate storing?
What are the access-time expectations?

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
I don't need to sync the contents with a desktop pc. Volume would be small approx. 50-100
I will need to do stats on the data on a regular basis and perform new inserts but rarely delete a item.

" ahhh computers, how they made our lives much simpler ;) "
 
For the volume that you're talking about (50-100 records), some random access, no syncing with a remote database, an XML file is fine for this.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top