James L.
01-11-2004, 10:42 PM
Hey,
Any and all are welcome to answer this question, but I thought I would ask the question to you as I am sure you can answer it ok.
All of my training to date has consisted of client sided stuff (html/xhtml/css/JavaScript/Flash/Audio/Video/Images). I am set to learn server sided scripting next semester, but thought I would get a jump on it by learning PHP now.
Coincidently, a client that I have worked with for a year or so had a request for me. He runs a training agency, and I did his initial site for him, and now update the course dates and schedules for his courses quarterly. As I only knew client sided development at the time, I just have the course dates for each program embedded within the html, which means that I must edit about 15 pages each time the course schedules are updated. Not the most efficient system, but we all start somewhere!
:)
So, here I am completely comfortable working on client sided stuff, and just starting to dable in the server side. My client asks me if there was a way that he could go in and do the updates himself. What I am thinking is to load all the course dates/names into an SQL database. I would create a new page on his site that is password protected. This page would have a form that would allow him to edit the SQL DB. I would obviously re-code the course pages to dynamically pull the course information from the database.
So, in essence, what I need PHP to do is:
1) Password protect a page, with an admin login on the home page.
2) Interpret the information in an SQL database for each of the courses.
3) Allow a fairly low tech person the ability from his password protected page of updating the database through a form or some other means.
... I know PHP can do all of the above (at least I think it could). I am just not sure if what I envision is the most efficient way of doing it, and was curious of your opinion.
I am not looking for anyone to do the coding for me, as I am looking forward to figuring it out. I was just curious as to anybodies thoughts on the above.
Cheers!
James
Any and all are welcome to answer this question, but I thought I would ask the question to you as I am sure you can answer it ok.
All of my training to date has consisted of client sided stuff (html/xhtml/css/JavaScript/Flash/Audio/Video/Images). I am set to learn server sided scripting next semester, but thought I would get a jump on it by learning PHP now.
Coincidently, a client that I have worked with for a year or so had a request for me. He runs a training agency, and I did his initial site for him, and now update the course dates and schedules for his courses quarterly. As I only knew client sided development at the time, I just have the course dates for each program embedded within the html, which means that I must edit about 15 pages each time the course schedules are updated. Not the most efficient system, but we all start somewhere!
:)
So, here I am completely comfortable working on client sided stuff, and just starting to dable in the server side. My client asks me if there was a way that he could go in and do the updates himself. What I am thinking is to load all the course dates/names into an SQL database. I would create a new page on his site that is password protected. This page would have a form that would allow him to edit the SQL DB. I would obviously re-code the course pages to dynamically pull the course information from the database.
So, in essence, what I need PHP to do is:
1) Password protect a page, with an admin login on the home page.
2) Interpret the information in an SQL database for each of the courses.
3) Allow a fairly low tech person the ability from his password protected page of updating the database through a form or some other means.
... I know PHP can do all of the above (at least I think it could). I am just not sure if what I envision is the most efficient way of doing it, and was curious of your opinion.
I am not looking for anyone to do the coding for me, as I am looking forward to figuring it out. I was just curious as to anybodies thoughts on the above.
Cheers!
James