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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to