cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ypomonh <ypom...@freemail.gr>
Subject Re: (newbiew) Determine program flow
Date Fri, 11 May 2007 11:19:10 GMT
Joerg Heinicke wrote:
> On 10.05.2007 23:41, ypomonh wrote:
>
>>    "A googd rule for database actions i sto use them either........, 
>> or when the result
>>    of the database operations somehow will influence the pipeline."
>>
>> I understand that this book was written before flows took of but is 
>> this approach still advisable?
>
> I would not do it this way now and do not like the idea at all. This 
> approach mixes controller and view. Furthermore it complicates the 
> sitemap unnecessarily. Using flow, making db queries from it 
> (indirectly, not in flow itself, but calling the actual services) and 
> deciding which pipeline to use to render the view is much more 
> recommendable.

As far as I can see both Grzegorz & Jörg your opinions are aligned :)

Is there a part in the cocoon documentation where I can find an example 
of this? I just went through cocoon.apache.org/2.1/userdocs and didn't 
seem to find anything.

I appreciate the help!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message