I think you missed my point. I was talking about generating code (sql as
DDL for instance)
not sql statements. I use Enterprise architect to model the application in
UML for the data model,
entity model, I generate generate storm schema and DDL for accessing the
database from the model.
And much of the model is originally reverse engineered from the RDBMS by EE.
And usually the RDBMS is pre-existing, not a new thing. So the schema of
the RDBMS is fixed.
So I was looking for zope eco system based non html/xml based templating
systems as a response to Martin
saying DTML is dead, as I am currently using DTML for these sorts of tasks.
On Sun, Sep 5, 2010 at 6:47 PM, Laurence Rowe <l...@lrowe.co.uk> wrote:
> On 5 September 2010 02:49, Tim Hoffman <zutes...@gmail.com> wrote:
> >> Please note that DTML is a dead (and horrid) technology.
> >> Martin
> > But zpt is horrible for doing non html/xml based things ;-), What do you
> > think is good alternative in the zope eco system now
> > for templating other types of things (sql, python ...) ?
> If you don't need conditions or looping, then string.Template from the
> standard library is a reasonable choice. For templating SQL I would
> use SQLAlchemy, as you want appropriate quoting applied to your input.
> (You don't have to use it's ORM).
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -