Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 58173 invoked from network); 14 Jul 2005 08:47:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jul 2005 08:47:10 -0000 Received: (qmail 72921 invoked by uid 500); 14 Jul 2005 08:47:06 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 72863 invoked by uid 500); 14 Jul 2005 08:47:06 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 72850 invoked by uid 99); 14 Jul 2005 08:47:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 01:47:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 01:47:02 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DszMM-0006rW-IB for dev@cocoon.apache.org; Thu, 14 Jul 2005 10:46:31 +0200 Received: from srvgw12.rauser-ag.com ([217.146.133.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jul 2005 10:46:22 +0200 Received: from joerg.heinicke by srvgw12.rauser-ag.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jul 2005 10:46:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Joerg Heinicke Subject: Re: DirectoryGenerator using abstract Source Date: Thu, 14 Jul 2005 08:45:13 +0000 (UTC) Lines: 26 Message-ID: References: <42D44413.7080703@wyona.com> <42D449E8.8070102@gmx.de> <42D52D22.3050902@wyona.com> <42D5887E.4070502@wyona.com> <7557e99f050713143818ece69e@mail.gmail.com> <42D58D9A.8050405@gmx.de> <42D610D4.9080806@wyona.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 217.146.133.165 (Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Michael Wechner wyona.com> writes: > > Wow, 2 years ago! And what about starting a real migration now by > > starting with the unclean way (DirectoryG extends TraversableG with > > old namespace and directory/file metaphore as you wrote it), > > deprecating it at the same time and making the TraversableG the > > officially supported one? > > just one note re such a migration. Wouldn't it make sense to actually > "rename" the TraversableGenerator to CollectionGenerator and introduce > something like > ResourceGenerator (or does that exist already?) and do > > DirectoryGenerator extends CollectionGenerator > FileGenerator extends ResourceGenerator > > such that the terminology is consistent? For the FileGenerator I have another name in mind since a long time: XMLGenerator. This would make it consistent with HTMLGenerator and nearly any else generator too. From where the XML is read is independent on the generator itself, but only depends on the source provided via @src in sitemap. Having this in mind ResourceGenerator is not the best name possible IMO and will continue the irritating naming. Joerg