Re: Event recurrence - in database or in application code ????

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Mark Stosberg <mark(at)summersault(dot)com>
Cc: Darrin Domoney <ddomoney(at)emergingfrontiers(dot)ca>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Event recurrence - in database or in application code ????
Date: 2002-08-21 22:23:19
Message-ID: 1029968600.19543.46.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-novice pgsql-php pgsql-sql

On Tue, 2002-08-20 at 22:15, Mark Stosberg wrote:
>
> Hello Darrin,
>
<snip>
>
> I've been happy with this solution. I think the Perl turned out to be
> fairly easy to understand and maintain, the SQL that needs to be used
> ends up being fairly straightforward, and the performance is good
> because the selects to view the calendar are fairly simple. The one
> drawback is that sometime before 2028, I have to remember to add some
> rows to the calendar table. :)
>

You need to add rows as well as re-populate a bunch of info for
recurring dates that are not listed forward right?

> -mark
>
> http://mark.stosberg.com/
>
>
> On Tue, 20 Aug 2002, Darrin Domoney wrote:
>
> > One of the features that I am attempting to implement in the system that I
> > am building is
> > the capability to schedule events (with recurrence). My question to those of
> > you that are
> > more experienced in postgresql is whether you would implement this
> > functionality in the
> > database level using triggers or at the application code level (PHP).
> >
<snip>
> >
> > Any suggestions, etc gratefully appreciated.
> >

I would strongly recommend you look at the "WebCalendar" project on
sourceforge.

Robert Treat

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Toni Hermoso 2002-08-21 23:08:46 Accessing DB of non-user name
Previous Message Tim Ellis 2002-08-21 21:36:38 Re: password encryption

Browse pgsql-general by date

  From Date Subject
Next Message Darren Ferguson 2002-08-21 22:27:17 Re: Can't get postgresql to work
Previous Message rdkurth 2002-08-21 22:15:59 Can't get postgresql to work

Browse pgsql-novice by date

  From Date Subject
Next Message Josh Berkus 2002-08-22 00:48:09 Re: Simple but slow
Previous Message Tom Lane 2002-08-21 14:09:54 Re: index is not used

Browse pgsql-php by date

  From Date Subject
Next Message Tom Haddon 2002-08-22 00:33:45 Nextval Problems
Previous Message Mark Stosberg 2002-08-21 02:15:37 Re: Event recurrence - in database or in application code ????

Browse pgsql-sql by date

  From Date Subject
Next Message Mark Stosberg 2002-08-22 02:20:54 Re: Event recurrence - in database or in application code ????
Previous Message Bhuvan A 2002-08-21 09:13:21 Re: Trigger/Function problem