Another update on 'portal'

From: Alexey Borzov <borz_off(at)cs(dot)msu(dot)su>
To: pgsql-www(at)postgresql(dot)org
Subject: Another update on 'portal'
Date: 2004-02-13 11:07:31
Message-ID: 402CAFF3.5050507@cs.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Hi!

Uploaded another attempt:
http://oc.cs.msu.su/pgorg/ (trailing slash is REQUIRED)

Changes since last time:
* Docs are shown
* gettext() localisation works

The source can be d/led:
http://oc.cs.msu.su/pgorg.tar.gz

Main changes from the CVS version:
* HTML is now contained in the template files.
* Gettext is used for localization.
* Language-specific pages are now named page.html.{code}, this will
allow Apache's content negotiation to work on static mirrors
* Code optimisations. CVS version did 2*N+1 queries to display the list
of N news items, my version does 1 query.

See the example of template which is ready for localisation:
http://oc.cs.msu.su/pgorg/template/common.html

Main advantages (from my POW):
* Designers can work on HTML templates without touching anything else
* Translators may work on PO files and (static) HTML templates without
touching anything else.
* Better suited for static mirrors.

Things to do yet:
* form handling
* admin interface

This version is about how far I want to go without Some Sort of
Discussion and later Official Approval. I don't want to waste any more
of my time if the current website is OK with The Important People of
PostgreSQL and they just don't want to Bother Changing Anything.

Browse pgsql-www by date

  From Date Subject
Next Message Dave Page 2004-02-13 11:51:21 Re: Another update on 'portal'
Previous Message Josh Berkus 2004-02-13 06:11:40 Re: PHP/Postgresql Advocacy