Re: Speed :: XML vs. Database



On 21 Jun 2003 13:13:13 -0700, nc@xxxxxxxxx (Nikolai Chuvakhin) wrote:

Forget databases and XML and hard-code your data
into PHP as an array. This will give you the shortest
search time, since no hard drive work will be involved.

Could you clarify the above statement or perhaps provide a link to a
tutorial on this approach ? I have always used just plain HTML for my
site as it's extremely fast. I've just purchased a couple of books on
PHP and MySQL with the thought of eventually migrating my "plain Jane"
site to something a little more manageable. I just don't want to
sacrifice simplicity and speed for the end user.

==
John S. Douglas
Photographer & Webmaster
Legacy-photo.com - Xs750.net
.



Relevant Pages

  • Re: form action to same file opens new window
    ... I am using a really terrible and out of date book as a guide ... AFAIK for plain HTML there isn't a difference between single and double ... As far as PHP is concerned using one or the other determines (amongst ... I tend to use single quotes ...
    (comp.lang.php)
  • Re: sub-menus
    ... you suggest reloading the page with the new menu with ... the sub-options displayed in plain html (doing so with php to make the ... Prev by Date: ...
    (comp.infosystems.www.authoring.html)
  • Re: Head scratcher
    ... When I tested php using phpinfo it works fine. ... it to the error file when I call the page. ... Yes plain html shows up just fine. ... the phpinfo test works just fine. ...
    (comp.lang.php)
  • Re: Count question
    ... I guess I should clarify that a little. ... I meant use the php count function ... instead of the mysql count function. ... > Your simplest method would be to either fetch the array of names and use ...
    (alt.php)
  • Re: PHP/PEAR
    ... maintained extensions in PEAR. ... Is this happening on every PHP page? ... If it happening on every plain HTML ... If so I'd guess Apache or similar is doing DNS lookups. ...
    (php.general)