From: Patrick W. <ct...@ya...> - 2002-11-20 16:40:44
|
Thanks for the reply. > A lot of us here are doing code generation with WM. The code > generation I'm doing is very specific to my little world. It'll be > interesting to see something that is a bit more flexible. Yeah, I've been missing having a basic templating tool when I run into a case where I need to pump out new solutions. I've tried various things (like XSL) but found them limiting or verbose. Part of my goal is to create a series of directives and classes that solve different code-generation problems; sort of like a set of targeted macros used for different code generation problems. Design-wise, I'm influenced the the DB modelling tool ERWin, which had a SQL-model specific macro language which I found much more useful that a general-purpose macro language. > > So far I'm working on a set of classes that map database metadata > using > > JDBC, and testing them in different configurations to see how useful > > they > > any thoughts of using XML as well? XML for reading a DB schema? Yeah, that would be completely doable, only problem is I haven't found an industry-std schema for DDL. Have you seen one? The interface to the WM world is through Java classes, not through JDBC directly, so instantiating those from XML shouldn't be hard, as long as the schema is std. patrick __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com |