M
mrmagoo
Hi. I'm writing a Windows Forms VB.Net app that is a recipe keeper. I am
starting to use SQL Server to hold the data, but I'm wondering if a database
is overkill. I might store a few thousand recipes maximum, so I'm wondering
if I should use XML instead.
My question is: is XML acceptible for this type of storage? The actions
performed include reading recipes, editing recipes and adding to them.
Deleting them, searching within them, etc.
There are 2 tables only, a Recipe table and Category table.
The fields used in the Recipe table are recipe name (varchar 100), recipe
description (text), date created, date modified, etc. The category table
includes categories used (Italian, etc).
It's a very simple database.
If I use XML, am I correct that I would have to load everything into
memory...into a dataset and then traverse through that?
If so, since I might have thousands of recipes, I might use a couple of
megabytes maximum of RAM, I would imagine. Is XML only memory-based? Is
there a way to grab only the bits of data I need as I need them?
The most important component of the product is the GUI. The fact that I need
a data storage mechanism is secondary. The front end, ease of use, is most
important, so I'm trying to figure out what is best for it. Is it acceptable
to load a couple of megs of data into memory for my application? Perhaps
that is not so much of an issue in 2006, where 512MB of ram is the new
minimum standard?
Any suggestions or advice would be great.
starting to use SQL Server to hold the data, but I'm wondering if a database
is overkill. I might store a few thousand recipes maximum, so I'm wondering
if I should use XML instead.
My question is: is XML acceptible for this type of storage? The actions
performed include reading recipes, editing recipes and adding to them.
Deleting them, searching within them, etc.
There are 2 tables only, a Recipe table and Category table.
The fields used in the Recipe table are recipe name (varchar 100), recipe
description (text), date created, date modified, etc. The category table
includes categories used (Italian, etc).
It's a very simple database.
If I use XML, am I correct that I would have to load everything into
memory...into a dataset and then traverse through that?
If so, since I might have thousands of recipes, I might use a couple of
megabytes maximum of RAM, I would imagine. Is XML only memory-based? Is
there a way to grab only the bits of data I need as I need them?
The most important component of the product is the GUI. The fact that I need
a data storage mechanism is secondary. The front end, ease of use, is most
important, so I'm trying to figure out what is best for it. Is it acceptable
to load a couple of megs of data into memory for my application? Perhaps
that is not so much of an issue in 2006, where 512MB of ram is the new
minimum standard?
Any suggestions or advice would be great.