cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: JNet integration
Date Wed, 26 Mar 2008 11:48:04 GMT
On 26.03.2008 03:34, Reinhard Poetz wrote:

>> I never had the need to implement a Source and for the mentioned 
>> simple cases I wonder where you have to cope with them at all? Cocoon 
>> used to be a framework for non-Java developers ... even if we 
>> introduce a pipeline API as in the examples in this thread why do I 
>> need to care about Urls or Sources at all? Why should it be different 
>> then map:generate with its src attribtue? And when I read 
>> CacheableFileGenerator something tells me this approach is wrong.
> 
> What's the advantage of giving our components the responsibility to deal 
> with strings that represent sources?

Isn't that what components are there for? Encapsulating commonly used 
functionality? Why should I extract that to the pipeline *instance* 
level? So writing pipelines is becoming a mess!

Joerg

Mime
View raw message