[Fwd: [Zope] New HowTo: Gain Enlightenment by Grokking Object Orientation] Orientation]
Python class creation in Zope info forwarded from private email from Ben Glazer re: OO Enlightenment HowTo:
Anyway, by the end of the HowTo, I have only one unanswered question: How, once you've constructed a class in Python, do you instantiate and use that class within Zope? (Please feel free to redirect me to documentation on this one, in case I've overlooked something obvious.)
Yeah, I purposely left that out, 'cause it's a bitch. :-) Look for the "Product API Tutorial" on Zope.org. Here's one place to find it: http://www.zope.org/Members/Zen/howto/ProductAPITutorial
It's slightly dated, particularly in the way product initialization is done. Read Zen's comments at the top to find more up-to-date sources for example purposes.
-- Chris McDonough - Digital Creations, Inc. Publishers of Zope - http://www.zope.org
participants (1)
-
Chris McDonough