fkheng Posted September 26, 2003 Posted September 26, 2003 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? Quote Can you bind the beautiful Pleiades, and can you loose the cords of Orion? - God to Job...
mocella Posted October 24, 2003 Posted October 24, 2003 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. Quote
fkheng Posted October 25, 2003 Author Posted October 25, 2003 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? Quote Can you bind the beautiful Pleiades, and can you loose the cords of Orion? - God to Job...
mocella Posted October 25, 2003 Posted October 25, 2003 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.