Re: php array used to fill in a web page



On Mon, 30 Jun 2008 13:56:28 -0400
edgy <hotmail@xxxxxxxxxxx> wrote:

Do you recommend this? In your experience is this less or more work in
the long run for a small website that does, perhaps, monthly maintenance?
Are there other issues I am not aware of?


Last year, I was given the task of maintaining a small website designed
similarly to how you've described, with blocks of content stored in a
large array. I strongly recommend against this type of architecture,
as it requires the whole array to load every time you access a page
(which means parsing all your content even though you only need one
chunk). I ended up rewriting most of the site's PHP to elminate the
array architecture.
--
Michael berk0081@xxxxxxxxxxxxxx>
.



Relevant Pages

  • Re: useful tips on how to write your C codes more efficiently
    ... > I'm writing some C codes to run simulations. ... isolate as much as possible. ... > you wish to put some information in an array, ... I'm wondering if anybody knows of a website that may contain ...
    (comp.lang.c)
  • Re: php array used to fill in a web page
    ... edgy wrote: ... I was given the task of maintaining a small website designed ... I strongly recommend against this type of architecture, ... as it requires the whole array to load every time you access a page ...
    (comp.lang.php)
  • Re: php array used to fill in a web page
    ... I was given the task of maintaining a small website designed ... as it requires the whole array to load every time you access a page ... array architecture. ... not only to be able to easily alter headers, but to build a whole wiki- ...
    (comp.lang.php)
  • Re: php array used to fill in a web page
    ... I was given the task of maintaining a small website designed ... as it requires the whole array to load every time you access a page ... array architecture. ... not only to be able to easily alter headers, but to build a whole wiki- ...
    (comp.lang.php)
  • RE: Making back up disk
    ... have an array of great bootdisks for nearly every OS. ... For a special treat try searching microsofts's website on how ... to backup outlook or outlook express. ...
    (microsoft.public.windowsxp.basics)