Re: database driven user quotes

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: database driven user quotes
Date: 2005-08-17 20:06:46
Message-ID: 200508171606.46123.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Just like we do now with events and news and such. When we build the site from
the master, the quote will get pulled from the db and put into the static
page.

Incidentally, for those concerned, I'll handle translation like we do now with
news/events type stuff, that architecture should be fine for what I am doing.

Robert Treat

On Wednesday 17 August 2005 15:56, Marc G. Fournier wrote:
> Ummm, how are you planning on handling the web servers, which are all
> static pages generated by the master site?
>
> On Wed, 17 Aug 2005, Robert Treat wrote:
> > Hey guys,
> >
> > I'm thinking about making the user quotes on the main website database
> > driven . Two goals behind this would be to allow for a page where we
> > could display all user quotes, and also to allow the quotes on the main
> > page to be randomly generated for each site build, making the front page
> > a little less static. The one tricky part seems to be how best to handle
> > translations. I had a thought to make the database table something simple
> > like quote, tagline, & lang, which would be fine for storing the content,
> > however I'm not sure the best way for extracting it. I was thinking the
> > calls to func_lang could be replaced with a get_quote, and then use
> > $_LANGUAGE for
> > system/handler.php as an argument to get the appropriate quote. I figure
> > this will also mean we need an addition to the admin screens for inputing
> > quotes. Does this sound reasonable?
> >
> > --
> > Robert Treat
> > Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: Don't 'kill -9' the postmaster
>
> ----
> Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
> Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Gavin M. Roy 2005-08-17 20:13:59 Re: database driven user quotes
Previous Message Marc G. Fournier 2005-08-17 19:56:13 Re: database driven user quotes