[ZPT] Re: a little more on scripts execution

Chris Withers chrisw@nipltd.com
Tue, 13 Aug 2002 11:38:11 +0100


Michal Kurowski wrote:
> It's simple.
> I need to create my own Product (or perhaps ZClass)  ;-).

why? Are you sure your conclusion is correct? ;-)

> I've got to have more interaction with ZSQL.

What kind of interactions?

> I've got a couple of tables and I access them with a single script
> using "lists of dictionaries".

can you explain this step in a bit mroe detail?

> Then I render them in ZPT. 

What? The 'lists of dictionaries'?

> What is needed is to pass those sql data around, for example to some
> scripts using links as above.

And wehre are you having trouble passing the sql data?

> I actually should create a ZClass with a couple of "brains"
> methods etc and it will finally happen.

You actually shouldn't ;-)

If you have data in a variable, yuo can just pass it around by reference. If you 
want to modify it during that process, then chances are you're trying to solve 
the problem the wrong way...

cheers,

Chris