cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: Flow Database stuff ( The new FOM? )
Date Fri, 11 Jul 2003 19:31:46 GMT
Reinhard Pötz wrote:
> As I'm curious I have a technical question:
> What's the difference if I read the necessary data in the flow or some
> milliseconds latter in the view layer? What do I gain?

You gain a cleaner separation of concerns. I simply don't like accessing 
my persistence layer from the view. The view is passed a model that 
consisits of Javascript objects, Java beans or DOMs and it should not 
care where it comes from.

	Just IMHO,

		Ugo



Mime
View raw message