[ZPT] Web Design with ZPT

Christian Theune ct@gocept.com
Thu, 7 Mar 2002 08:22:43 +0100


Hi.

On Wed, Mar 06, 2002 at 07:40:18AM -0600, Joseph Griffin wrote:
> Hello Christian,
> Sounds like tcm2sql would capture the design for the database. You also 
> need a script generator for ZPT. For instance, the login page would 
> need ZPT statements to wrap a ZSQL method that queries the database. 
> What would be nice is to have a integrated package that allows to 
> select the database (postgresql, mysql, ZODB) and generate the scripts 
> you need. The code should be structured to allow iterative design. It 
> would take a while to complete, but once it's done, you really have a 
> powerful tool that's productive (managers like to hear things like 
> that). Joseph


Well, i just wanted to show you one part that matches you "wishlist".
tcm2sql is currently only intended to provide the database generation
as we don't simply do a 1:1 presentation of the data in the application.
But i think one could extend this tool to generate some other code with 
it. Generating the SQL Queries and ZPT Pages from the Datamodel would be
almost the same thing as generating SQL creation code. The other option
-to developing evolving structures - is currently in progress but 
has a lot of restrictions around it ...

and btw: tools aren't any productive ;)

Greetings

Christian

-- 
Christian Theune - ct@gocept.com
gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981

reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])