views:

185

answers:

0

Hello,

I'm working on a PHP app, and I'm trying to find the best way to set up a calendar system.

First let me describe the intended function of the system: The application has multiple users who can login simultaneously. Each user should be able to add their own events and display them on their "profile." Also, on another page, the events should be able to be shown all together (from all users) and from each individual users exclusively.

Since Google Calendar has a nice calendar-looking interface, I thought I would work with the GData APIs. Originally, I thought this would make things easier. But then it seems that if I want to represent event ownership, either each user would have to have a Google account or somehow they all would each have to have a separate calendar. Thus, the application would have to create the calendar (if it does not exist) and be able to edit only their calendar.

Two questions:

  1. Can I somehow use the GData APIs to accomplish my goal? (Mainly event ownership.)

  2. Should I just create my own calendar-like application?

Thanks!

EDIT: When it comes to the GData API option, I want to make sure I don't have to manually set up any calendars or Google accounts for each user of the application.