Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a question which i hope will not be deemed as a waste of time...

 

XML data files VS Database files...

 

which one to use?

Can you bind the beautiful Pleiades, and can you loose the cords of Orion? - God to Job...
  • 4 weeks later...
Posted

That really depends on the type of data access you require.

 

There's cases where an XML flat-file may suit your purposes just fine as you just want to append to the end of the file and then later perhaps generate a report of all your errors.

 

In most cases though, the database is going to give you better performance and greater flexibility in your data processing.

 

Again, this is really a vague question, so perhaps if you have a specific case you're trying to make a decision on let us know and then we'll discuss it further.

Posted

okay, i have learnt that XML provides for interoperability capabilities...

so would it be wise to utilise both XML and database access for different purposes for a same application?

Can you bind the beautiful Pleiades, and can you loose the cords of Orion? - God to Job...
Posted

Absolutely.

 

You can maybe use a mix of the two - getting your data from your database and then load it into, say a dataset. From there, you can use it throughout your app, or convert your dataset into XML and pass that data to a web-service or save the XML data to a file somewhere for another app to pick up at a later time.

 

Again though, each situation will have a different "best" answer here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...