Jim McNeill wrote:
>
> Having seen the reception that novices get in this list, I get the feeling
> that I'm really going to regret this, but here goes.
We're not that bad are we? I hope not. There are many helpful
people on this list, we usually answer a lot of questions.
>
> I honestly have downloaded the TDK and got the example app going, and
> amended it a bit OK. It lead me to ask several questions, which I'm having
> difficulty answering from the howtos and other docs. I've had a look through
> the mail archives too, but I'm still none the wiser. I'll pose just one of
> my questions, so that you can gauge the frightening extent of my ignorance:
>
> Em, Turbine is an application generator, yeah?
Turbine uses Torque to generate your SQL and object model, but Turbine
itself is not an application generator. But the TDK does generate
a sample application. Turbine is the framework itself while the TDK
is a collection of all the tools you need to develop with the framework.
> It creates java code from an
> XML representation of database structure, plus some Velocity screen and
> layout definitions. 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?
When the object model is generated there are base classes which contain
almost all of the logic initially, but you will also notice generated
subclasses which are empty and it is in these generated subclasses that
you add you domain specific logic.
> And you thought I was joking when I said I was thick.
There is a lot in Turbine and it's definitely hard to wrap your
head around it all. This summer I am writing a book with two others
and it will have some sections on Turbine. I hope to make a complete
set of Turbine documentation by the end of the summer but others
are always welcome. I planned to do this anyway and it just so happened
it will land in a book.
> Cheers
> Jim McNeill
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://jakarta.apache.org/commons
http://tambora.zenplex.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]