Another update on 'portal' - Mailing list pgsql-www

From Alexey Borzov
Subject Another update on 'portal'
Date
Msg-id 402CAFF3.5050507@cs.msu.su
Whole thread Raw
List 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.



pgsql-www by date:

Previous
From: Jeroen Ruigrok/asmodai
Date:
Subject: Re: things currently broken/missing
Next
From: "Dave Page"
Date:
Subject: Re: Another update on 'portal'