23 Jul
2002
23 Jul
'02
9:46 p.m.
Igor Elbert writes:
... Problem: ... Now let's say that some data is stored in DBMS or other place outside the ZODB. We know how to get it (e.g. ZSQL) but Zope mechanics would not work anymore. I would have to say http://localhost/Org/Address/get?org_id=ENRON or http://localhost/Org/Contact/Address/get?org_id=ENRON&contact_id=Smith since "ENRON" and "Smith" are now just the values in the database. Which is not bad except I loose many of Zope's nice features: acquisition for once. Look at "Direct Traversal" (of ZSQL methods).
I think, you find something in the Zope Book. If not, look at the "Advanced" tab of ZSQL methods. Dieter