Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: precalculating event dates vs.recalculating them.

by Pic (Scribe)
on Jun 22, 2008 at 20:59 UTC ( #693414=note: print w/replies, xml ) Need Help??

in reply to precalculating event dates vs.recalculating them.

I don't have any brilliant insights into your problem, but one problem that strikes me is events that are open-ended in their timespan. Those are (more or less) impossible to pre-insert into your database.

And one option to simplify the selection of events would be to only allow a limited number of variants of recurrence for events, and then writing a really clever SQL query to select the relevant events. You might also be able to do something nice if you use a weird database schema (some form of denormalised schema perhaps).

  • Comment on Re: precalculating event dates vs.recalculating them.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2020-06-03 07:56 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (21 votes). Check out past polls.