cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@digitalinsight.com>
Subject RE: JXT or XSP?
Date Sat, 01 May 2004 17:39:32 GMT
Doing it in the actions is where it should be done. That is the bridge
provided by the sitemap between controller and model. An action can only
provide information to the sitemap - it is not the controller.

Ralph

-----Original Message-----
From: Ugo Cei [mailto:ugo@apache.org] 
Sent: Saturday, May 01, 2004 10:08 AM
To: users@cocoon.apache.org
Subject: Re: JXT or XSP?

Il giorno 01/mag/04, alle 18:20, Ralph Goers ha scritto:

> You have to draw a line in the sand somewhere. Instantiating the 
> objects
> might not be so bad, but the next thing you know you'll be calling 
> methods
> on those business objects because its easy and then you'll really 
> start to
> pollute the controller with the model.
>

And what is stopping you from calling those methods from your actions 
too?

	Ugo


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

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


Mime
View raw message