[Zope-CMF] Re: RFC: CMF 1.5 Release Plan

Florent Guillaume fg at nuxeo.com
Tue Jul 6 09:27:18 EDT 2004


> >1.) UID generator tool and references machinery
> >
> >Some backported code from Archetypes was checked in on the
> at_reference_backport branch, but I don't think this is ready to be merged.
> While there was consensus that tools like that should become part of CMF,
> there was no discussion about the best implementation.
> >
> >An alternative to the Archetypes code would be a solution based on
> ><http://cvs.sourceforge.net/viewcvs.py/collective/CMFUid/>,
> >but I guess this should be discussed as part of the 1.6 roadmap discussion.
> 
> I could invest some amount of time in incorporating uid generation
> and management into CMF (CMFUid is from me) and probably a relation
> tool also.
> 
> The approach attaches a callable uid attribute to arbitrary objects. 
> The mechanism to deal with copy&paste is given with the 
> ICallableOpaqueItemWithHooks interface I added to CMF 1.5 earlier 
> this year.
> 
> I'd really not go the road of mixin classes as the at_reference_backport 
> branch proposes. 
> 
> How I'd like to proceed:
> 
>    I'd like to have a look at various uid (and reference) implementations 
>    out in the field (AT, CPS?, others?) and then make a interface proposal
>    before starting to implementation.

CPS does not have UIDs at the moment. The only kind of unique id it has
is the docid, which can reference all the versions (revisions) of a
single document. The couple (docid, revision) is unique and gives access
to a revision of a document in a central repository. But that's not the
UIDs you are envisionning I think.

CPS does not have references either, other that one-way references from
the proxies to the (docid, revision) it points to. That's not what you
propose either.

We'd probably use both concepts if they were available in CMF.

Florent

>    I'd like to get that all doen before CMF 1.5beta1 is due. Depending on
>    the duration and (dis)agreement of discussions and implementation.


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg at nuxeo.com


More information about the Zope-CMF mailing list