[Zope3-dev] ReferenceField equivalent

Stephan Richter stephan.richter at tufts.edu
Fri Jun 11 17:03:00 EDT 2004


On Tuesday 08 June 2004 18:33, Michał Węgrzynek wrote:
> I was thinking about using VocabularyField with some vocabulary class
> using ArtistContainer with fixed name as the source of information.
> Is this the right approach or is there a better way?

Vocabularies are the way to go. However, you will not need to rely on special 
naming conventions. Use marker interfaces instead.

You can also store the reference to an object directly now, since the ZODB is 
not made about circular references anymore.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope3-dev mailing list