Re: Code Generation in Perl
[prev]
[thread]
[next]
[Date index for 2004/06/16]
On Tue, Jun 15, 2004 at 08:58:35PM -0300, Nelson Ferraz wrote:
> Allen Day wrote:
> >You might also want to check out the Turnkey project,
> >http://www.sf.net/projects/turnkey
> >
> >It does something similar to what you describe, but operates on the
> >database SQL directly rather than requiring an XML descriptor.
>
> Dear Allen,
>
> I'm glad to hear about your project, and I'll take a look on that.
>
> The first version of AppML (at the time called "auto_coder"), also
> worked directly on the SQL. The problem was that the database only
> provided a subset of the required semantics.
>
> For instance: I was forced to use captions similar to the field names,
> and I wasn't able to tell if a field should be visible by default.
>
> With XML, which is eXtensible, I can describe the project with as much
> information as needed.
>
> Moreover, it's easier to parse a single XML source than the different
> SQL schemas out there.
>
> The database creation scripts are generated automatically, and I use
> Class::DBI to achieve database independence and to make the resulting
> code more mantainable.
Is there a tool to automatically create the XML from a database schema
(and so easily 'bootstrap' a new development project)?
Tim.
|
(message missing)
|