Simple CMS, Tough For A Newbie?

Discussion in 'PHP' started by gobbly2100, Mar 8, 2009.

  1. #1
    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?
     
    gobbly2100, Mar 8, 2009 IP
  2. ActiveFrost

    ActiveFrost Notable Member

    Messages:
    2,072
    Likes Received:
    63
    Best Answers:
    3
    Trophy Points:
    245
    #2
    Depends on which par you want to edit, but usually it goes through MySQL database ( insert/update/delete ).
     
    ActiveFrost, Mar 8, 2009 IP
  3. yoes_san

    yoes_san Peon

    Messages:
    443
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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
     
    yoes_san, Mar 9, 2009 IP
  4. bugcoder

    bugcoder Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    its not at all hard to master. just determination is required.:rolleyes:
     
    bugcoder, Mar 9, 2009 IP
  5. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #5
    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
     
    Vooler, Mar 9, 2009 IP
  6. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #6
    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.
     
    shallowink, Mar 9, 2009 IP
  7. gobbly2100

    gobbly2100 Banned

    Messages:
    906
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    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?
     
    gobbly2100, Mar 11, 2009 IP
  8. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #8
    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.
     
    shallowink, Mar 11, 2009 IP
  9. adstiger

    adstiger Peon

    Messages:
    409
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I suggest you to install a basic CMS script and edit it. That will be good for learning step by step in working mode.
     
    adstiger, Mar 11, 2009 IP