db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <florianf...@compuserve.de>
Subject Re: Torque in a framework -> Value Objects
Date Thu, 08 Jul 2004 06:20:42 GMT
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" <fliden@translate.com>
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: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org

View raw message