|
Posted by Adam Baker on 08/29/07 18:41
This is a fairly broad question. I have looked for web sites or books
on the topic, by to no avail.
I'm creating a fairly small web site in which the content is drawn
from an XML file (more or less as an exercise, but also so that it can
be maintained easily).
I've got a first-level page and five second-level pages.
One way I'm trying it is to keep a single XML file, and two PHP files,
one for the first level page and one for the second-level page. That
makes pretty clunky content generation.
The second option is to have a different PHP file for each second
level page. Less elegant in one respect, but the individual PHP files
are much simpler.
This is a small example, but I'm curious whether people have
experience with larger applications, and at what point they felt the
PHP got intractable.
Thanks for any thoughts,
Adam
[Back to original message]
|