Re: php array used to fill in a web page
- From: Michael Berkowski <berk0081@xxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 13:28:40 -0500
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>
.
- References:
- php array used to fill in a web page
- From: edgy
- php array used to fill in a web page
- Prev by Date: php array used to fill in a web page
- Next by Date: restrict page access to one referring page
- Previous by thread: php array used to fill in a web page
- Next by thread: restrict page access to one referring page
- Index(es):
Relevant Pages
|