X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1F079D1B49F for ; Thu, 15 Jan 2004 23:01:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 86144-10 for ; Thu, 15 Jan 2004 19:01:18 -0400 (AST) Received: from curie.credativ.org (credativ.com [217.160.209.18]) by svr1.postgresql.org (Postfix) with ESMTP id 2B760D1B498 for ; Thu, 15 Jan 2004 19:01:16 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by curie.credativ.org (Postfix) with ESMTP id 1AC865626C; Fri, 16 Jan 2004 00:01:17 +0100 (CET) Received: from colt.pezone.net (dsl-213-023-254-156.arcor-ip.net [213.23.254.156]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by curie.credativ.org (Postfix) with ESMTP id D074956243; Fri, 16 Jan 2004 00:01:15 +0100 (CET) From: Peter Eisentraut To: "Dave Page" , "Alexey Borzov" , Subject: Re: Todo for 'portal', programmers perspective Date: Fri, 16 Jan 2004 00:01:17 +0100 User-Agent: KMail/1.5.1 References: <03AF4E498C591348A42FC93DEA9661B8720494@mail.vale-housing.co.uk> In-Reply-To: <03AF4E498C591348A42FC93DEA9661B8720494@mail.vale-housing.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401160001.17014.peter_e@gmx.net> X-Virus-Scanned: by AMaViS at credativ.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/113 X-Sequence-Number: 3352 Dave Page wrote: > Do we really need a template for each static page? Can we not rewrite > requests such that xxx.html becomes template.php?file=xxx.html or > similar? Heaven, please no URLs like that. In fact I would propose, for a future iteration perhaps, to put each file in a separate directory and name them index.lang.{html,php} and only publish the directory based URLs. Compare the links at http://www.debian.org/ http://www.kde.org/ http://www.gnome.org/ All the URLs are very readable and don't expose implementation details.