[geeklog-devel] Calendar Plugin - Recurring Events
Randy.Kolenko at nextide.ca
Thu Apr 1 14:49:36 EDT 2010
Would this not be a perfect candidate for Ajax?
Only request and return the specific data you need to parse the return
feed on the client side and populate your calendar. This way you're not
returning 100,000 records, still doing client side parsing AND this
Likewise, if there are 50 birthdays on one day in a large organization,
you're not going to show all 50. You might show the fist 5 and then
include a "more" link that can be ajax enabled that will show the next 5
or 10 or whatever the setting is specified.
Just a thought. Ignore me if I'm being dumb.
> -----Original Message-----
> From: Samuel Leathers [mailto:sam at theleathers.net]
> Sent: Thursday, April 01, 2010 2:43 PM
> To: Geeklog Development
> Subject: Re: [geeklog-devel] Calendar Plugin - Recurring Events
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> One big question is how much should this be able to scale to? Lets say
> the calendar contains 100,000 recurring events, of which, 10 are
> actually recurring in the view period the user is looking at. If it's
> parsed client side, you would have to send all 100,000 recurring
> to the client, so the client could determine if any are being shown.
> Whereas, if it's parsed/cached server side, you would only send those
> events, plus whatever non-recurring events happen for that time period
> the user is viewing.
> That being said, this is an intriguing and interesting idea, granted
> scaling is limited, and I hadn't even thought of having it parsed
> On 4/1/10 2:27 PM, Anthony Rowles wrote:
> > If a user is downloading a calendar side block for the current
> > and there's a 10 year old weekly meeting in the database, the user
> > either need to download one copy of the recurring event or four
> > instances of the event that have been populated into the database.
> > Calculating the recurrence on the fly results in a page size
> > The problem I think you're talking about isn't really with long-
> > events, but with infrequently recurring events. There are
> > use cases where this could be a issue - for example, a calendar of
> > employee birthdays for a large company. A monthly-view side block
> > have to receive every employee's birthday in order to check if any
> > during that month. When I wrote some calendar software for a
> > contractor that had to deal with a lot of quarterly and annual
> reports -
> > what I did was flag events with the months they could possibly occur
> > and use that as an additional filter. This limits your recurrence
> > possibilities somewhat ("every 42 days" would be impossible to
> > implement, for example), but it's not a bad trade-off.
> > - Tony
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.13 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
More information about the geeklog-devel