[Zope-Perl] Beta 3, Book etc.

Michel Pelletier michel@digicool.com
Mon, 20 Nov 2000 13:52:50 -0800


Gisle,

Sorry about the lack of responses from me about book and etc. related
stuff to perl methods.  Here's an update:

I'll be sending out a 'state of the book' document that highlights risks
to the book as Zope stands in the cvs now.  I don't know much about the
state of perl methods other than there is a recent beta that I need to
look at.  Here is what I see as risks, please let me know what you
think.

Perl methods don't seem to be synchronized with the latest version of
python methods in that:

  1. 'self' is passed as an argument instead of a magic variable binding

  2. There are no magic variable bindings (context, etc...)

This syncing may not be desireable, I don't know.  For now, the book
documents the 'self' first argument method but you (collectivly) may
want to consider changing the behavior to sync with Py meths.  I
remember sending you a recent cvs checkout of py methods to see the new
behavior, did you get that?  I can send you another if you'd like.  For
behavior of the new methods and an explanation of the binding etc, see
chapter 8 of the book:

http://www.zope.org/Members/michel/ZB/ScriptingZope.html

Next, we are renaming python methods by running a poll this week.  I
don't know if perl methods are going to fall under the same renaming
policy.  What do you all think?

Next, we don't know if we should provide installation istructions in the
book or not for perl methods.  Right now it is a bit painful and it
might be better to just provide a link to installtion documentation.  if
this is the case, we need to write that documentation and figure out the
cannoical URL for it.

Well.. that's about all I can think of, let me know what you think. 
Right now it seems there is not much oomph behind the support for perl
methods, but I'm sure that once the book hits the shelves interest will
pick up very much when people see they can write perl components.

Thanks,

-Michel