Repeating Events Question

Just started looking into setting up recurring events in a calendar for an application of mine.  I haven't had to deal with this before and to be honest I don't want to invent something that must have a standard out there.  I would rather use the established methodology.   I searched around the ColdFusion world a bit, but haven't found anything.  I then started searching around for anything relating to it.  I found lots of wiki's with info like "we need to do x" but not much that gave me a sense that there is a tried and true way to do store and search them.

I can easily enough make a schema for storing recurring events (monthly, weekly, every x days, etc).  The tough part comes in doing proper searches. Ideally there is only one query result.   Do people make temp tables of actual records for events, populated by the recurring event record?  It would work, but seems wasteful. How far out would you populate? 

What have you done to deal with repeating events?

TweetBacks
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Cutter's Gravatar Yes, there is a standard already in place. The iCal specification already has a well formed standard for the description of events, their recurrence, etc. It's a lot to wade through, and at my last check their wasn't a good db schema anywhere I could get my hands on, but there used to be quite a few people working with it for Mozilla's Sunbird project.

The Developer's Guide on the Mozilla site states that both the Sunbird and Lightning projects utilize SQLite for it's underlying storage engine, and even have links into the code used to store events, etc.

http://wiki.mozilla.org/Calendar:Dev_Guide
# Posted By Cutter | 6/26/07 7:30 AM

NAVIGATION

Home
About Me

RSS


Search

Subscribe

Enter your email address to subscribe to this blog.

Recent Entries

Google TV Review
Playbook - Developers It's Time To Get Started
cf.Objective 2011 - Speak Your Mind
Timesheets, Project Management, and Invoicing - FreshBooks Review
A New Phase of My Life

Recent Comments

OTA OK?
AnoraDD said: I get 18 of these exact sms's everyday! How do I get it to STOP?!? [More]

Coldfusion Hosting with Network Solutions
LIzm said: Ugh. I have a client who insists on hosting with them and two weeks after first contact, a very simp... [More]

IE nested list item whitespace solution: vertical-align:bottom
Lauren said: Thought I'd add to the thank yous... Thank you! [More]

OTA OK?
Rita said: Thank you, this was very helpful. [More]

OTA OK?
diggs said: Just got it today, T-Mobile. Thanks for the articale about it. [More]

Calendar

Sun Mon Tue Wed Thu Fri Sat
   1234
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29    

Archives By Subject

blogs (31) [RSS]
books (4) [RSS]
Consulting (2) [RSS]
Crazy (39) [RSS]
DIY (8) [RSS]
Flex (3) [RSS]
games (10) [RSS]
GRRR (13) [RSS]
Ideas (11) [RSS]
Local (15) [RSS]
LOLpics (2) [RSS]
money (9) [RSS]
music (3) [RSS]
Personal (28) [RSS]
Photos (8) [RSS]
Politics (8) [RSS]
Projects (22) [RSS]
Review (20) [RSS]
RPM (9) [RSS]
Spam (16) [RSS]
Technology (69) [RSS]
Testing (3) [RSS]
TV (15) [RSS]
video (32) [RSS]
Web Dev (230) [RSS]
World of Warcraft (16) [RSS]