Re: storing data in xml?
From: Paul Bramscher (brams006_nospam_at_tc.umn.edu)
Date: 08/23/04
- Next message: steve: "Re: Starting apache"
- Previous message: Michael Austin: "Re: question about synchronising results from 2 queries"
- In reply to: Zurab Davitiani: "Re: storing data in xml?"
- Next in thread: Zurab Davitiani: "Re: storing data in xml?"
- Reply: Zurab Davitiani: "Re: storing data in xml?"
- Reply: Average_Joe: "Re: storing data in xml?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 23 Aug 2004 15:50:55 -0500
Zurab Davitiani wrote:
> Gernot Frisch wrote:
>
>
>>I want to store a few informations the user entered on my website.
>>However I don't want to use a MySQL database for this. Don't ask me
>>why, I just don't want to. Now I'd like to use XML - is this easy with
>>php? If not, I'll use a text file.
>
>
> If you are using XML to store some preferences or data that you want to
> easily manipulate - e.g. transform into something else, send via web
> service, etc. then use XML. But I would not recommend using XML as a
> general data storage. XML is not meant to replace a database and should not
> be used for that purpose. If you do not want to use a database server (for
> whatever reason), then at least use something like Berkeley DB.
I store data in indexed and normalized RDBMS's, the most efficient
format for storage and retrieval.
If you need XML, why not retrieve the raw data and just wrap XML tags
around it for some application that wants XML for sharing/presenation
purposes? By the why heck actually store it in XML? RBDMS's were
designed in the 1970's to solve this very problem. If you have a
hundred thousand rows of data, do you really want a hundred thousand XML
open and close tag pairs? Waste of storage and a bad architecture.
- Next message: steve: "Re: Starting apache"
- Previous message: Michael Austin: "Re: question about synchronising results from 2 queries"
- In reply to: Zurab Davitiani: "Re: storing data in xml?"
- Next in thread: Zurab Davitiani: "Re: storing data in xml?"
- Reply: Zurab Davitiani: "Re: storing data in xml?"
- Reply: Average_Joe: "Re: storing data in xml?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|