CMS system with a twist!
Posted: Mon Jul 14, 2003 5:15 am
Hi,
Thanks to this forum I am now able to start using PHP having coded in CFML in the past. I am about to embark on a CMS site (for myself, not a client) but with a twist. Normally, my dynamic pages would be created when requested by pulling up a template and populating it with content from the db. This is fine and I can cache the pages to save my db being hammered.
This time I'd like to have html pages (with the .html extension) created and dumped on the server. My idea is to that this will provide help with search engine optimisation by providing a weight of read made html pages for spidering. So, when an administrator makes a content change, a new page is written to the server at that point and is available as a seemingly static page to the next visitor who requests it. This could be done either to each page as a change is made or perhaps by including a 'compile' button to recompile the whole site when needed?
Obviously I'm not looking for direct code help for this ('though not doubt I'll be spending time on the forum pulling my hair out) but would be interested in forum members' overviews on how I might approach the problem theoretcially. Feel free to tell me I'm insane to even attempt it
Thanks to this forum I am now able to start using PHP having coded in CFML in the past. I am about to embark on a CMS site (for myself, not a client) but with a twist. Normally, my dynamic pages would be created when requested by pulling up a template and populating it with content from the db. This is fine and I can cache the pages to save my db being hammered.
This time I'd like to have html pages (with the .html extension) created and dumped on the server. My idea is to that this will provide help with search engine optimisation by providing a weight of read made html pages for spidering. So, when an administrator makes a content change, a new page is written to the server at that point and is available as a seemingly static page to the next visitor who requests it. This could be done either to each page as a change is made or perhaps by including a 'compile' button to recompile the whole site when needed?
Obviously I'm not looking for direct code help for this ('though not doubt I'll be spending time on the forum pulling my hair out) but would be interested in forum members' overviews on how I might approach the problem theoretcially. Feel free to tell me I'm insane to even attempt it