I must do a shop on line with 1 to 3000 articles .... is it realist to use only xml to store products (updating adding deleting searching) and customers ... ?
I don't think that it's a good idea.
Databases are much better in storing and finding data: that's what they're designed for, after all.
For example: to search in an xml-file, you'd have to load the whole file, and searching is not optimized by indexes etc.
Only save data in xml-files if you are sure that you need exactly that same set again next time.
This has been discussed before -- it's ok to use XML to store application configuration info, but it's not suited for use as a general purpose database. Aside from it being slow, not having any multiuser abilities, and performing badly over a network, it's biggest problem is a lack of ACID support (if programs crashes in the middle of an update, it corrupts the XML file).
Chip H.
If you want to get the best response to a question, please check out FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.