Etienne-Hugues Fortin wrote:
 
> > > I was reading the getting-started about the Object-Relational model and
> was
> > > trying to figure if that particular part of Turbine can be use without
> > > Turbine as we already wrote our own framework and don't want to rewrite
> it
> > > with Turbine.
> >
> > This sounds a bit strange to me. You have a framework, and you
> > definetely
> > want to use Turbine at the same time, but you are not sure which part?
> > Come on...
> 
> If that is what appears from my message, then, it's inaccurate.  We have a
> framework and the part of Turbine that interest us is the Peers and Torque
> (as they seems to work together).  The goal is to replace the method that
> actually talk to the database by something that will abstract the database
> layer so we can change it easily.

I'm sorry, I misread your message.

> > The turbine documentation has two docs about Peers and another about
> > Torque
> > (the tool to generate O-R mapping code automatically)
> > Peers are actually used by DBSecurityService (see om.security and
> > om.security.peer
> > packages) but I would not recommend it as an example - it's a bit messy.
> > There are also a few example applications, but I can'r recall the URLs
> > right now.
> > Check the list archive. The address is at the very bottom of this
> > message.
> 
> Thank you.  I'll take some time to see how Torque work.  I think I have the
> basic understanding of how peers work and one of the thing I wanted to
> confirm is how to construct the classes like MyTablePeers.  Is this what is
> generated by Torque?

Exactly. Torque generates skeleton BO (business object) classes as well
as
accompanying Peers and MapBuilders. It can even generate sql scripts for 
various databases based upon the XML description of you tables
structure.

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to