Re: [Zope] passing the parameters to zsql method
Jean-Marc Orliaguet wrote:
Dario Lopez-Kästen wrote:
Denis V. Gudtsov wrote:
DLK> use an intermediary Script (Python), ie: [..skipped..]
Thank you. But, can i do this without using python? From zpt -> to zsql?
Just curious too: isn't there an easier way of doing this using schemas / widgets / SQL adapters?
or are the zsql scripts so very specific that they do more than simple schema mappings?
all of this sound way more complex that 1 script, 1 zpt and 1 zsql...
also you might want to put that logic in a tool and protect the methods? (scripts and ZPTs are not protected as far as I know)
se above... of course, IMHO, my 2 eurocents worth, YMMV, Standard Disclaimers Apply, etc. /dario -- -- ------------------------------------------------------------------- Dario Lopez-Kästen, IT Systems & Services Chalmers University of Tech. Lyrics applied to programming & application design: "emancipate yourself from mental slavery" - redemption song, b. marley
Dario Lopez-Kästen wrote:
Jean-Marc Orliaguet wrote:
Dario Lopez-Kästen wrote:
Denis V. Gudtsov wrote:
DLK> use an intermediary Script (Python), ie: [..skipped..]
Thank you. But, can i do this without using python? From zpt -> to zsql?
Just curious too: isn't there an easier way of doing this using schemas / widgets / SQL adapters?
or are the zsql scripts so very specific that they do more than simple schema mappings?
all of this sound way more complex that 1 script, 1 zpt and 1 zsql...
sure, but I meant to avoid duplicating code. The 1 script, 1 zpt and 1 zsql guys are really one-trick ponies. /JM
participants (2)
-
Dario Lopez-Kästen -
Jean-Marc Orliaguet