[z3-checkins] r22936 - z3/sqlos/trunk/Zope2/FiveSQLOS
jinty at codespeak.net
jinty at codespeak.net
Wed Feb 1 23:57:55 CET 2006
Author: jinty
Date: Wed Feb 1 23:57:45 2006
New Revision: 22936
Modified:
z3/sqlos/trunk/Zope2/FiveSQLOS/README.txt
Log:
Document a fragile piece of FiveSQLOS
Modified: z3/sqlos/trunk/Zope2/FiveSQLOS/README.txt
==============================================================================
--- z3/sqlos/trunk/Zope2/FiveSQLOS/README.txt (original)
+++ z3/sqlos/trunk/Zope2/FiveSQLOS/README.txt Wed Feb 1 23:57:45 2006
@@ -12,6 +12,17 @@
* Place sqlos on the python path.
* Copy FiveSQLOS to the Products directory.
+A word on Acquisition and SQLObject
+-----------------------------------
+
+SQLObject is a metaclass, as is Acquisition. You cannot sub-class from both of
+them. But objects in Zope 2 that do not support acquisition are quite useless.
+
+The current solution to this problem is the ItemWrapper from
+Products.FiveSQLOS.wrapper that supports Acquisition and is an Item. This is
+wrapped around any SQLObject leaving a container. This wrapper is _not_
+perfect, so if you have any ideas, let us know.
+
Example
-------
More information about the z3-checkins
mailing list