X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A25FB9DCAB0 for ; Tue, 6 Dec 2005 18:50:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14352-09 for ; Tue, 6 Dec 2005 18:50:22 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by postgresql.org (Postfix) with ESMTP id 2080F9DCAA8 for ; Tue, 6 Dec 2005 18:50:18 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-34.mail.demon.net with esmtp (Exim 4.42) id 1Ejldc-000OEv-Cz for pgsql-www@postgresql.org; Tue, 06 Dec 2005 22:50:20 +0000 Received: from 84.13.80.131 ([84.13.80.131]) by ratbert.vale-housing.co.uk ([192.168.1.106]) with Microsoft Exchange Server HTTP-DAV ; Tue, 6 Dec 2005 22:50:20 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Tue, 06 Dec 2005 22:50:19 +0000 Subject: Re: Integration Requirements From: Dave Page To: Josh Berkus , Message-ID: Thread-Topic: [pgsql-www] Integration Requirements Thread-Index: AcX6t26DrN3RZmaqEdq9WAARJHpWaA== In-Reply-To: <200512060924.35627.josh@agliodbs.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.253 required=5 tests=[AWL=-0.000, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.253 X-Spam-Level: * X-Archive-Number: 200512/90 X-Sequence-Number: 9031 On 6/12/05 5:24 pm, "Josh Berkus" wrote: > Dave, > > The below go far beyond "integration requirements" and stray into the area of > dictating exactly how new web code should be built. If you do that, you > won't get any contributors. Would you write WWW code on your own time if > someone told you exactly what programming structures to use? I did. The last website. I am not dictating anything however - my comments are a summary of what seemed to me to be the final agreement on what was going to be done last time round. If you've got better ideas, let's hear 'em. > Integration requirements would be something like: > -- Needs to be able to run on FreeBSD > -- Must use the postgresql.org CSS, which is documented in __________ (note > Magnus' comment on the lack of CSS documentation). > -- Can't have processor/ram requirements beyond ______________ unless a server > is going to be donated, > -- Must be in one of the following programming languages: PHP, Perl, Ruby ... > if in something other than PHP or Perl must be part of a long-term commitment > for code maintenance. > etc. - Must be written in PHP4, website template format, or a mix of the two. - Must use the postgresql.org css if dynamically rendering pages in PHP. - Must use 'friendly' URLs without POST or GET variables controlling content, to allow mirroring (friendly URLs can be rewritten in GET variables, per existing pages on the site). >> - Moving data; originally we'd looked at exporting from the cms into the >> filesystem, and having script that did a cvs add/remove/commit over the >> entire tree, into the main web CVS. This is still preferrable from an 'ease >> of rebuilding' point of view, but might be easier just to rsync the content >> from the filesystem of the cms machine to wwwmaster. > > This isn't really practical for a KB or many other components, which need to > be highly dynamic, not a bunch of static pages. It's going to be static if it's on the main website because the site is 100% static. That doesn't mean that page updates cannot be reflected within 15 minutes or an hour or whatever. >> - Navigation; Gevik was working on a tree-style thingy in PHP. Perhaps the >> CMS could export an XML file describing the navigation tree, which the PHP >> handler on the main website could use to generate it's treeview in dynamic >> mode. By accepting some sort of pointer to the currently selected node as a >> GET value, we should be able to make the tree fully mirrorable. > > This is functional specification based on a lot of assumptions about the shape > of the final interface, and I can't imagine it even being applicable to > something I, personally, would build. This is the design that Gevik proposed, discussed on -www (and -hackers iirc) and previewed previously. I merely suggested a way for a CMS to produce output to control the interface. Again, if you have other suggestions about user interface and how that may be controlled, please share them. Unless someone actually proposes new ideas, I can only suggest how the previous ones might be integrated with the website. Regards, Dave