What Set Up Should I Use

Discussion in 'PHP' started by oo7ml, May 21, 2012.

  1. #1
    Hi, i am designing a site for a client... i will probably use wordpress but i will need to develop my own plugin to manage what is described below (i have already searched for plugins)

    The admin needs to be able to add a training courses to their site and then their customers (students) can book and pay for these courses online... the problem is:

    - there will be many training courses
    - each training course will have different variables (price, description etc...), however any single training coursemight have different amount of slots available for each date on the calendar (the admin might add 5 slots available this the 9am IT course this Thursday but might want to change the IT course to 9:30am the following course and might only allow 4 slots (people) to book)

    What in your opinion would be the best way to approach this as each course as some variable (dates, times, slots) for the same course might need to change on a day to day basis, thanks for reading... looking forward to people's advice on this...
     
    oo7ml, May 21, 2012 IP
  2. pHrEaK

    pHrEaK Active Member

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Have you looked into moodle?
     
    pHrEaK, May 23, 2012 IP
  3. oo7ml

    oo7ml Well-Known Member

    Messages:
    656
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    Cool, thanks, yeah i have used it before but it doesn't really suit what i need... my client wants to use Wordpress also...
     
    oo7ml, May 23, 2012 IP
  4. pHrEaK

    pHrEaK Active Member

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    I'm not sure how familiar you are with php/mysql, but you could create a simple database and a user front end that would allow an administrator (ie the person your developing the site for) to log in (just use sessions...something simple) and input/edit the fields in the database. Then have a script that displays the information on the page the end user is viewing(person who navigated to the site to check it out). That wouldn't be too bad and would allow for dynamic content to be added painlessly by the owner of the site. I've done this before and it worked quite well
     
    pHrEaK, May 23, 2012 IP
  5. webshore88

    webshore88 Well-Known Member

    Messages:
    131
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #5
    ya, pHrEaK is right, if you use php, mysql DB or any other DB then how many times do you edit product's price, time or description or how much product do you want to list it does not matter. You just save these info into your DB, then you can edit it whenever you want with some simple scripts.
     
    webshore88, May 24, 2012 IP
  6. NetStar

    NetStar Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #6
    The fact that you are considering using Word Press and have already searched for a WP Plugin to do what you're looking to do should be indication that this "dream" is not going to happen anytime soon.

    What you are trying to do by far requires custom programming. If you can't go that route halfassing it won't get you anywhere successfully.
     
    NetStar, May 24, 2012 IP