On 8/27/01 8:49 AM, "fanyun" <[EMAIL PROTECTED]> wrote:

> Hi:
> 
> I am look for some kind of method to generate the Xml database schema into
> HTML database structure document, so that we can get rid of our database
> design document(word). And make the document and database always synchronized.
> 
> Any solution in Torque?
> 

Just place the torque datamodel object into a context and make a simple html
template. You could probably use one of the existing tasks (or make a common
base class) and simply make another set of templates for html generation. I
originally use an xsl transformation to make the html for a table, but
haven't got around to using velocity.
 
> Regards
> 
> fanyun
> 
> 
> 
> 
> -----Original Message-----
> From: Stefan Wagner [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 8:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: generation of vm templates from the database schema
> 
> 
> I don't know anyone you've already done it and I'll love it!
> 
> Ciao,
> Stefan
> 
> Am Montag, 27. August 2001 13:55 schrieben Sie:
>> Hi,
>> 
>> The database in my project consists of more than 30
>> tables. Records in the tables must be updated, added
>> or removed via web-browser. Torque gives me the
>> beautiful possibility to generate om and sql from the
>> database schema. But I have to program vm-templates
>> and module (actions and screens) to editing of records
>> in the tables by myself. It does no fun for 30 tables.
>> I think every web application needs capability of
>> editing of data in its tables.
>> It would be beautiful if Torque could generate editing
>> framework for its tables. I was starting do it. I've 2
>> question:
>> -Has somebody already done this?
>> -Has somebody interest in it?
>> 
>> Regards
>> Artem Grinshtein
>> [EMAIL PROTECTED]
>> 
>> __________________________________________________
>> Do You Yahoo!?
>> Make international calls for as low as $.04/minute with Yahoo! Messenger
>> http://phonecard.yahoo.com/
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to