You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by zahid <za...@hotmail.com> on 2001/06/29 15:00:10 UTC
Turbine
hi all
i am using turbine and jsp as templates i have make all the changes
mentioned in the documentation. Now i am using "default.jsp" which include
navigations and screens. i only write jsps and actions. Please tell am i
going right or not?
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Turbine
Posted by Eric Dobbs <er...@dobbse.net>.
On Friday, June 29, 2001, at 07:00 AM, zahid wrote:
> hi all
> i am using turbine and jsp as templates i have make all the changes
> mentioned in the documentation. Now i am using "default.jsp" which
> include
> navigations and screens. i only write jsps and actions. Please tell
> am i
> going right or not?
You are on the right track.
We write jsp templates, and actions. We don't write "navigations" or the
like. We also write jsp tag libraries to support the jsp templates,
mainly
so we can keep code out of the templates themselves.
We also write our own services to centralize our business logic. In our
designs, there are some parallels between objects generated by Torque,
and
the services we write to manage those objects, and the tag libraries we
write to display those objects. Torque generated models are the "model",
tag libraries and templates are the "view", and Turbine and the services
are the "controller" in the Model-View-Controller (MVC) pattern.
Hope that helps.
-Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org