cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: DirectoryGenerator using abstract Source
Date Thu, 14 Jul 2005 07:14:28 GMT
Joerg Heinicke wrote:

> On 13.07.2005 23:38, Gianugo Rabellino wrote:
>
>>> DirectoryGenerator extends TraversableGenerator
>>
>>
>> We've been through this before:
>>
>> http://marc.theaimsgroup.com/?t=105782815900003&r=1&w=2
>>
>> In a word: backward compatibility.
>
>
> 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?

Michi

>
> Joerg
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Mime
View raw message