You are here: Re: Suggestion needed on data storage format in text file « PHP Programming Language « IT news, forums, messages
Re: Suggestion needed on data storage format in text file

Posted by ImOk on 10/03/93 11:53

Agreed,

But I believe there are database engines whose natural format is XML..
It's probably fixed length.

Chung Leong wrote:
> ImOk wrote:
> > My suggestion is to use XML. PHP and Javascript has the Dom class that
> > supports this format very well. Its also easily extensible. And best of
> > all it's a text file.
>
> XML and any text format is very inefficiency when updates/deletions are
> frequent, as you have to rewrite the file everytime. For a mailbox,
> that's unacceptable since the file size will likely be fairly large. A
> suitable format requires a directory of sort storing the offsets of
> records, so you can quicly seek to the them and modify them in place.
> Whatever you come up with it'll end up resembling a database. So why
> not just use what's there already?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация