[CMF-checkins] CVS: CMF/CMFUid - README.txt:1.3
Grégoire Weber
zope.org at incept.ch
Thu Aug 5 12:06:56 EDT 2004
Update of /cvs-repository/CMF/CMFUid
In directory cvs.zope.org:/tmp/cvs-serv4623
Modified Files:
README.txt
Log Message:
- updated explanations
=== CMF/CMFUid/README.txt 1.2 => 1.3 ===
--- CMF/CMFUid/README.txt:1.2 Thu Jul 22 10:39:28 2004
+++ CMF/CMFUid/README.txt Thu Aug 5 12:06:55 2004
@@ -11,17 +11,25 @@
object of a given unique id. The interfaces do not imply the use
of the catalog (except the IUniqueIdBrainQuery).
- The 'portal_uidgenerator' tools responsibility is to generate unique
- ids. The 'portal_uidannotation' tool is responsible to attach unique
- ids to a content object. The 'portal_uidhandler' manages registering
- and accessing unique ids.
+ Which Tool does What?
- 'portal_uidhandler' implements 'IUniqueIdHandler' and represents the
- hook through which applications are playing with unique ids.
+ The 'portal_uidgenerator' tools responsibility is to generate
+ unique ids. The 'portal_uidannotation' tool is responsible to
+ attach unique ids to a content object. The 'portal_uidhandler'
+ manages registering and accessing unique ids.
+
+ This design was chosen to allow users replacing only parts of
+ the functionality without having to understand the whole thing.
+
+ Unique Id API
+
+ 'portal_uidhandler' implementing 'IUniqueIdHandler' is the main
+ API for playing with unique ids.
Dependencies
- Object lookup by unique id depends on the portal_catalog
+ Object lookup by unique id depends on CMFCore (especially on
+ portal_catalog.
Usage
@@ -32,4 +40,10 @@
Have a look at the interfaces.
- An example usage can be found in 'CMFDefault.Favorite.Favorite'.
+ CMFUid's functionality is used by CMFDefault's favorite content type
+ to follow linked objects. The favorite content type works as before if
+ CMFUid is not installed.
+
+ See 'CMFDefault.Favorite.Favorite'.
+
+ gregweb/2004-08-05
More information about the CMF-checkins
mailing list