Re: Calendar Scripts - Quite a complex one

From: "Kumar" <sgnerd(at)yahoo(dot)com(dot)sg>
To: <josh(at)agliodbs(dot)com>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "psql" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Calendar Scripts - Quite a complex one
Date: 2004-01-07 06:06:16
Message-ID: 001701c3d4e4$62fc4dc0$7502a8c0@hdsc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

The complexity comes while scheduling the appointments. Let us say, I have
scheduled so many meetings in my calendar of various schedules like daily, 3
days once, weekly, bi weekly. monthly, bi monthly, etc.

While I open the calendar for end of this year (say Dec 2004), I need to
show those meetings in my calendar, but I have data until Jan 2004.

What is the best way to show it. Populating the records from Jan 2004 to Dec
2004 in the pgsql function and display it in the calendar, or just write a
query to generate temporary records only for that Dec 2004 and not storing
them at the database.

Please shed some idea.

Regards
Kumar

----- Original Message -----
From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>; "Kumar" <sgnerd(at)yahoo(dot)com(dot)sg>;
"psql" <pgsql-sql(at)postgresql(dot)org>
Sent: Wednesday, January 07, 2004 3:43 AM
Subject: Re: [SQL] Calendar Scripts - Quite a complex one

Peter,

> You can probably lift out the complete calendar functionality from an
> existing groupware solution, say, www.egroupware.org. I'm not sure
> whether it's practical to do the calendar things in the database, since
> you will also need a significant amount of intelligence in the client
> to display reasonable calendar graphics, for instance.

But all of the appointments, holidays, etc can and should be stored in the
database, and by using function programming one can automate generating all
of the raw data for the calendar graphics. We do this with our legal
calendaring app.

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message azwa 2004-01-07 06:19:53 COPY command
Previous Message Loeke 2004-01-06 23:38:08 question : the choice of the primary key.