Project with XML

  • Thread starter Thread starter Durand
  • Start date Start date
D

Durand

Hi all,

I'm develping a new application and i have to decide wich tecnology I must
use. I whant to know if there is a problem with perfomace or integrity data
if I use XML instead database. I would like to do like a document in word.
Save and manipulate user's data in XML file for each user. One user
"John"and he has an ID "234" in a XML file 234.xml. This is a good way or
not?

Thanks

Durand
 
Thanks for advice. But if my app runs into a desktop. If I have both ways to
build my app. Using client/server, the better way is to build my app using a
database server. If it runs in one computer only, I don't want to install a
database server, instead this is a better way too. I just think installing
app with third part software isn't a good idea on sigle computer.

Durand

Nicholas Paldino said:
Durand,

I think that this is a very bad way to do this. You are going to have a
ton of performance issues relating to so much file access (the more users
you have to process at the same time, the more files you have to open,
parse, then close). I think that a better solution would be to use a
database server, such as SQL server or Oracle. You can store the XML in the
tables and fetch the information as needed, and it is probably more
performant as well.
Hope this helps.

-Nicholas Paldino [.NET/C# MVP]
-nick{dot]paldino=at^exisconsulting-dot?com
 
Durand,

I think that this is a very bad way to do this. You are going to have a ton of performance issues relating to so much file access (the more users you have to process at the same time, the more files you have to open, parse, then close). I think that a better solution would be to use a database server, such as SQL server or Oracle. You can store the XML in the tables and fetch the information as needed, and it is probably more performant as well.

Hope this helps.

-Nicholas Paldino [.NET/C# MVP]
-nick{dot]paldino=at^exisconsulting-dot?com
 
Back
Top