[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Extending
Zope
webmaster at zope.org
webmaster at zope.org
Tue May 4 14:10:17 EDT 2004
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/CustomZopeObjects.stx#2-38
---------------
A good real world analogy to ZClasses are word processor templates.
Most word processors come with a set of predefined templates that you
can use to create a certain kind of document, like a resume. There may
be hundreds of thousands of resumes in the world based on the Microsoft
Word Resume template, but there is only one template. Like the Resume
template is to all those resumes, a ZClass is a template for any number
of similar Zope objects.
% cwitty - May 25, 2002 5:30 am:
In the previous paragraph, you were emphasizing that the important thing about classes is that if you change
a class, instances reflect the change. That makes word processor templates a poor analogy; if the template
changes, documents based on the template don't change.
% mcdonc - May 27, 2002 6:07 pm:
This is true for ZClasses and it should be mentioned somewhere... but it's not true for Python disk-based
classes.
% Anonymous User - May 4, 2004 2:10 pm:
I agree, the word processor analogy is awful. Not that anyone is reading this. BTW WTF is mcdonc trying to
say?
More information about the ZDP
mailing list