Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: storing and 'understanding' complex calendar events (including recurring events)

by socketdave (Curate)
on May 26, 2006 at 20:59 UTC ( [id://551938]=note: print w/replies, xml ) Need Help??


in reply to Re^3: storing and 'understanding' complex calendar events (including recurring events)
in thread storing and 'understanding' complex calendar events (including recurring events)

Well, you either need to store the definition for the event or the complete list of events. Storing the definition and expanding it to the full list when needed keeps the database of events simple and easy to work on. On the other hand, it's probably going to be pretty slow when you need to go through the list and calculate if each event matches a given day. The opposite is true of storing an expanded list of dates for each event. It's a trade like everything else.
  • Comment on Re^4: storing and 'understanding' complex calendar events (including recurring events)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://551938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-20 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found