|
Posted by NC on 12/03/07 23:54
On Dec 3, 11:04 am, Pupkin <spamag...@dorrk.com> wrote:
>
> I have a site that takes info from a form and adds it
> as a record to an XML file (RSS format), using the XML
> as a light-weight db.
I humbly suggest you reconsider. XML is not a data storage format, it
is a data interchange format. If you continue to accumulate records
in your XML file, at some point it is going to cause problems, because
memory required to manipulate it will exceed PHP's memory limit. With
CSV, this problem is solved by sequential reading (1 line = 1 data
record), but with XML, there is no natural breakpoints to sequential
reading...
Cheers,
NC
Navigation:
[Reply to this message]
|