You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by fanyun <yu...@vtradex.com> on 2001/08/27 14:49:42 UTC

RE: generation of vm templates from the database schema-----More

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?


Regards

fanyun




-----Original Message-----
From: Stefan Wagner [mailto:wagner@ixtern.de]
Sent: Monday, August 27, 2001 8:00 PM
To: turbine-user@jakarta.apache.org
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
> artfh@yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


RE: generation of vm templates from the database schema-----More

Posted by fanyun <yu...@vtradex.com>.
Is the database schema support some kind of  "comment"  in field defines.  So that I can put the comment as database structure comment.


Regards

fanyun



-----Original Message-----
From: Jason van Zyl [mailto:jvanzyl@apache.org]
Sent: Monday, August 27, 2001 11:18 PM
To: turbine-user@jakarta.apache.org
Subject: Re: generation of vm templates from the database schema-----More


On 8/27/01 8:49 AM, "fanyun" <yu...@vtradex.com> 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:wagner@ixtern.de]
> Sent: Monday, August 27, 2001 8:00 PM
> To: turbine-user@jakarta.apache.org
> 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
>> artfh@yahoo.com
>> 
>> __________________________________________________
>> Do You Yahoo!?
>> Make international calls for as low as $.04/minute with Yahoo! Messenger
>> http://phonecard.yahoo.com/
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

-- 

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: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: generation of vm templates from the database schema-----More

Posted by Jason van Zyl <jv...@apache.org>.
On 8/27/01 8:49 AM, "fanyun" <yu...@vtradex.com> 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:wagner@ixtern.de]
> Sent: Monday, August 27, 2001 8:00 PM
> To: turbine-user@jakarta.apache.org
> 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
>> artfh@yahoo.com
>> 
>> __________________________________________________
>> Do You Yahoo!?
>> Make international calls for as low as $.04/minute with Yahoo! Messenger
>> http://phonecard.yahoo.com/
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

-- 

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: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org