public inbox for [email protected]  
help / color / mirror / Atom feed
From: Alexey Borzov <[email protected]>
To: [email protected]
Subject: finally, attempt on 'portal' changes
Date: Sat, 07 Feb 2004 00:07:46 +0300
Message-ID: <[email protected]> (raw)

Hi!

Well, turned out that I had time to flame on this list about the changes needed 
for 'portal' module, but didn't have time afterwards to actually implement them. :[

Finally managed to hack on the module a bit.

The results are here:
http://oc.cs.msu.su/pgorg/
(if page generation times look big, the box is a P2-200 :] )

The code can be downloaded:
http://oc.cs.msu.su/pgorg.tar.gz

Main changes:
* All HTML was taken out of the PHP, templates and static pages were moved from 
database to files
* The site now uses the template engine (HTML_Template_Sigma from PEAR)

You can view f.e. the "common" template here:
http://oc.cs.msu.su/pgorg/template/common.html

 From my POW, it is a *lot* easier to edit for designers than before. Also note 
the preparation for gettext usage.

There were also some optimizations done to the code, d/l it and see.

Stuff left to be done:
* Docs
* Language handling (pages like index.html.ru)

There is also a problem with database schema: all language fields are char(2), 
but languages in HTTP can be f.e. 'en-us'.


If the changes I did are approved, I'd like to get access to the CVS and dev. 
server to be able to continue the work there.





view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: finally, attempt on 'portal' changes
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox