Hey all --
I am somewhat of a newbie (meaning that although I have been working with off-the-shelf php scripts for some years now, this is my first real foray into writing my own) with a bit of a dilemma:
I need to write a basic CMS to be able to update five sections of a web site.
What are the logical steps to take here? What scripts will I need to write? To my thinking, I need one script to write the form data to the database, one to read it from the database and one to write from the database to the necessary pages.
For each section that needs to be updateable, data will end up being written to more than one section of the web site (which will remain largely static with php includes). For example, the 'News' section:
Upon submitting news information via a form, the CMS will:
a. add a synopsis of the news item to home page - index.html - displaying synopses of the four most recent news items.
b. add a summary of the news item to the 'news.html' page (all news summaries need to be displayed newest to oldest and if more than ten summaries are present a 'next ten' link needs to be generated.
c. a page with the full text of the news article is generated
d. a link to the news article gets added to 'news_sitemap.html' and all such links displayed newest to oldest. If more than 75 such links are present, a 'next page' link needs to be generated.
This sort of thing needs to be done for all 5 sections.
I am not asking for anybody to write this for me. Indeed, I want to write it myself if possible (unless there is an off-the-shelf that will do this). I just need to know what steps I need to take, what scripts need to be written.
Thanks tons!
gracesfall