[Zope3-dev] Associations

Roché Compaan roche at upfrontsystems.co.za
Tue Oct 14 17:17:03 EDT 2003


I thought rewriting our Zope2 association service for Zope3 will be a
good beginning to get to know Zope3, and it is. For those who missed the
thread on associations a couple of months ago, the basic idea is to
support bi-directional associations between objects and it is loosely
based on the MOF model for associations.

I've made some progress and uploaded some source to:
    http://www.zope.org/Members/upfront/associations.tgz

There are no docs yet but the interfaces and tests should give you an
idea of how it hangs together. If you are interested in this at all
please comment.

If you are not, this is why you might be:

    - Associations describe the relationship between objects.

    - Implicit relationships can be inferred from explicit ones.

    - The association service manages references between objects.

    - It adds two new fields to schemas: a Reference and a
      ReferenceSet.
      
    - It provides a convenient ReferenceWidgetMixin to use with existing
      widgets in the forms package.

-- 
Roché Compaan
Upfront Systems                 http://www.upfrontsystems.co.za



More information about the Zope3-dev mailing list