Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Calendar

Name: Ron 2011-02-15 22:44

I am trying to make a calendar/meeting program for my office. It needs to allow anyone to see their/another user's calendar, and it needs to find the earliest time that a group of people can all have a meeting. And then send them a popup message confirming they can make it, and finally creating that event.   I am writing this in java because I am retarded and can't into haskell.

I have some questions on how I should setup the server.

1. Should I keep each persons calendar in a separate file? or keep all the events in one file and have a userid for each event?
2. How do you deal with updating when a program is already running?
3. How do you stop two people from writing to a file at the same time and knowing that you have the most recent file?

Thanks

Name: Anonymous 2011-02-16 0:13

Yikes.  Multiple users sharing one file?

Best best: run a web server, store it there.

1. If you really have to share files, each user gets their own file.  Each local program scans the directory for each user and can compare it with the individuals data.

2. As long as the program is 100% dependent on the user files, put the program itself in the shared directory too.  Put it in the startup folder(assuming your a win fag) and the program automatically updates at each boot.  Just override with each update.

3. See 1

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List