Not foolish at all.
On Mon, 4 Jun 2001, Jim McNeill wrote:
> Em, Turbine is an application generator, yeah?
Turbine is a web app framework.
> It creates java code from an
> XML representation of database structure
Yes, Torque is what is used to generate the Peer code. This is the OR tool
that we use. It is optional to use, but recommended if you are going to be
connecting to a database.
>, plus some Velocity screen and
> layout definitions.
For the most part, it does not generate this (yet). You need to create
that yourself. That is the process of building the UI portion of the
application and that is your job. :-)
> You add your business logic into the generated Java
> code. So, standard question for code generators, how do I preserve my
> business logic when I decide to add a few fields and generate the lot again?
>From the Torque side of things, it will generate base classes where the
generated code is as well as *the first time it is run*, it will generate
empty classes that extend those base classes. Since they are only
generated the first time, they do not get overwritten.
-jon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]