[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
nobody@nowhere.com
nobody@nowhere.com
Fri, 20 Sep 2002 17:17:49 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-63
---------------
Methods are objects in Zope that hold special executable content.
The name "Method" is actually a bit of a misnomer, and its use in
Zope is slowly being phased out for more common terms like
*Script* and *Template*.
% Anonymous User - Apr. 22, 2002 4:12 pm:
If "Method" is a misnomer and is being phased out, why is used extensively here? Why not just call them
scripts and templates, with a little note at the beginning indicating that we used to call these "Methods"
but that the name is deprecated?
% Anonymous User - Apr. 23, 2002 6:04 pm:
Well, he did say "slowly". :)
% hansa - Sep. 20, 2002 5:17 pm:
In OOP parlance, an object *has* methods (with 1st parameter "self").
In Zope use here a ZODB object *is a* method object applicable to other objects if its content is executable,
the latter usually called *Scripts* if derived from PythonScript.
But there is also DTML Method (the executed language being DTML).
Misnomers confuse.