I have a website that looks and works fine with HTML and CSS style sheets with javascript coding. The problem I have is that just because it looks okay doesn't mean that the approach I'm using to generate the content is ideal.
I've been familiar with HTML for over a decade now and have mucked about with ASP and PHP and a little CGI on and off for the past 5 years or so. I've recently been reading more and more about XML, Ajax, and dynamic content. I expected to use PHP to set up header and footer include files but now I'm not so sure about such an approach.
My website will include weekly news updates as well as occasional additions to the main menu as I start new projects. I expect very few visitors since it caters to a small specific community of some 300 or so customers so server strain shouldn't be an issue.
So my question is, what technologies would be ideal to use in redesigning the website?
1. I had planned on using PHP include files for the header and footer in order to make a centralized routine for the menu as well as consistency between pages.
2. I'm now wondering if using XML files to generate content is the better way to go since the header and footer wouldn't need to be reloaded for each page. (At least I think this is correct from what I've been reading.)
3. If using XML files, how wise is it to use these for an entire page's content given that each page might have a very different layout?
4. Why muck about with separate XML files when it's easier to include the content directly on the pages where I can edit the layout and content all in one file?
I might just be confusing myself but I'd like input on the use of one technology over the others or on any other website design options that would work for what I have in mind.
Jeff
I've been familiar with HTML for over a decade now and have mucked about with ASP and PHP and a little CGI on and off for the past 5 years or so. I've recently been reading more and more about XML, Ajax, and dynamic content. I expected to use PHP to set up header and footer include files but now I'm not so sure about such an approach.
My website will include weekly news updates as well as occasional additions to the main menu as I start new projects. I expect very few visitors since it caters to a small specific community of some 300 or so customers so server strain shouldn't be an issue.
So my question is, what technologies would be ideal to use in redesigning the website?
1. I had planned on using PHP include files for the header and footer in order to make a centralized routine for the menu as well as consistency between pages.
2. I'm now wondering if using XML files to generate content is the better way to go since the header and footer wouldn't need to be reloaded for each page. (At least I think this is correct from what I've been reading.)
3. If using XML files, how wise is it to use these for an entire page's content given that each page might have a very different layout?
4. Why muck about with separate XML files when it's easier to include the content directly on the pages where I can edit the layout and content all in one file?
I might just be confusing myself but I'd like input on the use of one technology over the others or on any other website design options that would work for what I have in mind.
Jeff