cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <>
Subject Re: GSoC
Date Thu, 15 Mar 2007 21:18:54 GMT
Grzegorz Kossakowski skrev:
> Reinhard Poetz wrote:
>> Grzegorz Kossakowski wrote:
>> And finally some more project ideas:
>>  a) cleanup input modules: IIRC there was some discussion about
>>     reducing the number of input modules in favor of one that uses an
>> expression
>>     language that works on a well-defined object model.
>>  b) cleanup expression language usage throughout Cocoon
>>     Daniel, do you have any pointers?,,,

> I would add even one more:
> * refactoring of pipeline stuff
>   While working on improving HTTP-compliance of pipelines I had a
> feeling (expressed in few comments) that pipeline code really needs
> major redesign and refactoring. Current code is really obscure,
> hard-to-follow and full of hacks. It's really a challenge to make a only
> minor change in it being sure that nothing is going to break. Situation
> is even worse, that there are only few tests provided for pipeline code.
> My idea was to write lots of tests _before_ doing any refactorings
> covering all the code in pipeline module and start reimplementing
> classes with effort to not change APIs too much. However, small changes
> would be needed IMHO.

Just refactoring something sounds a little bit boring. I think you 
should add something also. One idea would be to make pipelines usable 
outside Cocoon sitemaps. I started to work on it

  But one still need to depend on the cocoon-core module. It would be 
much neater to just need to depend on the cocoon-pipeline-impl.

> I only wonder if there is a volunteer that woud like to mentor such a
> project.

I could mentor it.

> Also, I wonder if it's even doable in two months as this
> changes would involve lots of discussion and the task in general is
> really challenging.

As a refactoring consists of a sequence of behavior preserving 
transformations you can stop in any moment, so it is of course doable in 
two months or in any given period of time ;)

A possible problem with doing it during the summer is that the list 
might be less responsive. So it requires that you are confident enough 
to make some tough decisions without that much feedback.


View raw message