On Mon, 4 Sep 2000, Leon Messerschmidt wrote:
> Hi Jon,
>
> I would like to make another suggestions here.
>
> I created a new datastructure (called AppData) for my template based code
> generation. The reason for this is to be able to handle stuff that
> DatabaseMap was not designed to do - for example ON DELETE CASCADE. I'm
> also thinking to add some other features to this class in future. One of
> them woud be to add default values to columns so that the generated OM
> classes can be initialized in the constructor.
>
> There is currently a copy of this under downloads from www.opticode.co.za
>
> I propose we move the entire Torque code to AppData. This way we can evolve
> the datastructure of the Torque project without fear of breaking something
> important in Peers. If everybody is happy with this I'll do most of the
> work I.e. SQLToAppData, JDBCToAppData, [XMLToAppData is already done] and
> AppDataToSQL [OM Generation is already done with templates - see the
> download] .
Can you explain a little further. Are you proposing to move the source
of all generation to AppData? As opposed to it being coming from
an XML description? Is AppData a replacement for DatabaseMap?
jvz.
--
Jason van Zyl
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]