Hi Fredrik,

to use Torque-Objects as VOs / DAOs you shouldn't use the complex 
object model. It's sometimes quite comfortable while in other 
situations it can cause serious trouble and there will be no pure VOs.
Another way getting Torque to generate pure VOs is to remove all 
relations in your XML-Schema, but I think this is a nasty workaround.
You'll always have to add synchronization features like version 
numbers or sth like that (e.g. by extending the templates).

Hope this helps

F. Fray

----- Originalnachricht -----
Von: "Fredrik Liden" <[EMAIL PROTECTED]>
Datum: Donnerstag, 8. Juli 2004 2:58 am
Betreff: Torque in a framework -> Value Objects

> Hi,
> 
> I'm new to Torque and I'm planning to build an application.
> How do I use Torque within a MVC framework? I'd like to make the 
> systemas flexible as possible. Can the Torque generated classes be 
> used as
> Value Objects or will there be any synchronization problems? Or do I
> need to generate pure VO objects in turn?
> 
> Any ideas or suggestions? :-)
> Thanks,
> 
> Fredrik
> 
> -------------------------------------------------------------------
> --
> 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