in reply to Re^2: precalculating event dates vs.recalculating them.
in thread precalculating event dates vs.recalculating them.
Actually, I always keep the clients foremost in my mind when coding. But we are probably imagining two different things. I wasn't intending that JavaScript do something computationally intensive. If the browser is showing a week or month calendar, it seems to me that having a bit of javascript interpret a dozen recurrence items ought not be demanding. But having the server do a dozen recurrence item calculations for tens of millions of customers might be prohibitive. I was imagining that few clients would have very many recurring tasks, and that computing the rules wasn't terribly serious. (I've not written it, but I think I could imagine what the code would basically look like.)
Having said that, I'm not intending to backpedal. I'm just saying that I don't think it would be very demanding at all (but I've been wrong before). I was simply intending to promote "compute it as you need it" rather than "bulk compute in case you need it".
Disclaimers:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: precalculating event dates vs.recalculating them.
by samtregar (Abbot) on Jun 24, 2008 at 16:30 UTC | |
by roboticus (Chancellor) on Jun 24, 2008 at 16:44 UTC |