Hey all, I have been doing websites for a number of clients but up until now they have all been mostly static other than using pre-made PHP software such as forums, blogs, directories etc. I now feel that I need to give clients a little bit more control by having the ability to edit content on pages themselves, to begin with I am not looking at giving them the ability to create new pages or anything too complex, all I want to do is let them be able to edit pages I have already made up for them. Is this a lot to learn or is it relatively easy to learn and implement?
Depends on which par you want to edit, but usually it goes through MySQL database ( insert/update/delete ).
To get a grasp how it works, you can start by create your own DB and populate sample data then: 1. make a page to show information from Database 2. make a page that will send information to DB that's the basic of CMS it's hard to master though
if yo uwish to do it in limited resources and dont have any SQL server or may be dont want to learn SQL from scratch, then use traditional filing. This would be simple enough. Here is little help for reading and writing files http://www.apitalk.com/document.php?id=1184208074_5 Secondly simplest reading can be achived if not using traditional method $data = file_get_contents("myfilename.txt"); As far letting your clients edit contents I would suggest use SQL not files. Mostly Administration panels require less time to be developed comparing whole application. regards
coupla days if you know html/css. tons of tutorials on creating basic CMS scripts with PHP. Number of forms would be minor for a small site. Maybe 3? List all pages, edit page, edit settings.
Thanks for all the replies guys, just out of interest to those that have learnt PHP would I be better off getting myself some good books and learning in a structured manner or would I be better going ahead with this idea of learning how to make a simple CMS?
I see no reason to fool with a book. The goal is to create a CMS. I have seen lots of tutorials on this topic, it shouldn't be hard to find what you need and just remember to KISS.
I suggest you to install a basic CMS script and edit it. That will be good for learning step by step in working mode.