Hi Jill,

Since the Torque Generator generates om.Base* classes (which handles all the
database access [ie: data tier]), which are then extended by the om.*
classes (which can handle the business logic [ie: business tier]), which are
then referenced by velocity.  So even though the files are in the same
package, I don't consider them to have violated any application design
principles.

Regards,

David

-----Original Message-----
From: jill han [mailto:[EMAIL PROTECTED] 
Sent: May-21-07 8:50 AM
To: Turbine Users List
Subject: business tier and data tier

If this kind of subject is not supposed to be discussed in the group, I
apologize.
I use turbine/torque/velocity in the application. In the java object
class, the objects that retrieve data through torque are created in
order to be referenced in the velocity template.
Is this kind of practice violating the rule of separating business tier
from data tier? 

Thanks for your help as always,

Jill


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to