Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
rattanak

Writing A Php And Mysql Scheduling Application

Recommended Posts

Hi,

I need some help with a php application. I want to write simple online scheduling/appointment application with PHP and MySQL. I am not sure how to begin.

 

Basically these are what the application would allow:

USERS :

- to log in as member

- choose the person (advisors) they want to make an appointment with

- pick a date and time from available time slot

For example, Feb 1, 2014, 8:00AM- 8:30AM

- Submit the date to advisor (email confirmation)

 

ADVISORS

- to log in as an admin

- set up their schedules (available date and time).

- there are several advisors, each has seperate schedule.

 

My questions are:

- What tools/frameworks should be used to display Calendar and time?

- What appropriate methods should I store advisors available date and time in MySQL?

- If i use jquery UI to display calendar, how can I make it interact with the database?

For example, GREEN is available time, RED is booked. Thanks for your input.

Share this post


Link to post
Share on other sites

Hello, and welcome to the forums.

 

The short answer to all of your questions is: Read Larry's PHP & MySQL book. It has all the answers in it.

To be a bit more specific though:

 

1) You can use a framework if you want, but what you're trying to build is simple enough that basic PHP should be more than sufficient. The time it would take you to learn a framework probably wouldn't be worth it for a small project like this.

 

2) Use the DATETIME type in MySQL to store all the dates and times for advisors.

 

3) Because jQuery is a front-end library and PHP and MySQL are back-end technologies, you will need to use Ajax for jQuery interactions to interact with a DB.

 

Good luck.

  • Upvote 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...