in reply to Re: Writing Better Objects
in thread Writing Better Objects
It's a small project i coded up a while ago, that ive started looking at again.
It has a perl script that parses a simple sql schema, and feeds the hashref representation to an HTML::Template driven template to create the Class modules.
It's fairly easy to create your own templates, in your own favoured style for whatever language you like.
The advantage of preproducing the code is that you can delete unneeded functions and tweak code for specific needs.
I have plans to create a more complex meta language, that can handle foreign keys and other relationships.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Writing Better Objects
by diotalevi (Canon) on Jun 20, 2003 at 05:06 UTC |