<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Am 03.03.2009 um 21:53 schrieb Massimiliano della Rovere:</div><blockquote type="cite">What is the best way to represent a "foreign key"? a persistent.wref? an intid number?<br><br>Suppose I have a persistent class representing an art object author (A) and another persistent class representing an art object (B).<br> <br>If I want to create links from one instance of one A to instances of class B (and vice versa) what do you recommend me?<br><br><br>It would be great having the possibility of referring attributes and methods of the object:<br> is w is a reference to an instance of A, <a href="http://w.name">w.name</a> and w.surname for example...<br></blockquote><br></div><div>You might have a look at&nbsp;<a href="http://pypi.python.org/pypi/gocept.reference">http://pypi.python.org/pypi/gocept.reference</a></div><div><br></div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Yours sincerely,</div><div>--&nbsp;</div><div>Michael Howitz · <a href="mailto:mh@gocept.com">mh@gocept.com</a>&nbsp;·&nbsp;software<span class="Apple-converted-space">&nbsp;</span>developer</div><div>gocept gmbh &amp; co. kg · forsterstraße 29 · 06112 halle (saale) · germany</div><div><a href="http://gocept.com">http://gocept.com</a> · tel +49 345 1229889 8 · fax +49 345 1229889 1</div><div>Zope and Plone consulting and development</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></span></div></span></div></span> </div><br></body></html>