cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject Re: [RT] Sitemap Listeners
Date Sat, 16 Apr 2005 23:59:36 GMT
Carsten Ziegeler wrote:

>Giacomo Pati wrote:
>
>  
>
>>Why two separate interfaces?
>>
>>    
>>
>We have two different events and someone might only be interested in one
>of the two events. If your component needs both it can simply implement
>both interfaces.
>Separating the interfaces makes it a little bit easier to add new events
>later on: a new event is then an additional interface. If we would use
>one interface, adding a new event would require to change the interface
>which is incompatible then.
>I know we could solve such problems with abstract classes as well. So
>it's a matter of like/dislike of one particular solution. I personally
>don't care how we do it. I like the separate interface approach more,
>but we can have one single interface as well.
>
>Carsten
>  
>
FWIW, I prefer how you implemented it.  It makes maintaining binary 
compatibility easier.

Ralph


Mime
View raw message