[BlueBream] seeking clarifications in zope.container

Adam GROSZER agroszer at gmail.com
Mon Oct 11 08:17:39 EDT 2010


Hello Joshua,

If you decrypt ;-) zope.container.constraints.[contains and containers]
they just do the same.
I prefer zope.container.constraints.[contains and containers], they're
more concise and readble.

Monday, October 11, 2010, 2:09:34 PM, you wrote:

JI> Hello all,
JI>         I am new to bluebream and I find it hard to get the entire picture just
JI> by reading the documentation at
JI> http://bluebream.zope.org/doc/1.0/index.html so I was going through
JI> documentation of individual libraries at pypi.python.org. Some libraries
JI> don't have any documentation (eg. zope.publisher) making my learning
JI> curve even more difficult.
JI>         Anyways coming to the point when I was reading the documentation for
JI> zope.container in pypi, the method mentioned there to express
JI> restrictions on containers and contained items was using
JI> zope.container.constraints.[contains and containers] but the Tutorial 2
JI> of bluebream teaches me to add a __setitem__ method to ICollector then
JI> to use ItemTypePrecondition and ContainerTypeConstraint.

JI>         Which one should I follow? Am I missing some thing? Please excuse my
JI> ignorance if my question sounds too novice.

JI> Thank you


-- 
Best regards,
 Adam GROSZER                            mailto:agroszer at gmail.com
--
Quote of the day:
Vique's Law: A man without religion is like a fish without a bicycle.



More information about the bluebream mailing list