Need advice for data storage

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Mar 2007
Posts: 72
Reputation: vishalkhialani is on a distinguished road 
Solved Threads: 0
vishalkhialani's Avatar
vishalkhialani vishalkhialani is offline Offline
Junior Poster in Training

Need advice for data storage

 
0
  #1
Feb 14th, 2008
Hi,
I am working on a project where I need to save data which the user inputs for future reference and manipulation. I know one can use a database or a binary file.

I would like to use a database but I don't know where to begin. I know one thing once the project is done i do not want the user to purchase a database liscense or take the pain to install a database server.


I would like the experienced users to give their advice as to if this is possible and if yes a link for my further study.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 1,679
Reputation: vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold 
Solved Threads: 193
vmanes's Avatar
vmanes vmanes is offline Offline
Posting Virtuoso

Re: Need advice for data storage

 
0
  #2
Feb 14th, 2008
Perhaps a little more explanation of the problem. What sort of data? How must it be accessed, sorted, filtered, etc? How much data?

This is a C++ forum, do you intend to write the code?
Everyone's gotta believe in something. I believe I'll have another drink.
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 514
Reputation: techniner is an unknown quantity at this point 
Solved Threads: 19
techniner techniner is offline Offline
Posting Pro

Re: Need advice for data storage

 
0
  #3
Feb 14th, 2008
Simple Free Solution would be PHP + Mysql.

Google for both.

You can run it on your home pc or on a server.

You want to store this in a DB vs. Flat Files.

It will allow to keep everything in a neat orderly fashion.

I could assist you in setting this up if you want.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 72
Reputation: vishalkhialani is on a distinguished road 
Solved Threads: 0
vishalkhialani's Avatar
vishalkhialani vishalkhialani is offline Offline
Junior Poster in Training

Re: Need advice for data storage

 
0
  #4
Feb 14th, 2008
Originally Posted by vmanes View Post
Perhaps a little more explanation of the problem. What sort of data? How must it be accessed, sorted, filtered, etc? How much data?

This is a C++ forum, do you intend to write the code?
The data is basically alot of text and integer values.

It needs to be accessed, sorted and filtered

Not much data will be added maximum size will go to 400K

Yes, I intend to write the code.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 72
Reputation: vishalkhialani is on a distinguished road 
Solved Threads: 0
vishalkhialani's Avatar
vishalkhialani vishalkhialani is offline Offline
Junior Poster in Training

Re: Need advice for data storage

 
0
  #5
Feb 14th, 2008
Originally Posted by techniner View Post
Simple Free Solution would be PHP + Mysql.

Google for both.

You can run it on your home pc or on a server.

You want to store this in a DB vs. Flat Files.

It will allow to keep everything in a neat orderly fashion.

I could assist you in setting this up if you want.
I need to use c++ only I cannot use another language its the requirement of the project.

Once the project is ready I really don't want the end user to install the database by themselves and this is going to be hard to setup for the end user.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,114
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 281
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: Need advice for data storage

 
0
  #6
Feb 15th, 2008
A "database" does not have to be a pre-written data management system. It can be a file or three that contains the data you need for a project, and a few routines you write to access the data. Use the KISS principle (Keep It Simple Stupid).
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 72
Reputation: vishalkhialani is on a distinguished road 
Solved Threads: 0
vishalkhialani's Avatar
vishalkhialani vishalkhialani is offline Offline
Junior Poster in Training

Re: Need advice for data storage

 
0
  #7
Feb 15th, 2008
Originally Posted by WaltP View Post
A "database" does not have to be a pre-written data management system. It can be a file or three that contains the data you need for a project, and a few routines you write to access the data. Use the KISS principle (Keep It Simple Stupid).

What I meant was I want to use a database management system but I would highly appreciate it if the user at the time of installing it does not need to install the database and this will be cumbersome.

Do you know a way ?
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,114
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 281
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: Need advice for data storage

 
0
  #8
Feb 15th, 2008
How do you expect to use a database management system and not have to install it?
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 72
Reputation: vishalkhialani is on a distinguished road 
Solved Threads: 0
vishalkhialani's Avatar
vishalkhialani vishalkhialani is offline Offline
Junior Poster in Training

Re: Need advice for data storage

 
0
  #9
Feb 15th, 2008
I have seen demo softwares do that where they are using a database management software and when the end user installs the application the end user does not need to install the db by themselves the installer file does it in the background and sets everything up.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,089
Reputation: vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all 
Solved Threads: 164
vijayan121 vijayan121 is offline Offline
Veteran Poster

Re: Need advice for data storage

 
0
  #10
Feb 15th, 2008
> The data is basically alot of text and integer values.
> It needs to be accessed, sorted and filtered
> Not much data will be added maximum size will go to 400K

just use a simple xml file to store the data.
and an xml parser library eg. http://www.grinninglizard.com/tinyxml/
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC