Hello Daniweb,
I'm in the process of creating a rather large website and so I am wanting to make it as easy for myself in the future as possible. For example, if I migrate to a new design, I don't want to have to add all the existing content again or if I add a new feature I don't want to have to add a link onto every page.
I therefore have two questions,
1) Do you see any issue in creating a template with placeholders and then loading everything else from the database. So if I add a new feature I only need to add a new link to the database instead of every (of which I may have fifty or sixty +) pages. I would also load the content, such as articles from the database so that I only need to fetch it on a new design.
2) How do large websites such as Yahoo, Facebook and Youtube solve this sort of problem. I cannot imagine they change every single page on an update, do they load things that aren't part of the design from a database?
So the overall idea is to create the HTML page, style it with a couple of CSS stylesheets and then have a PHP fetch query and put it in. So the entire site would be dynamic, but is it taking it a step too far to dynamically load even the links?
Thanks