[Zope] Newbie question on page counters

Phil Harris phil.harris@zope.co.uk
Fri, 28 Jul 2000 00:23:16 +0100


Richard,

I'd recommend getting the Zope Quick Reference (ZQR) from
http://zdp.zope.org (the zope documentation project).

I'ts invaluable.

Phil
phil.harris@zope.co.uk

----- Original Message -----
From: Richard P. Muller <rpm@wag.caltech.edu>
To: Chris Withers <chrisw@nipltd.com>; <zope@zope.org>
Sent: Thursday, July 27, 2000 11:44 PM
Subject: Re: [Zope] Newbie question on page counters


> Chris Withers wrote:
> >
> > Chris Withers wrote:
> > > To do what you want, you probably want something like:
> > >
> > > <dtml-call
> > >
"manage_changeProperties(counter_value=getProperty(counter_value,counter_sta
rting_value-1)+1)">
> >
> > Erk, maybe this:
> >  <dtml-call
> >
> >
"manage_changeProperties(counter_value=getProperty('counter_value',getProper
ty(counter_starting_value,0)-1)+1)">
> >
> > Chris
>
> Words simply cannot express my gratitude. Can you clue me in a bit more
> on the functions you called. Looks like they are
> manage_changeProperties(), getProperty(). I'm guessing these are both
> Python functions. Where are they documented, so I can learn more?
>
> You mentioned that (1) DTML is not a programming language, and that (2)
> ZODB is a bad place to start on Zope programming. By these two points,
> should I infer that learning how to write external methods in Python
> *is* a good place?
>
> Can you, or someone else on the list, give me a suitable homework
> assignment for a first Zope programming project? I was toying with the
> idea of writing a checkbook register in Zope, but I think it might be
> beyond my capacities right now.
>
> Thanks again,
>
> Rick
> --
> Richard P. Muller, Ph.D.
> rpm@wag.caltech.edu
> http://www.wag.caltech.edu/home/rpm
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )