From beckden@yahoo.com Tue Aug 20 01:53:09 2002
From: beckden@yahoo.com (Dennis Beck)
Date: Mon, 19 Aug 2002 17:53:09 -0700
Subject: [ZDP] Welcome to the Zope Tutorial
Message-ID: <000601c247e3$f43d94e0$5c0aa8c0@beckdual>
This is a multi-part message in MIME format.
------=_NextPart_000_0003_01C247A9.4756C830
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I get the "Welcome to Zope Tutorial", now what am I supposed to do. =
There is no next button, or any information on what to after you install =
and get this page. I tried going to the "Lesson 1. "Elvis Lives" Home =
Page but I get an error at the top saying that:=20
Zope cannot find the tutorial examples. You should install the tutorial =
examples before continuing. Choose "Zope Tutorial" from the product add =
list in the Zope management screen to install the examples.=20
If you have already installed the tutorial, you can either follow along =
manually, or reinstall the tutorial examples. Note: make sure that you =
have cookies turned on in your browser.
I have cookies turned on, and have reinstalled several times. Your =
tutorial, at least, should be easy to use.
------=_NextPart_000_0003_01C247A9.4756C830
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I get the "Welcome to Zope Tutorial", =
now what am I=20
supposed to do. There is no next button, or any information on =
what to=20
after you install and get this page. I tried going to the "Lesson =
1.=20
"Elvis Lives" Home Page but I get an error at the top saying that: =
Zope cannot find the tutorial examples. =
You should=20
install the tutorial examples before continuing. Choose "Zope Tutorial" =
from the=20
product add list in the Zope management screen to install the examples. =
If you have already installed the tutorial, you can =
either=20
follow along manually, or reinstall the tutorial examples. Note: make =
sure that=20
you have cookies turned on in your browser.
I have cookies turned on, and have reinstalled =
several=20
times. Your tutorial, at least, should be easy to=20
use.
------=_NextPart_000_0003_01C247A9.4756C830--
From edwardbying@sympatico.ca Sun Aug 4 23:32:17 2002
From: edwardbying@sympatico.ca (Edward Ing)
Date: Sun, 4 Aug 2002 18:32:17 -0400
Subject: [ZDP] bobobase_modification_time()
Message-ID: <00ff01c23c06$ca32c370$1002a8c0@toronto>
Unfortunately I am an newbie so I can't debug the problem for you yet.
Problem 1: In the online documentation, if you search for a method and
include the "()" the search fails.
Problem 2: There is nothing documenting the method bobobase().
From servicio@compro.com.gt Mon Aug 5 18:29:03 2002
From: servicio@compro.com.gt (servicio)
Date: Mon, 5 Aug 2002 12:29:03 -0500
Subject: [ZDP] ~ Japanese lass' sexy pictures
Message-ID: <20020805172856.VCZV8671.out013.verizon.net@Pzy>
--X01R9V5C02154n
Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable
Warning: This message ha=
s had one or more attachments removed. Please read the "VirusWarning.txt" a=
ttachment(s) for more information.
--X01R9V5C02154n
Content-Type: text/plain; charset="us-ascii"; name="VirusWarning.txt"
Content-Disposition: attachment; filename="VirusWarning.txt"
Content-Transfer-Encoding: quoted-printable
This is a message from the MailScanner E-Mail Virus Protection Service
----------------------------------------------------------------------
The original e-mail attachment "File.exe"
was believed to be infected by a virus and has been replaced by this warning
message.
If you wish to receive a copy of the *infected* attachment, please
e-mail helpdesk and include the whole of this message
in your request. Alternatively, you can call them, with
the contents of this message to hand when you call.
At Mon Aug 5 13:29:17 2002 the virus scanner said:
>>> Virus 'W32/Klez-H' found in file ./g75HT8q22462/File.exe
Note to Help Desk: Look on the MailScanner in /var/spool/MailScanner/quaran=
tine (message g75HT8q22462).
--=20
Postmaster
--X01R9V5C02154n
Content-Type: application/octet-stream;
name=PruebaScript25cff70b[1].htm
Content-Transfer-Encoding: base64
Content-ID:
PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9u
YWwvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIvUkVDLWh0bWw0MC9sb29zZS5kdGQiPgo8
aHRtbD4KPGhlYWQ+CjxiYXNlIGhyZWY9Imh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC9jbGFzZXMv
UHJ1ZWJhU2NyaXB0LyIgLz4KCjx0aXRsZT5DbGFzZXMgZGUgWm9wZTwvdGl0bGU+CjxsaW5r
IHJlbD0ic3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subject: [ZDP] Lesson 12. The Elvis Files, cont.
Message-ID:
Hi,
first of all, Zope looks quite nice. I think I=B4ll use it in future inst=
ead
of my own pearl-skripts for database-applications.
But I think there is a typo in Lesson12 of the Tutorial.
Instead of "This code inserts a row into the elvis_sightings table. Notic=
e
how the arguments of this ZSQL Method correspond to the form elements in =
the
reportSighting document." I think it has to be "[..] reportForm document".
Regards,
Philipp
From huima@fountainpark.org Sat Aug 10 17:32:29 2002
From: huima@fountainpark.org (Heimo Laukkanen)
Date: Sat, 10 Aug 2002 19:32:29 +0300
Subject: [ZDP] Zope Book - Chapter about XML
Message-ID: <3D55401D.9000703@fountainpark.org>
http://www.zope.org/Documentation/ZopeBook/XML.stx
I just stumbled into that with zope.org search. Is that something that
is coming or something needs to be removed from the server. It is
atleast not in the table on contents.
-huima
From chrism@zope.com Sat Aug 10 18:32:33 2002
From: chrism@zope.com (Chris McDonough)
Date: 10 Aug 2002 13:32:33 -0400
Subject: [ZDP] Zope Book - Chapter about XML
In-Reply-To: <3D55401D.9000703@fountainpark.org>
References: <3D55401D.9000703@fountainpark.org>
Message-ID: <1029000765.1959.3.camel@james>
I think this was disincluded from the Zope Book (because it was too big
of a topic to chew off) at one point. But because I indexed it via
extensions to backtalk, it shows up in searches.
I don't think it needs to be removed from the server, but I am not going
to add it to the second revision of the Zope Book either.
On Sat, 2002-08-10 at 12:32, Heimo Laukkanen wrote:
> http://www.zope.org/Documentation/ZopeBook/XML.stx
>
> I just stumbled into that with zope.org search. Is that something that
> is coming or something needs to be removed from the server. It is
> atleast not in the table on contents.
>
> -huima
>
>
> _______________________________________________
> ZDP maillist - ZDP@zope.org
> http://lists.zope.org/mailman/listinfo/zdp
From huima@fountainpark.org Sun Aug 11 01:38:24 2002
From: huima@fountainpark.org (Heimo Laukkanen)
Date: Sun, 11 Aug 2002 03:38:24 +0300
Subject: [ZDP] Zope Book - Chapter about XML
References: <3D55401D.9000703@fountainpark.org> <1029000765.1959.3.camel@james>
Message-ID: <3D55B200.9070601@fountainpark.org>
Chris McDonough wrote:
> I think this was disincluded from the Zope Book (because it was too big
> of a topic to chew off) at one point. But because I indexed it via
> extensions to backtalk, it shows up in searches.
>=20
> I don't think it needs to be removed from the server, but I am not goin=
g
> to add it to the second revision of the Zope Book either.
Could it happen, someday? I mean if it would be updated to discuss=20
Parsed XML. Of course this would be against the current status where=20
Zope Book is only about products that come with installation and / or by=20
ZC. But then again XML as a term and technology is so important that=20
even if it was just for the buzzword factor - it would be nice to have it.
Just my .02 Euros ,-)
--=20
Heimo Laukkanen
Oy Fountain Park Ltd
H=E4meentie 153 B, 00560 Helsinki, Finland
tel. +358 9 777 68 161, gsm +358 40 759 1110, fax +358 9 777 68 100
http://www.fountainpark.org
From chrism@zope.com Sun Aug 11 05:11:34 2002
From: chrism@zope.com (Chris McDonough)
Date: 11 Aug 2002 00:11:34 -0400
Subject: [ZDP] Zope Book - Chapter about XML
In-Reply-To: <3D55B200.9070601@fountainpark.org>
References: <3D55401D.9000703@fountainpark.org>
<1029000765.1959.3.camel@james> <3D55B200.9070601@fountainpark.org>
Message-ID: <1029039105.3043.7.camel@james>
If someone were to rework the chapter, I would include it...
On Sat, 2002-08-10 at 20:38, Heimo Laukkanen wrote:
> Chris McDonough wrote:
> > I think this was disincluded from the Zope Book (because it was too big
> > of a topic to chew off) at one point. But because I indexed it via
> > extensions to backtalk, it shows up in searches.
> >=20
> > I don't think it needs to be removed from the server, but I am not goin=
g
> > to add it to the second revision of the Zope Book either.
>=20
> Could it happen, someday? I mean if it would be updated to discuss=20
> Parsed XML. Of course this would be against the current status where=20
> Zope Book is only about products that come with installation and / or by=20
> ZC. But then again XML as a term and technology is so important that=20
> even if it was just for the buzzword factor - it would be nice to have it=
.
>=20
> Just my .02 Euros ,-)
>=20
> --=20
> Heimo Laukkanen
> Oy Fountain Park Ltd
> H=E4meentie 153 B, 00560 Helsinki, Finland
> tel. +358 9 777 68 161, gsm +358 40 759 1110, fax +358 9 777 68 100
> http://www.fountainpark.org
>=20
>=20
From nobody@nowhere.com Mon Aug 12 00:18:03 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 11 Aug 2002 19:18:03 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#1-0
---------------
This chapter gets you up and running with Zope. It guides you
through installing and running Zope. This chapter covers the most
important Zope concepts. By the end of this chapter you should be
able to use Zope to create and manage simple yet powerful web
applications.
% Anonymous User - July 5, 2002 3:42 pm:
Chapter Two consists of a number of sections ... maybe something of a ToC here would help navigate this
rather large slab of text.
% Anonymous User - July 25, 2002 8:35 pm:
I was unsure where to place this comment; and it may not be useful. I am new to Zope and have been proceeding
through the Chapters one at a time, one thing I thought might be advantageous but a bit of an undertaking is
to suggest that initially the user creates for themselves a 'Sanbox' folder or something similar in order to
experiment with the given examples. I did this almost right away as soon as I discovered I was litering my
Root or contained folders with little snippets of script or object experiments. Just a suggestion. Thank-you
for this wonderful document.
% mcdonc - Aug. 11, 2002 7:18 pm:
test
From chrism@zope.com Mon Aug 12 00:18:55 2002
From: chrism@zope.com (Chris McDonough)
Date: 11 Aug 2002 19:18:55 -0400
Subject: [ZDP] Incoming mails from ZopeBook/ZDG
Message-ID: <1029107944.32551.92.camel@james>
I have re-enabled incoming "comment" mails from the Zope Book and Zope
Developer's Guide. They had been disabled because of a BackTalk bug
which caused a "To:" header to be omitted from the email (causing
Mailman to have fits). It's fixed, so in case anybody's out there on
this list, you'll now start seeing messages that are comments to the
online versions of the Zope Book and ZDG. Pitch in with answers if you
like.
Thanks,
- C
From nobody@nowhere.com Mon Aug 12 00:23:03 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 11 Aug 2002 19:23:03 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Introduction
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Introduction.stx#1-0
---------------
Zope is an open source web application framework. It has three
distinct audiences:
% chrism - Dec. 10, 2001 11:02 am - Note that folks are encouraged to make comments using the comment system. Thanks!
*Users* -- individuals who use of Zope's "out of the box" features
to build websites. This audience is interested in making use
of Zope's existing array of features to create content
management solutions. They will likely make heavy use of
"through the web" scripting using DTML, Page Templates, and
Python Scripts as well as (of course) HTML and XML. They are
generally less concerned about code reuse than the speed at
which they can create a dynamic application or website.
*Developers* -- individuals who wish to extend Zope to create
highly customized solutions. This audience is likely interested
in creating highly reusable custom code that makes Zope do something
new and interesting.
*Administrators* -- individuals responsible for keeping a Zope
site running and performing installations and upgrades.
% Anonymous User - Apr. 16, 2002 6:20 pm:
Term 'Users' mean 'End user'.
Better to use term 'content managers'.
Main Zope's roles (audiences) are:
content managers, developers, administrators.
% Anonymous User - June 3, 2002 6:27 pm:
"speed at which" should be "speed with which"
% mcdonc - Aug. 11, 2002 7:23 pm:
test
From nobody@nowhere.com Mon Aug 12 13:38:40 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 12 Aug 2002 08:38:40 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Preface
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Preface.stx#1-0
---------------
Welcome to *The Zope Book*. This book is designed to introduce you to
Zope and its uses. Zope is an open-source web application server. If
you are interested in writing web pages, programming web scripts, using
databases, managing content, or doing a collaborative web development
task, then you should read this book.
% mcdonc - Apr. 5, 2002 4:01 pm:
Please note that folks are encouraged to use the comment buttons to submit comments. Thanks!
% Anonymous User - Apr. 5, 2002 6:44 pm:
The "Comment" buttons are too distracting. I like the idea but small icon on the right in the pastel colour
should be enough. Large yellow button makes reading the text rather hard.
% Anonymous User - Apr. 6, 2002 12:03 am:
Not to "me too", but ditto on the previous comment regarding the Comment button.
% Anonymous User - Apr. 6, 2002 10:36 am:
Use the "COM off"/"COM on" button at the top to control whether or not comments and comment buttons are
displayed.
% Anonymous User - Apr. 6, 2002 8:07 pm:
Turning COM off does not address the previous comments with which I concur. Why make Comment a graphic? Just
make it a link on the right of the page so it isnt so distracting.
% Anonymous User - Apr. 6, 2002 8:22 pm:
At this point, it's a tradeoff. Please try to live with it now until I can figure out how to make it appear
on the right of the page without effecting layout. Note that the COM button should set a cookie that turns
comments off for all pages forever (or until you flush the cookie), but this is currently broken under some
versions of Mozilla.
% Anonymous User - Apr. 6, 2002 8:32 pm:
Note also that you may download the HTML version and the PDF version for your own private viewing as well.
% Anonymous User - Apr. 25, 2002 9:04 am:
You should have your page in utf-8 if you were to allow people to add comments.
Below we have an example that people add non-ascii text already.
% mcdonc - May 10, 2002 2:33 am:
Nope, no UTF8, sorry, and possibly never will be. But the comment cookies are fixed. They should persist
across pages now. - chrism
% Anonymous User - May 23, 2002 9:55 am:
Your table of contents is not agreeing with your chapter numbers and also is not agreeing with your PDF.
Please check continuity.
% Anonymous User - May 30, 2002 7:08 pm:
I don't find the comment buttons intrusive, but rather useful and good...especially given that they can be
turned off and on. Sorry to be so positive about the issue, but I see no balance of opinions in the comments
previously attached. It's so much easier to complain than to compliment. JEL
% Freso - July 5, 2002 11:28 am:
Any reason for 'no UTF8'?
% mcdonc - July 5, 2002 11:34 am:
Yes. I'm utterly clueless when it comes to character encodings. If you can code it, you're welcome to
contribute to the BackTalk project: http://backtalk.sourceforge.net .
% Anonymous User - July 30, 2002 11:42 am:
Heh... well, UTF-8 is the encoding for people who don't like to deal with character encodings. :-) However,
if you already have stuff in another encoding other than ASCII (which, seeing various accented characters
elsewhere, leads me to believe that you do), a conversion will need to take place.
% Anonymous User - Aug. 1, 2002 8:19 am:
果たして日本語は書けるのか?
% Anonymous User - Aug. 12, 2002 8:38 am:
I came to this site for the first time and i feel the comments are given more importance than the actual
content of the page. I got to keep scrolling to read about zope. Guess you should have a seperate section for
comments and the users who wants to see them can click on it and view it. Now it's more like mandatory to
read the comments than about zope.
From nobody@nowhere.com Mon Aug 12 13:39:32 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 12 Aug 2002 08:39:32 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Preface
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Preface.stx#1-0
---------------
Welcome to *The Zope Book*. This book is designed to introduce you to
Zope and its uses. Zope is an open-source web application server. If
you are interested in writing web pages, programming web scripts, using
databases, managing content, or doing a collaborative web development
task, then you should read this book.
% mcdonc - Apr. 5, 2002 4:01 pm:
Please note that folks are encouraged to use the comment buttons to submit comments. Thanks!
% Anonymous User - Apr. 5, 2002 6:44 pm:
The "Comment" buttons are too distracting. I like the idea but small icon on the right in the pastel colour
should be enough. Large yellow button makes reading the text rather hard.
% Anonymous User - Apr. 6, 2002 12:03 am:
Not to "me too", but ditto on the previous comment regarding the Comment button.
% Anonymous User - Apr. 6, 2002 10:36 am:
Use the "COM off"/"COM on" button at the top to control whether or not comments and comment buttons are
displayed.
% Anonymous User - Apr. 6, 2002 8:07 pm:
Turning COM off does not address the previous comments with which I concur. Why make Comment a graphic? Just
make it a link on the right of the page so it isnt so distracting.
% Anonymous User - Apr. 6, 2002 8:22 pm:
At this point, it's a tradeoff. Please try to live with it now until I can figure out how to make it appear
on the right of the page without effecting layout. Note that the COM button should set a cookie that turns
comments off for all pages forever (or until you flush the cookie), but this is currently broken under some
versions of Mozilla.
% Anonymous User - Apr. 6, 2002 8:32 pm:
Note also that you may download the HTML version and the PDF version for your own private viewing as well.
% Anonymous User - Apr. 25, 2002 9:04 am:
You should have your page in utf-8 if you were to allow people to add comments.
Below we have an example that people add non-ascii text already.
% mcdonc - May 10, 2002 2:33 am:
Nope, no UTF8, sorry, and possibly never will be. But the comment cookies are fixed. They should persist
across pages now. - chrism
% Anonymous User - May 23, 2002 9:55 am:
Your table of contents is not agreeing with your chapter numbers and also is not agreeing with your PDF.
Please check continuity.
% Anonymous User - May 30, 2002 7:08 pm:
I don't find the comment buttons intrusive, but rather useful and good...especially given that they can be
turned off and on. Sorry to be so positive about the issue, but I see no balance of opinions in the comments
previously attached. It's so much easier to complain than to compliment. JEL
% Freso - July 5, 2002 11:28 am:
Any reason for 'no UTF8'?
% mcdonc - July 5, 2002 11:34 am:
Yes. I'm utterly clueless when it comes to character encodings. If you can code it, you're welcome to
contribute to the BackTalk project: http://backtalk.sourceforge.net .
% Anonymous User - July 30, 2002 11:42 am:
Heh... well, UTF-8 is the encoding for people who don't like to deal with character encodings. :-) However,
if you already have stuff in another encoding other than ASCII (which, seeing various accented characters
elsewhere, leads me to believe that you do), a conversion will need to take place.
% Anonymous User - Aug. 1, 2002 8:19 am:
果たして日本語は書けるのか?
% Anonymous User - Aug. 12, 2002 8:38 am:
I came to this site for the first time and i feel the comments are given more importance than the actual
content of the page. I got to keep scrolling to read about zope. Guess you should have a seperate section for
comments and the users who wants to see them can click on it and view it. Now it's more like mandatory to
read the comments than about zope.
% Anonymous User - Aug. 12, 2002 8:39 am:
I came to this site for the first time and i feel the comments are given more importance than the actual
content of the page. I got to keep scrolling to read about zope. Guess you should have a seperate section for
comments and the users who wants to see them can click on it and view it. Now it's more like mandatory to
read the comments than about zope.
From nobody@nowhere.com Mon Aug 12 17:31:50 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 12 Aug 2002 12:31:50 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-13
---------------
To log into the management interface point your web browser to
Zope's management URL. The management URL for Zope is Zope's base
URL with */manage* appended. Assuming you have Zope installed on
your local machine serving on the default port 8080, the
management URL is::
http://localhost:8080/manage
% Anonymous User - June 15, 2002 9:04 am:
Doesn't standard installation use port 9673?
% Anonymous User - June 15, 2002 10:24 am:
It used to, but now the standard port is 8080.
% Anonymous User - June 18, 2002 3:37 am:
In Debian :
http://localhost:9673/manage
% Anonymous User - Aug. 12, 2002 12:31 pm:
FYI
Just in case anyone else runs into the same problem as I did.
I could not log in using http://[hostname]:[port]/manage I wound up using http://[ipaddress]:[port]/manage.
It worked and let me in.
From nobody@nowhere.com Mon Aug 12 21:10:15 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 12 Aug 2002 16:10:15 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-11
---------------
These features make Zope an ideal environment for programming and
authoring web content by groups and sub-groups of users.
% Anonymous User - Apr. 24, 2002 3:40 am:
I am wondering if Zope -- only-- works with IE or
can it use Opera or Mozilla.....
they are browsers also.......
% Anonymous User - Apr. 25, 2002 5:45 pm:
my friend uses mozilla and it works perfectly
% Anonymous User - Apr. 27, 2002 7:31 pm:
Well I guess it does I'm using Opera right now to access the admin interface.
% Anonymous User - Apr. 28, 2002 11:30 pm:
OmniWeb 4.1 works
% Anonymous User - May 2, 2002 10:40 pm:
Konqueror works, too. (If Konqueror is in bold, you can use html
stuff...)
% Anonymous User - May 14, 2002 10:51 am:
... andi if i see a near the word "konqueror" what does it mean? :-P MaNdRiCuS
% kaleissin - May 16, 2002 12:44 pm:
What the browser actually gets is, of course, html, so any browser that handles html goes. All the hard stuff
is done one the server.
% Anonymous User - May 20, 2002 1:45 am:
I think Windows Explorer is a file system browser - Internet Explorer is a web browser. (Is there some way to
turn off the comments? - they really get in the way of the story)
% mcdonc - May 20, 2002 8:47 am:
Yes, click the COM button above or below.
% Anonymous User - Aug. 2, 2002 3:48 am:
I couldn't get this to work with Mozilla. I have cookies enabled and I even set up JavaScript so that the js
on this page can set cookies ... but no go. The JavaScript sources look like there would be an alternative
URL one could open (something like .../IntroducingZope.stx?suppresscomments=1) but I can't quite figure it
out just from looking at the code. Could someone who is more knowledgeable follow up with a URL for those of
us who are not fortunate enough to have a compatible browser?
(Followup question: Does Zope generally assume users will have JavaScript ... in order to be able to do
useful things?)
% Anonymous User - Aug. 5, 2002 6:01 am:
Sorry, but I'm using Opera 6 and COM button doesn't work with it.
% Anonymous User - Aug. 12, 2002 4:10 pm:
"COM" button is not the "Comment" button nearby but an icon "COM off" on the top or bottom bar.
By the way, its boring to read a book without comments ;-)
From nobody@nowhere.com Tue Aug 13 01:33:02 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 12 Aug 2002 20:33:02 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-7
---------------
So what do you get when you download Zope? You actually get a lot of
things. Zope consists of several different components that work
together to help you build web applications. Zope comes with:
A Web server -- Zope comes with a built in web server that
serves content to you and your users. Of course, you may
already have an existing web server, such as *Apache* or
*Microsoft IIS* and you may not want to use Zope's. Not to
worry, Zope works with these web servers also, and any other web
server that supports the Common Gateway Interface (CGI).
A Web based interface -- When you build web applications with Zope,
you use your web browser to interact with the Zope *management
interface*. This interface is a development environment that lets
you do things like create web pages, add images and documents,
connect to external relational databases and write scripts in
different languages.
An object database -- When you work with Zope, you are mostly working
with objects that are stored in Zope's object database. Zope's
management interface provides a simple, familiar way to manage
objects that resembles the way many common file managers work.
Relational integration -- You don't have to store your
information in Zope's object database if you don't want to,
because Zope works with other relational databases such as
*Oracle*, *PostgreSQL*, *Sybase*, *MySQL* and many others.
Scripting language support -- Zope allows you to write web
applications in a number of different languages, like
"Python":http://www.python.org/, "Perl":http://www.perl.org/, and
Zope's own Document Template Markup Language (DTML).
% Anonymous User - July 23, 2002 6:23 pm:
Sentences like "You actually get a lot of things." are a waste. It's why so much documentation is long and
unfinished. The information content of that sentence is 0 or even negative. It pushes an opinion. It causes
us to wonder if the author is sticking to the facts or has an agenda. We, the readers, will decide what we
care about. And if we do care about quantity, we will judge for ourselves whether it is "a lot". Fluff is
very annoying when skimming rapidly for meat.
% dave_newton - Aug. 12, 2002 8:33 pm:
HOw ironic.
From nobody@nowhere.com Tue Aug 13 07:36:24 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 02:36:24 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-42
---------------
To change your login select *Logout* from the top frame of the
management interface. You will be prompted to login again. To
change logins, enter a new user name and password.
% Anonymous User - May 19, 2002 1:25 pm:
I selected logout and 3 times it asked for a login username and password. I had previously added a test user
named bob, password bob. I entered this and the login appeared 3 times and in the end it didn't log me in. I
have to close my browser and restart to get back in, and only then would it automatically log me in as my
manager account, without prompting me for a password. I still cannot log in as bob.
% Anonymous User - June 12, 2002 10:49 pm:
The same appears to be happening for me. The client side script that brings up the login window is doing so
before a refresh has gone through to perform the logout operation (at least that seems to be what's going
on).
% Anonymous User - June 12, 2002 10:50 pm:
I just posted that I'm having the same problem. I should note that I'm using the latest version of IE6 on
windows xp.
% Anonymous User - June 15, 2002 10:16 am:
Same here, but it seems to help to cancel the re-login first.
Furthermore after a successfull re-login the old user is mentioned in the upper frame.
% Anonymous User - June 19, 2002 11:25 am:
Im also using windows xp, i canceled the first re-login and the closed the explorer instance, then i had to
delete the historial and temporary internet files (menu tools->internet options) to log as a different user.
Seems this has to do with windows xp dealing by its own with the "user cache".
% Anonymous User - July 3, 2002 1:06 am:
All you have to do is logout, then put the cursor in the location bar and hit enter on the /manage url - when
the box pops up asking for a login and password, type in the new ones.
% Anonymous User - July 10, 2002 1:00 pm:
I have been stepping through this tutorial using Mozilla and Opera running on my linux box (Mandrake 8.2).
I experienced exactly the same behavior that is described in the messages above.
As an experiment, I created a new user in Mozilla and then went over to Opera
to try to login as the new user. When I typed in the /manage URL and pressed I found myself logged in
as the new user with no prompt for a password.
% mcdonc - July 10, 2002 2:01 pm:
I highly doubt that this happened exactly as you describe.
Try this:
close mozilla (all windows)
close opera (all windows)
1. open mozilla and visit /manage
2. log in as an existing manager user
3. create a new account
4. open opera and visit /manage
5. log in as the newly created user.
If at step 4 you are logged in as the user that you created in step 3, the world has finally ended, the
milennium has come, and we've got larger things to worry about. ;-)
% Anonymous User - Aug. 1, 2002 3:07 pm:
I'd note that if I've logged in as Emergency User in a browser, my experience has been that I cannot log in
on that browser as a regular user - whether I touch any of the acl_user entries or not. This distinction is
otherwise undocumented, and for new users is a sufficient show-stopper to lead many to uninstall Zope if they
can't find a clear answer.
A quick observation - the answers given in the June 15 and July 3 messages don't work with my system - I need
another browser to actually log in as a regular user. From my perspective, if the solutions are this
inconsistent, then Zope itself needs design work on this point - urgently.
% Anonymous User - Aug. 13, 2002 2:36 am:
Windows 2000 user, Netscape 4.7. I hit the Logout button, and Netscape popped an "authenticate" box. I tried
logging in here, since that seemed like the obvious thing to do, but received "Authentication Failure". Finally
I hit cancel, and Zope gave me the message "You have Logged out". I was then able to log in with the new
user.
From nobody@nowhere.com Tue Aug 13 08:49:44 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 03:49:44 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-55
---------------
This form collects information and calls the *interestRateDisplay*
template. Now, create a Python-based script called
*calculateCompoundingInterest* that accepts four parameters,
"principal", "interest_rate", "periods" and "years" with the
following python code::
## Script (Python) "calculateCompoundInterest"
##parameters=principal, interest_rate, periods, years
##
"""
Calculate compounding interest.
"""
i = interest_rate / periods
n = periods * years
return ((1 + i) ** n) * principal
% Anonymous User - July 25, 2002 4:25 pm:
Urgent!!!
I did exactly as instructed here. However, I got "Error Type: Undefined
Error Value: years not found in 'years', at line 5, column 3
." It seems that Python script is not getting the parm "years." Anybody knows why?
% Anonymous User - July 27, 2002 1:24 pm:
I had the same problem. Solved by hacking not by science :(
I change the variable 'years' to 'yrs' and it worked.
Maybe the illuminati founding fathers can shed some light...
% Anonymous User - July 27, 2002 2:50 pm:
Apologize for the previous information had the page in the cache
It does not work!
% Anonymous User - Aug. 13, 2002 3:49 am:
I'm having the same problem but I don't think the problem is in the python script I think its in the
interestRateDisplay file. I wonder if I'm having this problem because I'm running win98.
From nobody@nowhere.com Tue Aug 13 12:15:23 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 07:15:23 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#2-246
---------------
Methods of transient objects are not protected by security
assertions.
% Anonymous User - Aug. 13, 2002 7:15 am:
Please explain.
From nobody@nowhere.com Tue Aug 13 14:39:10 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 09:39:10 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-27
---------------
Zope will start running and will print logging information to
the console. You should see information telling you what port
Zope is listening on. You can now log into Zope with a web
browser.
% Anonymous User - July 2, 2002 8:07 am:
Dit is commentaar regel
% Anonymous User - Aug. 8, 2002 2:24 pm:
2002-08-08T17:58:11 INFO(0) ZODB Opening database for mounting: '140377936_1028827208.543770'
------
2002-08-08T17:58:11 INFO(0) ZODB Mounted database '140377936_1028827208.543770' at /temp_folder
------
2002-08-08T17:58:11 INFO(0) ZServer HTTP server started at Thu Aug 8 13:58:11 2002
Hostname: samba
Port: 8080
------
2002-08-08T17:58:11 PANIC(300) z2 Startup exception
Traceback (innermost last):
File /home/dna/dope/Zope-2.5.1-linux2-x86/z2.py, line 607, in ?
File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/FTPServer.py, line 602, in __init__
File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/medusa/ftp_server.py, line 727, in __init__
File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/medusa/asyncore.py, line 306, in bind
error: (98, 'Address already in use')
% Anonymous User - Aug. 8, 2002 2:27 pm:
error (98, 'Address already in use')
any ideal
% Anonymous User - Aug. 13, 2002 9:39 am:
Check to see if you have anything running on port 8021 (such as an FTP server or somesuch...) Zope tries to
start an additional FTP server on port 8021.
Sean Bossinger
sbossinger@earthlink.net
From nobody@nowhere.com Tue Aug 13 15:16:55 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 10:16:55 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPTold.stx#3-159
---------------
Normally when you use batches you'll want to include navigation
elements on the page to allow users to go from batch to batch.
Here's a full-blow batching example that shows how to navigate
between batches::
The title
% Anonymous User - Aug. 13, 2002 10:16 am:
I copied the PT, and the line:
start python:path('request/start') or 0;
gave me an error:
Error Value: start not found in 'request/start', at line 10, column 3
what works fine is:
start request/start | python:0;
From nobody@nowhere.com Tue Aug 13 16:11:36 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 11:11:36 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-10
---------------
If you are using Windows NT or Windows 2000, you can choose to
run Zope as a service. Running Zope as a service is a good idea
for a public server. If you are just running Zope for personal
use don't bother running it as a service. Keep in mind that if
you are running Windows 95, Windows 98, or Windows ME (Millenium
Edition), you cannot run Zope as a service.
% Anonymous User - May 29, 2002 5:24 pm:
Oh...
% Anonymous User - Aug. 3, 2002 4:51 am:
What `bout XP home edt.???
% Anonymous User - Aug. 5, 2002 5:14 am:
as far as I know,
XP is a NT technology....so you should be able to run it as service if you wish
% Anonymous User - Aug. 13, 2002 11:11 am:
Of course, Windows XP comes from NT technology, which means you have a list of services as in Windows 2000,
you can ask them to start manually or automatically. All NT services I've encountered so far have worked
flawlessly with Windows XP Pro. And yes, running Zope as a service is a better idea, servers are meant to
work this way.
From nobody@nowhere.com Tue Aug 13 18:00:32 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 13:00:32 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-39
---------------
Now edit the contents of the *infoAction* document to make it
process the form::
Thanks
We received your request for information and will send you
email at describing our aardvark adoption
program as soon as it receives final governmental approval.
% Anonymous User - June 6, 2002 9:50 am:
(the one that 'should' restate the email address imput from infoForm) is not displaying in
infoAction. Why?
% Anonymous User - June 6, 2002 9:56 am:
I figured out why. (from a newbie no less!!!)
the term "email" is causing the problem.
Change in infoForm:
email:
to
email:
and change in infoAction:
to
and it now works properly.
% Anonymous User - July 25, 2002 7:11 pm:
Obviously the documentor is under sever time restriants unknown to us. Is it possible for someone who has
more time but perhaps less experience to verify each example? I feel this is a useful suggestion as it would
yield an increase in magnitude in time saved world-wide, since this one person's efforts could replace the
efforts of that each individual user of this document would spend debugging the examples. The formerly
mentioned case is especially inefficient because the majority of those proceeding through this document are
not familiar with Zope.
% Anonymous User - July 25, 2002 7:18 pm:
This is actually the purpose of the comment system. If you notice a bug, enter a comment. When I edit the
book, I review the comments, and fix what's broken. In the meantime, you can see the fixes in the comments
rather than each person rediscovering the bug anew.
The issue is more one of having time to edit the comments into the book prose. Please be aware that, yes, I
am under severe time restraints. However, I am working steadily towards a revision of this book that
incorporates all of the comments into the prose. It should be ready within a few weeks.
- C
% Anonymous User - Aug. 13, 2002 1:00 pm:
Funny, but i am able to view the email address following the example above. works
From nobody@nowhere.com Tue Aug 13 19:52:33 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 14:52:33 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-54
---------------
Now, with your HTML editor, save the above HTML to the URL of the
'index_html' Page Template followed by '/source.html', for
example, 'http://localhost:8080/FileLib/index_html/source.html'.
Notice that the URL to *save* the 'index_html' page ends in
'source.html'. Because Page Templates are dynamic, you need a way
to edit the raw source of the template, unrendered by the page
template language. Appending 'source.html' to a Page Template
gives you this raw source. Note, if the content-type of your page
is 'text/xml' then you'll use 'source.xml', rather than
'source.html'.
% Anonymous User - Apr. 22, 2002 2:16 pm:
The index_html object is a file not a directory so saving to index_html/source.html doesn't make sense.?.? :\
% Anonymous User - May 29, 2002 5:28 pm:
---Agreed. I find this paragraph totally baffling.
% Anonymous User - June 2, 2002 3:05 am:
Some HTML editors have a "save to URL" options. (In mozilla composer it is called "Publish As".) The idea is
that you provide a URL on the server and the editor uses it to submit your file. true, index_html is not a
directory, but neither is "FileLib". Both are just objects in Zopes database and segments of the URL string. Anyway,
if you use one of the tools that have this feature, this paragraph should make sense to you. If you don't,
don't worry about - just paste the HTML source into the Zope interface!
% Anonymous User - June 11, 2002 11:14 am:
How about we include a list of "compatible" editors that CAN do this as well as a list of editors that CANNOT
do this?
it seems you are making assumptions that we all use the same tools you use.
% mcdonc - June 15, 2002 11:45 am:
Are you going to keep that list current for me? ;-)
% Anonymous User - June 20, 2002 10:37 am:
Does the name 'source.html' have the special meaning that Zope will use the contents as source, or would any
'XXX.html' work?
% Anonymous User - June 24, 2002 10:36 am:
did i miss it or did we go over how zope stores files internally already. does the files all being in a
database limit you to managing zope using the web interface?
% Anonymous User - July 19, 2002 6:15 pm:
I agree, very confusing paragraph. Are we HTTP saving/updating index_html (i.e. just saving the changes
directly from maya into Zope using HTTP rather than using ZMI?). If so, it is very confusing to use NEW WAYS
OF EDITING OBJECTS that have not been explained in a section meant to teach something else...
% Anonymous User - Aug. 6, 2002 11:00 pm:
This confused me also. A couple suggestions to make it hopefully more clear:
1. Tell us which protocol is being used with this "save to URL" function of your HTML editor. Is it HTTP PUT?
Something else? Beats me.
2. Give primary instructions in a non-specific manner (i.e., tell us to use the ZMI first). Then say
something like "If your HTML editor supports [protocol], you can use it save to the URL of the index_html
Page Template followed by /source.html.
% Anonymous User - Aug. 13, 2002 2:52 pm:
Hey "mcdonc",
at this point we'd like to know ANY editor that works. whether current or old versions!
From nobody@nowhere.com Tue Aug 13 21:33:46 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 16:33:46 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Relational Database Connectivity
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatabases.stx#2-14
---------------
Let's create a table in your database to use in this chapter's
examples. The *Test* view of the Database Connection allows you
to send SQL statements directly to your database. You can create
tables by typing SQL code directly into the *Test* view; there is
no need to use a SQL Method to create tables. Create a table
called *employees* with the following SQL code::
CREATE TABLE employees
(
emp_id integer,
first varchar,
last varchar,
salary float
)
% Anonymous User - Aug. 10, 2002 1:38 am:
What other kind of column types does ZSQL support?
% Anonymous User - Aug. 13, 2002 4:33 pm:
These are postgresql specific SQL commands. ZSQL supports whatever commands the underlying SQL DB supports.
From nobody@nowhere.com Tue Aug 13 22:34:00 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 13 Aug 2002 17:34:00 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-56
---------------
Now enter the *zoo* folder by clicking on it, and then enter the
*arctic* folder by clicking on it. You could also have used the
Navigator to get to the same place. Now, click the *Paste* button to
paste cut object(s) into the current folder. You should see the *bears*
folder appear in its new location. You can verify that the folder has
been moved by going to the root folder and noting that *bears* is no
longer there.
% Anonymous User - July 11, 2002 10:48 pm:
Using Mozilla 1.0, there is no paste button. Using Konqueror - no problem. Ugh!
% Anonymous User - Aug. 13, 2002 5:33 pm:
I'm using Mozilla 1.0 Release Candidate 3 on freeBSD and paste butten is there.
From nobody@nowhere.com Wed Aug 14 09:16:46 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 14 Aug 2002 04:16:46 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-6
---------------
Each blue box represents an installed Product. From this screen,
you can manage these Products. Some Products are built into Zope
by default or have been installed by you or your administrator.
These products have a *closed* box icon, as shown in [12-1].
Closed-box products cannot be managed through the web. You can get
information about these products by clicking on them, but you
cannot change them.
% Anonymous User - Aug. 14, 2002 4:16 am:
comment
From nobody@nowhere.com Wed Aug 14 11:41:44 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 14 Aug 2002 06:41:44 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-15
---------------
The installer will print information as it installs Zope. Among
other things, it will create a initial user account. You can
change the initial user name and password later with the
*zpasswd.py* script (see Chapter 7, "Users and Security").
% Anonymous User - June 25, 2002 6:48 pm:
On my manrake rpm installation it was /usr/bin/zpasswd
Still not sure where I should be putting the file called "access" though.
% Anonymous User - Aug. 14, 2002 6:41 am:
Should read: (see Chapter 8, "Users and Security").
From nobody@nowhere.com Wed Aug 14 15:44:03 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 14 Aug 2002 10:44:03 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-7
---------------
So what do you get when you download Zope? You actually get a lot of
things. Zope consists of several different components that work
together to help you build web applications. Zope comes with:
A Web server -- Zope comes with a built in web server that
serves content to you and your users. Of course, you may
already have an existing web server, such as *Apache* or
*Microsoft IIS* and you may not want to use Zope's. Not to
worry, Zope works with these web servers also, and any other web
server that supports the Common Gateway Interface (CGI).
A Web based interface -- When you build web applications with Zope,
you use your web browser to interact with the Zope *management
interface*. This interface is a development environment that lets
you do things like create web pages, add images and documents,
connect to external relational databases and write scripts in
different languages.
An object database -- When you work with Zope, you are mostly working
with objects that are stored in Zope's object database. Zope's
management interface provides a simple, familiar way to manage
objects that resembles the way many common file managers work.
Relational integration -- You don't have to store your
information in Zope's object database if you don't want to,
because Zope works with other relational databases such as
*Oracle*, *PostgreSQL*, *Sybase*, *MySQL* and many others.
Scripting language support -- Zope allows you to write web
applications in a number of different languages, like
"Python":http://www.python.org/, "Perl":http://www.perl.org/, and
Zope's own Document Template Markup Language (DTML).
% Anonymous User - July 23, 2002 6:23 pm:
Sentences like "You actually get a lot of things." are a waste. It's why so much documentation is long and
unfinished. The information content of that sentence is 0 or even negative. It pushes an opinion. It causes
us to wonder if the author is sticking to the facts or has an agenda. We, the readers, will decide what we
care about. And if we do care about quantity, we will judge for ourselves whether it is "a lot". Fluff is
very annoying when skimming rapidly for meat.
% dave_newton - Aug. 12, 2002 8:33 pm:
HOw ironic.
% Anonymous User - Aug. 14, 2002 10:44 am:
for a reference guide is may be superfluous, but it outlines a good point in a introduction
From nobody@nowhere.com Wed Aug 14 16:47:37 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 14 Aug 2002 11:47:37 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#3-219
---------------
Inserting a simple variable into a document::
% mcdonc - Aug. 14, 2002 11:47 am:
Need docs for url_unquote_plus and url_unquote (added in 2.6)
From nobody@nowhere.com Wed Aug 14 18:24:03 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 14 Aug 2002 13:24:03 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Relational Database Connectivity
Message-ID:
From: nobody@nowhere.com
To: zdp@zope.org
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatabases.stx#3-23
---------------
The items in the sequence of results returned by a Z SQL Method
are called *Result objects*. Result objects can be thought of
as rows from the database table turned into Zope objects. These
objects have attributes that match the schema of the database
results.
% Anonymous User - Aug. 14, 2002 1:24 pm:
A useful tip is that you can access the column headings of your database table by calling .names()
From nobody@nowhere.com Wed Aug 14 18:52:13 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 14 Aug 2002 13:52:13 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security
Message-ID:
From: nobody@nowhere.com
To: zdp@zope.org
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#2-4
---------------
A Zope *User* defines a user account. A Zope user has a name,
a password, and optionally additional data about someone who uses
Zope. To log into Zope, you must have a user account. Let's
examine how to create and manage user accounts.
% kaleissin - May 16, 2002 3:03 pm:
There's no obvious way to *move* or *copy* a user-account from one User Folder to another, which can be a bit
annoying if the same user has different powers in different parts of the site, or you made the user in the
wrong folder... "Sorry boss, but you have to enter a password here also... and here, and here... change
password? Uhh, you'll have to do that for each folder separately, eh-heh."
% Anonymous User - May 24, 2002 8:28 am:
I think you have to create all users in the "acl_users" directory located in the Zope root. THEN you can edit
folders' access rules by setting folder's "local roles" found under the "Security" tab. Here you can add or
remove users with roles you already made.
(I'm still looking a way to let my users change their OWN password only)
% Anonymous User - May 24, 2002 8:50 am:
...I couldn't find any builtin feature to let users change their own password only so it seems you have to
write your own managing form to solve this problem. (Why?)
% Anonymous User - June 10, 2002 6:55 pm:
It's pretty easy to write a custom form and method for changing a user's password. I did this a few years ago
as part of a content management system I wrote on Zope. You can give the form handler method a proxy role so
that it can change the user's password. I think the "manage users" permission is required.
% Anonymous User - June 11, 2002 5:21 pm:
You can't copy and paste user folders and accounts for security purposes. Also there is a "how to" on how to let users change their own
passwords.
% Anonymous User - Aug. 14, 2002 1:52 pm:
The paragraph above mentions that a User can have additional data. How can this additional data be
created/edited?
From nobody@nowhere.com Wed Aug 14 18:53:44 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 14 Aug 2002 13:53:44 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
From: nobody@nowhere.com
To: zdp@zope.org
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-57
---------------
This will return the balance or debt compounded over the course of
"years". Next, create a *interestRateDisplay* page template that
calls *calculateCompoundingInterest* and returns the result::
Your total balance (or debt) including compounded interest over
2 years is:
$1.00
% Anonymous User - Apr. 6, 2002 10:39 am:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: Undefined
Error Value: years not found in 'years', at line 5, column 3
....
....
# I got this error message, please help me to correct this error.
% Anonymous User - Apr. 8, 2002 4:33 pm:
i refer to the ch.9.
and change the python expression to
python: here.calculateCompoundingInterest(request.form['principal'],...
that should be able to work.
i'm a rookie.
% Anonymous User - Apr. 11, 2002 9:53 am:
You also need to change
tal:content="years" to
tal:content="request/years"
See ch.5
% Anonymous User - Apr. 22, 2002 10:11 pm:
create a interestRateDisplay page template that calls calculateCompoundingInterest and returns the result:
Your total balance (or debt) including compounded interest over
2 years is:
$1.00
#from Apr. 6, 2002 10:39 am:thank you! it works!
% Anonymous User - June 5, 2002 5:19 am:
My interestRateDisplay page template doesn't seem to be calling the Python Script.
It just shows:
Your total balance (or debt) including compounded interest over 2 years is:
$1.00
I must be missing something.
% Anonymous User - June 5, 2002 5:43 pm:
Ok, I realised that Zope Templates were not installed on my Zope. I had thot it was there by default. After
proper installation, the scripts are now being called nicely. Thanks.
% Anonymous User - June 13, 2002 9:05 pm:
I suggest improving the information given in error output. I know this makes me sound dumb, but it took me 15
minutes to realize that the problem I had was that I'd spelled calculate incorrectly in my script name. Why
not have a message "error: script file calculteCompoundingInterest not found"
% Anonymous User - June 24, 2002 10:51 am:
I cannot understand the syntax for the interestRateDisplay template. What is the "..tal:content=..."
attribute. Why do we have the number "2" between the openining and closing tag and what is the "1.00"
before the last closing tag? Besides why do we need the "here" when we call the python python script?
% Anonymous User - July 7, 2002 12:06 am:
For properly namespaced XML, it would be appropriate to have an xmlns:tal attribute attached to the document
root element. However, setting any value for xmlns:tal seems to disable the dynamic features on the server
side.
Is there an official namespace for the tal prefix?
% Anonymous User - July 7, 2002 12:19 am:
Disregard last comment: found it in Appendix C.
xmlns:tal="http://xml.zope.org/namespaces/tal"
% Anonymous User - July 11, 2002 11:34 am:
I am getting the same problem as was posted by Anonymous User on the June 5th with my win98 installation. The
python script returns with $1.00. I have tried to find more info on installing Zope Templates but have not
succeeded. Please help!
% Anonymous User - July 24, 2002 5:19 pm:
My I humbly suggest eliminating the errors in this example as they appear so eary in this document, a user
such as myself who has less than average familiarity with these technologies may waste an hour or so trying
to figure out why they keep getting error messages when they cut and paste directly from the examples. It
might lead a novice to postulate that they had installed Zope incorrectly, somehow.
% Anonymous User - Aug. 3, 2002 1:54 pm:
I'm thinking that a novice is more likely not to trust anything in this book, after this bad example. --RAW--
% Anonymous User - Aug. 14, 2002 1:53 pm:
THANK YOU whoever put in the full html a while back. It worked, and it only took me a few tries to check my
own work against it
From nobody@nowhere.com Wed Aug 14 19:25:33 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 14 Aug 2002 14:25:33 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#3-172
---------------
You can control the tree tag by setting
these variables.
expand_all -- If this variable is true then the entire tree is
expanded.
collapse_all -- If this variable is true then the entire tree is
collapsed.
% Anonymous User - May 21, 2002 7:24 am:
Could someone please post an example for this. I really need to start with an expanded tree!
% Anonymous User - Aug. 14, 2002 2:25 pm:
...
From nobody@nowhere.com Thu Aug 15 13:38:09 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 15 Aug 2002 08:38:09 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-4
---------------
The *index_html* object provides a default view of the folder. This
is analogous to how an *index.html* file provides a default view for
a directory in Apache and other web servers.
% Anonymous User - Aug. 7, 2002 3:49 pm:
Is there a reason index_html is used in Zope instead of index.html?
% Anonymous User - Aug. 15, 2002 8:38 am:
Trivial. index_html is a legal python name. index.html would have to be
accessed as self["index.html"] etc.
From nobody@nowhere.com Fri Aug 16 02:40:33 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 15 Aug 2002 21:40:33 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-6
---------------
Suppose you have a folder for home work that you want to export
from your school Zope server, and take home with you to work on in
your home Zope server. You can create a folder like this in your
root folder called "homeWork". Go to the folder that contains
your *homeWork* folder. Select the *homeWork* folder by checking
the checkbox next to it. Then click the *Import/Export* button. You
should now be working in the Import/Export folder view, as shown
in [3-1].
% Anonymous User - Aug. 15, 2002 9:40 pm:
Just wondering what it would look like
Wondering around
From nobody@nowhere.com Fri Aug 16 08:48:56 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Fri, 16 Aug 2002 03:48:56 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-42
---------------
Because Zope does transaction management for you, most of the time you
do not need to explicitly begin, commit or abort your own
transactions. For more information on doing transaction management
manually, see the links at the end of this chapter that lead to more
detailed tutorials of doing your own ZODB programming.
% Anonymous User - Jan. 4, 2002 9:14 am - The text should probably mention that you have to let the exception propagate "right out of Zope" for the "rollback" to occur in Zope (of course). Otherwise, it seems to be the case that if the exception is to be handled within a Zope Product (so that a user of the application doesn't see the standard error page), then an explicit transaction abort should be performed in the exception handler in question.
% peterb - Aug. 16, 2002 3:48 am:
It should be even more specific and mention that if the exception is caught, whether in a product, in DTML or
in a script there is no automatic rollback.
You need to call get_transaction.abort() in your exception handler, unless you rethrow the exception and you
know it won't get caught.
This is actually guesswork due to lacking docs, I just happen to have the problem right now.
From nobody@nowhere.com Fri Aug 16 15:55:18 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Fri, 16 Aug 2002 10:55:18 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#5-2
---------------
You can display this cost in a DTML Document or Method like so::
One Adult pass:
% Anonymous User - Aug. 16, 2002 10:55 am:
Do I find other fmt-formats in the Appendix A as well?
From nobody@nowhere.com Fri Aug 16 17:14:01 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Fri, 16 Aug 2002 12:14:01 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-27
---------------
Volatile attributes are useful for data that is good to cache for
a while but can often be thrown away and easily recreated. File
connections, cached calculations, rendered templates, all of these
kinds of things are useful applications of volatile
attributes. You must exercise care when using volatile attributes.
Since you have little control over when your objects are moved in
and out of memory, you never know when your volatile attributes
may disappear.
% poster - May 13, 2002 9:43 am:
I assume that you can count on a volatile attribute remaining within the life of a method call that creates
it. What about within a transaction? In general, while I understand there will be a point at which you can no
longer rely on the existence of a volatile attribute, when *can* you rely on it?
% reiman - Aug. 16, 2002 12:13 pm:
I also just learned that _v_ attributes are thread-specific. This too should be mentioned (and explained)
here.
From nobody@nowhere.com Fri Aug 16 17:15:36 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Fri, 16 Aug 2002 12:15:36 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#3-58
---------------
Objects stored in modules but not in the ZODB are not persistent
and not-thread safe. In general it's not a good idea to store
data (as opposed to functions, and class definitions) in modules
when using ZODB.
% reiman - Aug. 16, 2002 12:15 pm:
We should mention that module data is the easiest way to achive server-lifetime data store. This is where you
would normally store external references (file handles or database connections or session data) that you
cannot easily reconstruct.
From nobody@nowhere.com Fri Aug 16 23:21:28 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Fri, 16 Aug 2002 18:21:28 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#1-0
---------------
This chapter explains what Zope is and who it's for. It describes in
broad strokes what you can do with Zope. You also learn about the
differences between Zope and other web application servers.
% Anonymous User - May 27, 2002 5:06 pm:
The second sentence should read:
You _will_ also learn about the differences between Zope and other web application servers.
% Anonymous User - June 28, 2002 8:56 pm:
I've heard good things about Zope.
Plone looks cool.
I would really like to be able to use this product - but the SLOW PERFORMANCE of the zope.org site forces me
to say no.
I'm going through this site at 6pm (PST) on a Friday night, and it is dog slow. In addition, I can tell from
the dates on the comments that overall traffic is not too heavy.
As a business person, I can tell you that this product will never be as successfull as others out there
unless performance is improved DRAMATICALLY.
% mcdonc - June 28, 2002 9:12 pm:
That was probably me. I was copying large chunks of the Zope Book around and generally otherwise giving
Zope.org a workout. Sorry..
I wouldn't necessarily judge Zope solely on the performance of Zope.org at any given time. There is no other
website I know about that lets psuedoanonymous people *write and run their own code* on the website itself. Lots
of people write bad code. ;-) It's not really the framework's fault. It's intended as more of a demonstration
of the flexibility and security of Zope rather than the raw speed of Zope. Also, FWIW, the comment dates mean
very little. Zope.org does a much more than just serve this book. There are over 20,000 discrete pieces of
content in this site, many of which are writable (not just readable).
Note also that the largest known Zope cluster has serviced peak load of 900 requests per second. I think this
is a good indicator that Zope is fast enough for almost anything, given the right setup and environment.
It's quite understandable to want to judge Zope based on Zope.org, but you'd help yourself by doing a bit
more research before jumping to any conclusions.
% mcdonc - June 28, 2002 9:14 pm:
One other thing: if you think Friday night isn't "geek night" for Zopists who use Zope.org, I'd have to
disagree. ;-)
% Anonymous User - July 27, 2002 11:56 pm:
Yup (in regards to perfomance). I'm admining a site that on a single 200mz (actually 233 underclocked to 200
for stability) debian box , running Zope for multiple department squishdot's and the wiki's (awesome intranet
tool!) , acting as an appletalk fileserver for over thirty machines, email, and even a covert tinymush
server(!) and trust me, Zope is the least of my worries. It gets pounded constantly by departmental dudes
whacking stuff on and off all day. It don't even blink. As to learning Python, don't worry! Theres a tutorial
in the standard python distro that'll have you up to scratch in an afternoon. It's that easy!
% Anonymous User - Aug. 16, 2002 6:21 pm:
I have about 500 hits per second on a songle IIS site. 1 processor - no tuning - no cluster. I use ZOPE and I
like it: But more performance would be very apreciated.
From nobody@nowhere.com Sat Aug 17 00:58:06 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Fri, 16 Aug 2002 19:58:06 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Zope Products
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Products.stx#3-93
---------------
MetaPublisher is a content managment system based on Zope
technology. It is developed by the Zope solution's provider
"Beehive":http://www.beehive.de/. More information can be found
on the "MetaPublisher Home
Page":http://hive.beehive.de/Beehive/www.beehive.de/Zope/MetaPublisher/.
% Anonymous User - Aug. 10, 2002 9:15 am:
Server not found!
Product is broken on Zope 2.5.1
% Anonymous User - Aug. 16, 2002 7:58 pm:
"Zope solution's provider" should not have the apostrophe, and may need some more capital letters depending
on what an entity that provides solutions for Zope actually rates.
From nobody@nowhere.com Sat Aug 17 20:53:21 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sat, 17 Aug 2002 15:53:21 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-8
---------------
So what do you get when you download Zope? You actually get a lot of
things. Zope consists of several different components that work
together to help you build web applications. Zope comes with:
A Web server -- Zope comes with a built in web server that
serves content to you and your users. Of course, you may
already have an existing web server, such as *Apache* or
*Microsoft IIS* and you may not want to use Zope's. Not to
worry, Zope works with these web servers also, and any other web
server that supports the Common Gateway Interface (CGI).
A Web based interface -- When you build web applications with Zope,
you use your web browser to interact with the Zope *management
interface*. This interface is a development environment that lets
you do things like create web pages, add images and documents,
connect to external relational databases and write scripts in
different languages.
An object database -- When you work with Zope, you are mostly working
with objects that are stored in Zope's object database. Zope's
management interface provides a simple, familiar way to manage
objects that resembles the way many common file managers work.
Relational integration -- You don't have to store your
information in Zope's object database if you don't want to,
because Zope works with other relational databases such as
*Oracle*, *PostgreSQL*, *Sybase*, *MySQL* and many others.
Scripting language support -- Zope allows you to write web
applications in a number of different languages, like
"Python":http://www.python.org/, "Perl":http://www.perl.org/, and
Zope's own Document Template Markup Language (DTML).
% Anonymous User - July 23, 2002 6:23 pm:
Sentences like "You actually get a lot of things." are a waste. It's why so much documentation is long and
unfinished. The information content of that sentence is 0 or even negative. It pushes an opinion. It causes
us to wonder if the author is sticking to the facts or has an agenda. We, the readers, will decide what we
care about. And if we do care about quantity, we will judge for ourselves whether it is "a lot". Fluff is
very annoying when skimming rapidly for meat.
% dave_newton - Aug. 12, 2002 8:33 pm:
HOw ironic.
% Anonymous User - Aug. 14, 2002 10:44 am:
for a reference guide is may be superfluous, but it outlines a good point in a introduction
% Anonymous User - Aug. 17, 2002 3:53 pm:
Haha - s/he makes a 5 line comment about a short sentence. I cant
imagine documentation written by him/her.
From nobody@nowhere.com Sun Aug 18 01:36:17 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sat, 17 Aug 2002 20:36:17 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-35
---------------
Now that you've learned about Zope's features and history, it's
time to start using it. In the next chapter you'll learn how to
get up and running with Zope. Since Zope is free, you can download
the latest version, and begin working immediately.
% Anonymous User - Apr. 24, 2002 3:52 am:
What advantage does Zope have over
Dreamweaver or Namo Webeditor in designing
the website pages???
% Anonymous User - Apr. 26, 2002 8:27 pm:
you might use Dreamweaver to design a template, but then go through zope's web interface to write specific
content for each individual page - at least, that's how it looks to me from what I've read so far.
% Anonymous User - July 23, 2002 7:39 pm:
Dreamweaver is mainly a "design tool", not a comprehensive web application framework.
With dreamweaver you can produce "web pages" organized in a fairly basic "web site" of a rather static
nature. Dreamweaver is meant for visually-oriented developers who do not mind delivering sub-par bloated code
to http clients.
Zope allows you to build "web applications", whose components can be highly-aware "objects". Those objects
can grealty increase your site's modularity, flexibility and extensibility using such mechanisms as
inheritance. As an example, a sub-section object will look for its own "header" object and if it does not
have one, it inherits its parent's.
So if you want to build a web application which lives and breathes, is managed and edited by a group of
people, Zope is for you.
% Anonymous User - Aug. 17, 2002 8:36 pm:
You can also use Zope & Dreamweaver together. Even without destroying the logic in the zope templates, since
DW leaves them untouched. I's really useful if you collaborate with a designer (or developer, depends on
point of view ;)) on a project at the same point of time
From nobody@nowhere.com Sun Aug 18 01:44:13 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sat, 17 Aug 2002 20:44:13 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#1-0
---------------
This chapter explains what Zope is and who it's for. It describes in
broad strokes what you can do with Zope. You also learn about the
differences between Zope and other web application servers.
% Anonymous User - May 27, 2002 5:06 pm:
The second sentence should read:
You _will_ also learn about the differences between Zope and other web application servers.
% Anonymous User - June 28, 2002 8:56 pm:
I've heard good things about Zope.
Plone looks cool.
I would really like to be able to use this product - but the SLOW PERFORMANCE of the zope.org site forces me
to say no.
I'm going through this site at 6pm (PST) on a Friday night, and it is dog slow. In addition, I can tell from
the dates on the comments that overall traffic is not too heavy.
As a business person, I can tell you that this product will never be as successfull as others out there
unless performance is improved DRAMATICALLY.
% mcdonc - June 28, 2002 9:12 pm:
That was probably me. I was copying large chunks of the Zope Book around and generally otherwise giving
Zope.org a workout. Sorry..
I wouldn't necessarily judge Zope solely on the performance of Zope.org at any given time. There is no other
website I know about that lets psuedoanonymous people *write and run their own code* on the website itself. Lots
of people write bad code. ;-) It's not really the framework's fault. It's intended as more of a demonstration
of the flexibility and security of Zope rather than the raw speed of Zope. Also, FWIW, the comment dates mean
very little. Zope.org does a much more than just serve this book. There are over 20,000 discrete pieces of
content in this site, many of which are writable (not just readable).
Note also that the largest known Zope cluster has serviced peak load of 900 requests per second. I think this
is a good indicator that Zope is fast enough for almost anything, given the right setup and environment.
It's quite understandable to want to judge Zope based on Zope.org, but you'd help yourself by doing a bit
more research before jumping to any conclusions.
% mcdonc - June 28, 2002 9:14 pm:
One other thing: if you think Friday night isn't "geek night" for Zopists who use Zope.org, I'd have to
disagree. ;-)
% Anonymous User - July 27, 2002 11:56 pm:
Yup (in regards to perfomance). I'm admining a site that on a single 200mz (actually 233 underclocked to 200
for stability) debian box , running Zope for multiple department squishdot's and the wiki's (awesome intranet
tool!) , acting as an appletalk fileserver for over thirty machines, email, and even a covert tinymush
server(!) and trust me, Zope is the least of my worries. It gets pounded constantly by departmental dudes
whacking stuff on and off all day. It don't even blink. As to learning Python, don't worry! Theres a tutorial
in the standard python distro that'll have you up to scratch in an afternoon. It's that easy!
% Anonymous User - Aug. 16, 2002 6:21 pm:
I have about 500 hits per second on a songle IIS site. 1 processor - no tuning - no cluster. I use ZOPE and I
like it: But more performance would be very apreciated.
% Anonymous User - Aug. 17, 2002 8:44 pm:
Does somewhere exist a detailed profiling analysis for zope? I mean relly detailed so we could have a look at
bottlenecks... on the other side Zope IS fast and doing the profiling shouldn't be so difficult.
From nobody@nowhere.com Sun Aug 18 03:51:54 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sat, 17 Aug 2002 22:51:54 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-64
---------------
Zope will not let you cut, delete, or rename a few particular
objects in the root folder. These objects include *Control_Panel*,
*standard_html_header*, *standard_html_footer*, and
*standard_error_message*. These important objects are necessary
for Zope's operation. Also, these operations don't work in some
cases. For instance, you can't paste a user object into a regular
folder.
% Anonymous User - June 15, 2002 10:11 am:
I'm using Zope version 2.5.1 and I am allowed to delete the mentioned objects.
% Anonymous User - Aug. 17, 2002 10:51 pm:
Well don't, then.
From nobody@nowhere.com Sun Aug 18 12:45:28 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 18 Aug 2002 07:45:28 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-21
---------------
The request object is the very bottom most object on the DTML
namespace stack. The request contains all of the information
specific to the current web request.
% Anonymous User - July 12, 2002 12:36 am:
bottommost
% Anonymous User - Aug. 18, 2002 7:45 am:
...object on the bottom??? --RAW--
From nobody@nowhere.com Sun Aug 18 12:49:11 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 18 Aug 2002 07:49:11 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-24
---------------
A very simple and enlightening example is to simply print the REQUEST
out in an HTML page::
% Anonymous User - Aug. 18, 2002 7:49 am:
should HTML page be DTML Document ?? --RAW--
From nobody@nowhere.com Sun Aug 18 14:27:56 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 18 Aug 2002 09:27:56 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-93
---------------
Zope comes with a built-in tutorial. The tutorial guides you
through all the basics of creating and managing Zope objects. To
launch the tutorial, add a Zope Tutorial to the current folder by
selecting *Zope Tutorial* from the Product add list. Give it an id
which is unique in the current folder, such as *tutorial*. The
tutorial comes with several examples that you can change and copy
for your own use.
% Anonymous User - May 19, 2002 1:45 pm:
ps - Guess I've discovered a need to re-install the tutorial....
% Anonymous User - May 19, 2002 1:49 pm:
How do I start the tutorial exactly?? All I see is a bunch of tutorial examples in folders. What button are
they referring to to start the tutorial?
% Anonymous User - May 23, 2002 6:16 am:
You can click on the 'help!' link when you're in the root folder. From there you
can follow the Tutorial link, in the navigation window.
A problem I have actually, is that it's complaining it can not find the Tutorial
Examples. But I did install/import them, and I see the examples residing in
the help folder and the tutorial is working as far as I can concern.
Greetings Blurg
% Anonymous User - May 24, 2002 8:29 am:
I had that same problem with the tutorial examples. I noticed that if I reinstalled the tutorial with an id
not containing white spaces, everything was ok.
To start the tutorial, you can also open file index_html from the tutorial folder and click on the "view"
tab.
% Anonymous User - May 30, 2002 6:13 pm:
What I donエt understand and you might clarify this point: Why do I have to "add" tutorial to some folder...
Why not use the one in the cont... Wait, I think I get it:
Folder: /Control Panel/Products
Hosts the "templates/products" which appear afterwards (some magic included) in the "Product add list". Eg.
The product/template "MailHost (Installed product MailHost (MailHost-1-2-0))" in /Control Panel/Products
corresponds to the "Product add list"-entry: Mail Host.
Same applies to the template/product: ZopeTutorial (Installed product ZopeTutorial (Zope Tutorial 1.0)) - It
can be put into action when inserted via the "product add list". Okay, finally I understand the mechanism...
I think...
% Anonymous User - May 31, 2002 6:04 am:
Why not explaining the products/templates in the section
- Administering and Monitoring Zope + Fig. 2.6
And show the connection between the "Product Folder" and the "Product Add List".
% Anonymous User - June 20, 2002 10:26 am:
Tutorials are working fine for me... except for #11. The database connection is closed... When I click to
connect, I get:
"Invalid connection string: Demo"
How do I fix this?
% Anonymous User - Aug. 8, 2002 5:49 am:
I cannot get the tutorial to work, tried all the above but I keep getting a
message telling me to install the examples.
I tried to run the tutorial fron the help folder but I get an error message when creating the first Elvis
Lives page
Error Type: KeyError
Error Value: header.gif
% RhoXS - Aug. 18, 2002 9:27 am:
I'm a total Zope Newbie...
I'm trying to run the tutorials as instructed, but am getting this message:
Site Error
An error was encountered while publishing this resource.
Error Type: Bad Request
Error Value: File does not exist: ZopeTutorialExamples.zexp
I installed using a package for Mac OS X. Where can I get these files and how do I install them?
From nobody@nowhere.com Sun Aug 18 14:32:28 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 18 Aug 2002 09:32:28 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-94
---------------
If you start the tutorial and want to stop using it before you have
completed all the lessons, you can later return to the tutorial. Just
go to the help system and find the lesson you'd like to continue with
by browsing the *Zope Tutorial* help folder. There is no need to
re-install the tutorial.
% Anonymous User - May 19, 2002 1:44 pm:
This is driving me F&*King NUTS! So I go to the tutorial/examples folder (there's nothing in tutorial except
examples). It shows me a window with what appears to be the code for the intro... it says "click on the
button below". All I see is Save Changes, Taller, Shorter, Narrower, Wider and Upload File. I clicked on Save
Changes, nothing happened. The 4 size buttons just resized the window. Finally I clicked on upload file and
the text disappeared. Unbelievable. So in the previous section I learned about Undo... except there's no
F&*King UNDO!!!!!!!!!!!!!!!!!!!!!!!
% Anonymous User - May 23, 2002 6:10 am:
Keep your head cool. and don't mess up this book with screaming.
Try IIS or something, Zope's probably not for you, or go to bed, lots of people
don't get the picture anymore when it's 1:44pm, that's quite normal.
% Anonymous User - May 23, 2002 6:20 am:
Also,
In addition to my answer, I want to say, if you're asking for help and like to
have an answer, do not irritate people, and try to read again and stop when you
understood the things explained.
Anyway, you can start the tutorial from the 'help!' link in the root folder level.
Greetings Blurg
% Anonymous User - June 20, 2002 4:09 pm:
It is easy to boot the tutorial.
1) Go to Tutorial:examples from within the management interface
2) Click the View tab. You will see a welcome page with a "Begin Tutorial" button.
3) Click the "Begin Tutorial" button. A help page will pop up from which you can proceed with the tutorial. Links
in that help page pull tutorial content into the page you just came from.
% RhoXS - Aug. 18, 2002 9:32 am:
The crux of many of our problems is that we don't have have these examples installed. How do we get them?
Tx, Rho
From nobody@nowhere.com Sun Aug 18 17:23:15 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 18 Aug 2002 12:23:15 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-6
---------------
Folders are the building blocks of Zope. The purpose of a folder is to
*contain* other objects, and to *organize* objects by separating them
into different groups.
% Anonymous User - July 2, 2002 1:58 pm:
Each time we create an object such as a folder, Zope saves everything in its database in the file Data.fs.
Am I correct? Thanks.
% Anonymous User - July 2, 2002 2:01 pm:
Yes.
% Anonymous User - Aug. 18, 2002 12:23 pm:
So are you saying that to "copy" my Zope setup to another box I could simply copy the Data.fs file? Could you
explain the function of Data.fs.in, Data.fs.lock and Data.fs.tmp?
Data.fs contains a lot of binary content. Is there a way to "recover" it if Zope becomes unusable?
From nobody@nowhere.com Sun Aug 18 20:50:37 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 18 Aug 2002 15:50:37 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-57
---------------
This will return the balance or debt compounded over the course of
"years". Next, create a *interestRateDisplay* page template that
calls *calculateCompoundingInterest* and returns the result::
Your total balance (or debt) including compounded interest over
2 years is:
$1.00
% Anonymous User - Apr. 6, 2002 10:39 am:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: Undefined
Error Value: years not found in 'years', at line 5, column 3
....
....
# I got this error message, please help me to correct this error.
% Anonymous User - Apr. 8, 2002 4:33 pm:
i refer to the ch.9.
and change the python expression to
python: here.calculateCompoundingInterest(request.form['principal'],...
that should be able to work.
i'm a rookie.
% Anonymous User - Apr. 11, 2002 9:53 am:
You also need to change
tal:content="years" to
tal:content="request/years"
See ch.5
% Anonymous User - Apr. 22, 2002 10:11 pm:
create a interestRateDisplay page template that calls calculateCompoundingInterest and returns the result:
Your total balance (or debt) including compounded interest over
2 years is:
$1.00
#from Apr. 6, 2002 10:39 am:thank you! it works!
% Anonymous User - June 5, 2002 5:19 am:
My interestRateDisplay page template doesn't seem to be calling the Python Script.
It just shows:
Your total balance (or debt) including compounded interest over 2 years is:
$1.00
I must be missing something.
% Anonymous User - June 5, 2002 5:43 pm:
Ok, I realised that Zope Templates were not installed on my Zope. I had thot it was there by default. After
proper installation, the scripts are now being called nicely. Thanks.
% Anonymous User - June 13, 2002 9:05 pm:
I suggest improving the information given in error output. I know this makes me sound dumb, but it took me 15
minutes to realize that the problem I had was that I'd spelled calculate incorrectly in my script name. Why
not have a message "error: script file calculteCompoundingInterest not found"
% Anonymous User - June 24, 2002 10:51 am:
I cannot understand the syntax for the interestRateDisplay template. What is the "..tal:content=..."
attribute. Why do we have the number "2" between the openining and closing tag and what is the "1.00"
before the last closing tag? Besides why do we need the "here" when we call the python python script?
% Anonymous User - July 7, 2002 12:06 am:
For properly namespaced XML, it would be appropriate to have an xmlns:tal attribute attached to the document
root element. However, setting any value for xmlns:tal seems to disable the dynamic features on the server
side.
Is there an official namespace for the tal prefix?
% Anonymous User - July 7, 2002 12:19 am:
Disregard last comment: found it in Appendix C.
xmlns:tal="http://xml.zope.org/namespaces/tal"
% Anonymous User - July 11, 2002 11:34 am:
I am getting the same problem as was posted by Anonymous User on the June 5th with my win98 installation. The
python script returns with $1.00. I have tried to find more info on installing Zope Templates but have not
succeeded. Please help!
% Anonymous User - July 24, 2002 5:19 pm:
My I humbly suggest eliminating the errors in this example as they appear so eary in this document, a user
such as myself who has less than average familiarity with these technologies may waste an hour or so trying
to figure out why they keep getting error messages when they cut and paste directly from the examples. It
might lead a novice to postulate that they had installed Zope incorrectly, somehow.
% Anonymous User - Aug. 3, 2002 1:54 pm:
I'm thinking that a novice is more likely not to trust anything in this book, after this bad example. --RAW--
% Anonymous User - Aug. 14, 2002 1:53 pm:
THANK YOU whoever put in the full html a while back. It worked, and it only took me a few tries to check my
own work against it
% Anonymous User - Aug. 18, 2002 3:50 pm:
I managed to get it running by pasting the "Anonymous User - Apr. 22, 2002 10:11 pm" comment's code. But it
would be good for the book to take at least a sentence each to define:
tal:
request.
request/
As far as I can tell, none of those are defined previously in the document, and they're not obvious.
From nobody@nowhere.com Mon Aug 19 02:08:48 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 18 Aug 2002 21:08:48 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Object Publishing
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/ObjectPublishing.stx#3-85
---------------
XML-RPC supports marshalling of basic Python types for both
publishing requests and responses. The upshot of this
arrangement is that when you are designing methods for use via
XML-RPC you should limit your arguments and return values to
simple values such as Python strings, lists, numbers and
dictionaries. You should not accept or return Zope objects from
methods that will be called via XML-RPC.
% Anonymous User - Aug. 18, 2002 9:08 pm:
Hm, I keep getting the same kind of error when trying these example calls to 'getId()' etc.:
objects'>
So this is the kind of Zope object that won't be returned? I'd love to see some *working* examples of XML-RPC
in Zope (please).
From nobody@nowhere.com Mon Aug 19 04:25:08 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Sun, 18 Aug 2002 23:25:08 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-3
---------------
Zope is currently available as a binary for Windows, Linux and Solaris.
This means that you can just download and install it without having to
compile any programs. For other platforms you must download the source
and compile Zope. Zope can be compiled and run on almost any Unix-like
operating system. As a general rule of thumb, if
"Python":http://www.python.org is available for your operating system
and you have a C compiler, then you can probably use Zope.
% Anonymous User - May 8, 2002 2:54 pm:
Also is available as a binary for MacOs X. ;-)
% Anonymous User - Aug. 8, 2002 8:10 am:
What do you recommend for people who don't have a C compiler?
% Anonymous User - Aug. 18, 2002 11:25 pm:
if you dont have C then hope you can d/load binary for your OS,,,, of course
From nobody@nowhere.com Mon Aug 19 05:32:35 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 19 Aug 2002 00:32:35 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-94
---------------
If you start the tutorial and want to stop using it before you have
completed all the lessons, you can later return to the tutorial. Just
go to the help system and find the lesson you'd like to continue with
by browsing the *Zope Tutorial* help folder. There is no need to
re-install the tutorial.
% Anonymous User - May 19, 2002 1:44 pm:
This is driving me F&*King NUTS! So I go to the tutorial/examples folder (there's nothing in tutorial except
examples). It shows me a window with what appears to be the code for the intro... it says "click on the
button below". All I see is Save Changes, Taller, Shorter, Narrower, Wider and Upload File. I clicked on Save
Changes, nothing happened. The 4 size buttons just resized the window. Finally I clicked on upload file and
the text disappeared. Unbelievable. So in the previous section I learned about Undo... except there's no
F&*King UNDO!!!!!!!!!!!!!!!!!!!!!!!
% Anonymous User - May 23, 2002 6:10 am:
Keep your head cool. and don't mess up this book with screaming.
Try IIS or something, Zope's probably not for you, or go to bed, lots of people
don't get the picture anymore when it's 1:44pm, that's quite normal.
% Anonymous User - May 23, 2002 6:20 am:
Also,
In addition to my answer, I want to say, if you're asking for help and like to
have an answer, do not irritate people, and try to read again and stop when you
understood the things explained.
Anyway, you can start the tutorial from the 'help!' link in the root folder level.
Greetings Blurg
% Anonymous User - June 20, 2002 4:09 pm:
It is easy to boot the tutorial.
1) Go to Tutorial:examples from within the management interface
2) Click the View tab. You will see a welcome page with a "Begin Tutorial" button.
3) Click the "Begin Tutorial" button. A help page will pop up from which you can proceed with the tutorial. Links
in that help page pull tutorial content into the page you just came from.
% RhoXS - Aug. 18, 2002 9:32 am:
The crux of many of our problems is that we don't have have these examples installed. How do we get them?
Tx, Rho
% Anonymous User - Aug. 19, 2002 12:32 am:
In the management interface, left hand pane, click 'Root Folder'. Now in the right hand pane select, from the
'Select type to add' dropdown, 'Zope Tutorial'. The tutorials will now install. Go back to 'Help' and you can
now run through the tutorials.
From rhires@earthlink.net Mon Aug 19 03:05:58 2002
From: rhires@earthlink.net (Russell Hires)
Date: Sun, 18 Aug 2002 22:05:58 -0400
Subject: [ZDP] Lesson 8. Elvis Photo Archive, cont.
Message-ID:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
"The photoAction document uses the tag to perform an action
without inserting anything into the web page. It calls the 'manageaddImage'
method on the photoArchive folder. 'manageaddImage' is a folder method that
creates a new Image."
How would you know that the photoArchive folder has this method? where is
that documented?
- --
Linux -- the OS for the Renaissance Man
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9YFKGAqKGrvVshJQRAr9kAKDsaRZuco2fZwHl25Ey1413aFIU6gCg3Zos
hQw4d2XMK44zOxesQDn/Lt0=
=VL6/
-----END PGP SIGNATURE-----
From chrism@zope.com Mon Aug 19 07:07:30 2002
From: chrism@zope.com (Chris McDonough)
Date: Mon, 19 Aug 2002 02:07:30 -0400
Subject: [ZDP] Lesson 8. Elvis Photo Archive, cont.
References:
Message-ID: <006d01c24746$b7716520$2201000a@james>
Errr.. searching Google, probably. ;-)
Each Zope Product registers a number of object constructors that are
made available from Zope objects. Typically, these constructors are
accessible via the "manage_addProduct" mapping such as:
anobject.manage_addProduct['SomeProductName'].manage_addSomeClass('id'
)
This adds an instance of SomeClass to "anobject" with an id of 'id'.
A shortcut for this is sometimes:
anobject.manage_addSomeClass('id')
Unfortunately, this doesn't work for all classes nor is there any sane
naming convention. This is neither explained nor readily explicable,
and is an example of Zope "DWIM" that really kicks documentors where
it hurts. All I can do is apologize..
- C
----- Original Message -----
From: "Russell Hires"
To:
Sent: Sunday, August 18, 2002 10:05 PM
Subject: [ZDP] Lesson 8. Elvis Photo Archive, cont.
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> "The photoAction document uses the tag to perform an
action
> without inserting anything into the web page. It calls the
'manageaddImage'
> method on the photoArchive folder. 'manageaddImage' is a folder
method that
> creates a new Image."
>
> How would you know that the photoArchive folder has this method?
where is
> that documented?
> - --
> Linux -- the OS for the Renaissance Man
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE9YFKGAqKGrvVshJQRAr9kAKDsaRZuco2fZwHl25Ey1413aFIU6gCg3Zos
> hQw4d2XMK44zOxesQDn/Lt0=
> =VL6/
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ZDP maillist - ZDP@zope.org
> http://lists.zope.org/mailman/listinfo/zdp
>
From nobody@nowhere.com Mon Aug 19 08:57:29 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 19 Aug 2002 03:57:29 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#3-56
---------------
"Security settings for a mail host object.":img:6-3:Figures/6-3.png
% Anonymous User - Aug. 19, 2002 3:57 am:
As ZOPE newbie it would be nice to have a list of all the permissions and a bit more description or examples
on the impacts of each permission
From nobody@nowhere.com Mon Aug 19 13:52:23 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 19 Aug 2002 08:52:23 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#3-55
---------------
You can find out what permissions are available on a given object
by going to the *Security* management tab.
% mcdonc - Aug. 19, 2002 8:52 am:
http://www.zope.org/Documentation/Books/ZDG/current/AppendixA.stx
From nobody@nowhere.com Mon Aug 19 16:36:14 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 19 Aug 2002 11:36:14 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-50
---------------
Notice that we've replaced the 'tal:content' attribute on the
table cell with a tal:replace statement on a 'span' tag. This
change allows you to have both an image and text in the table
cell.
% Anonymous User - Aug. 19, 2002 11:36 am:
What would happen if one didn't use the tal:replace statement on the span tag but still the tal:content
statement?
What kind of effect would you see or if you don't see any effect at all - why would it be so?
From nobody@nowhere.com Mon Aug 19 16:51:50 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 19 Aug 2002 11:51:50 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-135
---------------
If you wish to customize the sidebar links you can either fill
the 'links' slot to completely override the links, or you can
fill the 'additional_links' slot to insert some extra links
after the default links. You can nest slots as deeply as you
wish.
% Anonymous User - Aug. 19, 2002 11:51 am:
Where can I find out what 'metal:slot' means. I have found the following '', but I
can't find any documentation. Sam
From nobody@nowhere.com Mon Aug 19 19:21:08 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 19 Aug 2002 14:21:08 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-193
---------------
Sessions have a plethora of additional configuration parameters
and usage patterns. For further information about the session
application programming interface, see the Zope help system.
For an additional example of using sessions, see the "shopping
cart" example that comes with Zope 2.5 and above (in the
Examples folder).
% Anonymous User - Aug. 19, 2002 2:21 pm:
How can I reference the container of a session object (i.e., I presume, the sessionDataManager object) from
within a python script? And from a DTML method?
From nobody@nowhere.com Mon Aug 19 19:22:59 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 19 Aug 2002 14:22:59 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-193
---------------
Sessions have a plethora of additional configuration parameters
and usage patterns. For further information about the session
application programming interface, see the Zope help system.
For an additional example of using sessions, see the "shopping
cart" example that comes with Zope 2.5 and above (in the
Examples folder).
% Anonymous User - Aug. 19, 2002 2:21 pm:
How can I reference the container of a session object (i.e., I presume, the sessionDataManager object) from
within a python script? And from a DTML method?
% mcdonc - Aug. 19, 2002 2:22 pm:
See http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx for more info about sessions.
From nobody@nowhere.com Tue Aug 20 00:29:31 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Mon, 19 Aug 2002 19:29:31 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#3-174
---------------
Display a tree rooted in another object, using a custom branches
method::
Node id :
% rklahn - Aug. 19, 2002 7:29 pm:
It is often useful to generate a tree of your parent, from a DTML document. I think it would be helpful if an
example was provided that performed this function, such as:
From nobody@nowhere.com Tue Aug 20 05:15:44 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 00:15:44 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#2-37
---------------
DateTime objects may be converted to integer, long, or float
numbers of days since January 1, 1901, using the standard int,
long, and float functions (Compatibility Note: int, long and
float return the number of days since 1901 in GMT rather than
local machine timezone). DateTime objects also provide access
to their value in a float format usable with the python time
module, provided that the value of the object falls in the
range of the epoch-based time module.
% Anonymous User - June 10, 2002 10:51 am:
It actually seems to return the time in seconds since 1/1/1970, not 1/1/1901.
% Anonymous User - July 24, 2002 2:32 pm:
I'm guessing that's a typo -- python has always run time from 1970
% Anonymous User - Aug. 20, 2002 12:15 am:
epoch
[UNIX: prob. from astronomical timekeeping] n. The time and date corresponding to 0 in an operating system's
clock and timestamp values. Under most UNIX versions the epoch is 00:00:00 GMT, January 1, 1970; under VMS,
it's 00:00:00 of November 17, 1858 (base date of the U.S. Naval Observatory's ephemerides); on a Macintosh,
it's the midnight beginning January 1 1904. System time is measured in seconds or ticks past the epoch. Weird
problems may ensue when the clock wraps around (see wrap around), which is not necessarily a rare event; on
systems counting 10 ticks per second, a signed 32-bit count of ticks is good only for 6.8 years. The
1-tick-per-second clock of UNIX is good only until January 18, 2038, assuming at least some software
continues to consider it signed and that word lengths don't increase by then.
From nobody@nowhere.com Tue Aug 20 09:54:45 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 04:54:45 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#3-59
---------------
You can use Python-based or Perl-based Scripts, and even Z SQL
Methods to implement logic. Your logic objects can call each other,
and can be called from your presentation methods. To create the
*isHungry* method, first create two new properties in the
*ExhibitProperties* property sheet named "last_meal_time" that is of
the type *date* and "isDangerous" that is of the type *boolean*.
This adds two new fields to your Edit view where you can enter the
last time the animal was fed and select whether or not the animal is
dangerous.
% Anonymous User - May 30, 2002 12:06 pm:
You need to enter a date on the last_meal_time property.
Zope 2.5.1 will not let you enter a null value in there.
% Anonymous User - Aug. 20, 2002 4:54 am:
for example, date should be like bellow:
2002/08/20 13:00:00 GMT+9
From nobody@nowhere.com Tue Aug 20 10:54:25 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 05:54:25 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Preface
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Preface.stx#4-19
---------------
Chapter 14 covers extending Zope by creating your own classes
of objects. It discusses *ZClasses*, and how instances are
built from classes. It describes step by step how to build a
ZClass and the attendant security and design issues. Finally,
it discusses creating Python base classes for ZClasses and
describes the base classes that ship with Zope. This chapter
shows you how to take Zope to the next level, by tailoring
Zope to your needs.
% Anonymous User - Aug. 20, 2002 5:54 am:
From nobody@nowhere.com Tue Aug 20 13:43:03 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 08:43:03 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-187
---------------
Here's an example of how to work with a session using a
Python-based Script::
## Script (Python) "lastView"
secs_per_day=24*60*60
session=context.REQUEST.SESSION
if session.has_key('last view'):
# The script has been viewed before, since the 'last view'
# has been previously set in the session.
then=session['last view']
now=context.ZopeTime()
session['last view']=now # reset last view to now
return 'Seconds since last view %.2f' % ((now - then) * secs_per_day)
# The script hasn't been viewed before, since there's no 'last
# view' in the session data.
session['last view']=context.ZopeTime()
return 'This is your first view'
% Anonymous User - Aug. 20, 2002 8:43 am:
As far as I remember, "context" as in context.REQUEST.SESSION has not yet been discussed.
For the sake of understanding a sentence on "context" might be in order.
SL
From nobody@nowhere.com Tue Aug 20 14:34:31 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 09:34:31 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-57
---------------
Finally let's add the ability to sort this list by file name or by
modification date. Change the *index_html* method again::
% Anonymous User - Aug. 20, 2002 9:34 am:
Could somebody explain to me what that _.has_key()-function does so that I might be able to reuse it in
another application?
From nobody@nowhere.com Tue Aug 20 15:05:02 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 10:05:02 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#3-71
---------------
One common use for scripts is to do string processing. Python has a
number of standard modules for string processing. You cannot do regular
expression processing from Python-based Scripts, but you do have access
to the *string* module. You have access to the *string* module from
DTML as well, but it is much easier to use from Python. Suppose you
want to change all the occurrences of a given word in a DTML
Document. Here's a script, *replaceWord*, that accepts two arguments,
*word* and *replacement*. This will change all the occurrences of a
given word in a DTML Document::
## Script (Python) "replaceWord"
##parameters=word, replacement
##
"""
Replaces all the occurrences of a word with a
replacement word in the source text of a DTML
Document. Call this script on a DTML Document to use
it.
Note: you'll need permission to edit a document to
call this script on the document.
"""
import string
text=context.document_src()
text=string.replace(text, word, replacement)
context.manage_edit(text, context.title)
% Anonymous User - Apr. 9, 2002 3:26 pm:
Why no regular expressions? Perhaps this should be explained in greater detail. One can always use javascript
if one needs regular expressions, but this is something that was quite surprising to me.
% Anonymous User - Apr. 10, 2002 12:50 am:
It's a security issue. Zope attaches attributes to objects in order to protect them via security assertions.
The regex module is implemented in C (as opposed to pure Python), so it's hard to attach security attributes
to the various objects that are used by the regex machinery. External methods can make full use of the regex
module, but "through the web" code (like Python scripts) cannot due to the abovementioned security
constraints.
% Anonymous User - Aug. 20, 2002 10:05 am:
context.manage_edit(text, context.title)
Is not explained...
From nobody@nowhere.com Tue Aug 20 16:00:43 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 11:00:43 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Introduction
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Introduction.stx#1-3
---------------
This book describes Zope's services to the developer from a
hands on, example-oriented standpoint. This book is not a complete
reference to the Zope API, but rather a practical guide to applying
Zope's services to develop and deploy your own web applications.
This book covers the following topics:
*Components and Interfaces* -- Zope is moving toward a
component-centric development model. This chapter describes the
new component model in Zope and how Zope components are described
through interfaces.
*Object Publishing* -- Developing applications for Zope involves
more than just creating a component, that component must be
*publishable* on the web. This chapter describes publication, and
how your components need to be designed to be published.
*Zope Products* -- New Zope components are distributed and installed
in packages called "Products". This chapter explains Products in
detail.
*Persistent Components* -- Zope provides a built-in, transparent
Python object database called ZODB. This chapter describes how to
create persistent components, and how they work in conjunction
with the ZODB.
*Acquisition* -- Zope relies heavily on a dynamic technique called
acquisition. This chapter explores acquisition thoroughly.
*Security* -- When your component is used by many different people
through the web, security becomes a big concern. This chapter
describes Zope's security API and how you can use it to make
security assertions about your object.
*Debugging and Testing* -- Zope has built in debugging and testing
support. This chapter describes these facilities and how you can
debug and test your components.
% Anonymous User - Apr. 28, 2002 11:22 pm:
Are ZClasses to be deprecated as a development tool?
It seems to be no longer included as a development option.
% mcdonc - May 30, 2002 11:06 am:
ZClasses are documented in the Zope Book.
% Anonymous User - Aug. 20, 2002 11:00 am:
what
From nobody@nowhere.com Tue Aug 20 16:00:46 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 11:00:46 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Introduction
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Introduction.stx#1-3
---------------
This book describes Zope's services to the developer from a
hands on, example-oriented standpoint. This book is not a complete
reference to the Zope API, but rather a practical guide to applying
Zope's services to develop and deploy your own web applications.
This book covers the following topics:
*Components and Interfaces* -- Zope is moving toward a
component-centric development model. This chapter describes the
new component model in Zope and how Zope components are described
through interfaces.
*Object Publishing* -- Developing applications for Zope involves
more than just creating a component, that component must be
*publishable* on the web. This chapter describes publication, and
how your components need to be designed to be published.
*Zope Products* -- New Zope components are distributed and installed
in packages called "Products". This chapter explains Products in
detail.
*Persistent Components* -- Zope provides a built-in, transparent
Python object database called ZODB. This chapter describes how to
create persistent components, and how they work in conjunction
with the ZODB.
*Acquisition* -- Zope relies heavily on a dynamic technique called
acquisition. This chapter explores acquisition thoroughly.
*Security* -- When your component is used by many different people
through the web, security becomes a big concern. This chapter
describes Zope's security API and how you can use it to make
security assertions about your object.
*Debugging and Testing* -- Zope has built in debugging and testing
support. This chapter describes these facilities and how you can
debug and test your components.
% Anonymous User - Apr. 28, 2002 11:22 pm:
Are ZClasses to be deprecated as a development tool?
It seems to be no longer included as a development option.
% mcdonc - May 30, 2002 11:06 am:
ZClasses are documented in the Zope Book.
% Anonymous User - Aug. 20, 2002 11:00 am:
what
% Anonymous User - Aug. 20, 2002 11:00 am:
what
From nobody@nowhere.com Tue Aug 20 16:05:42 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 11:05:42 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-31
---------------
This is basically what you might expect. Zope inserts a header, a
footer, and a title into the web page. DTML gets the values for these
variables from a number of different places. First, the *var* tag tries
to find a variable in the current object. Then it looks in the current
object's containers. Then it looks in the web request (forms and
cookies). If Zope cannot find a variable then it raises an exception,
and it stops executing the DTML.
% Anonymous User - June 6, 2002 9:24 am:
"current object's containers" what are containers? are you saying the current file's parent folder? or the
sibling folders?
% Anonymous User - June 6, 2002 9:31 am:
the current object's folder, then in turn *its* folder, then its folder, etc.
% Anonymous User - Aug. 20, 2002 11:05 am:
The preceding search order is so important I think it should have its own heading.
SL
From nobody@nowhere.com Tue Aug 20 17:39:40 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 12:39:40 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-14
---------------
Now suppose that you've gone home and want to import the file into
your home Zope server. First, you must copy the export file into
Zope's *import* directory on your server. Now, go to the
*Import/Export* view of the folder where you want perform the
import. Enter the name of the export file in the *Import file
name* form element and click *Import* to import those objects into
Zope.
% Anonymous User - Apr. 17, 2002 4:05 am:
When I do this, I get refused, and a comment about lacking a BTreeFolder?
% Anonymous User - May 16, 2002 12:08 am:
Considering of adding a browse/upload function?
% Anonymous User - May 23, 2002 5:11 pm:
When I do this, I get the following errors:
Error Type: Bad Request
Error Value: File does not exist: basic-0.9.5.zexp
I created a root-level folder called "import". I then added a File type object from my local filesystem into
the import folder, and set the id to the same name as the filename.
As far as I can tell I have followed all the rules completely - any thoughts?
% Anonymous User - June 12, 2002 2:57 am:
I get the same error. Help Please!
% Anonymous User - June 12, 2002 2:34 pm:
You need to create the import folder in the local file system (the directory where you installed Zope) and
copy the file you want import there.
% Anonymous User - Aug. 20, 2002 12:39 pm:
Can't I import files remotely? What do I do if I can not access the machine Zope is running on? c&p in the
text area?
From troester@fh-heilbronn.de Tue Aug 20 17:51:59 2002
From: troester@fh-heilbronn.de (=?iso-8859-1?Q?Dr._F._Tr=F6ster?=)
Date: Tue, 20 Aug 2002 18:51:59 +0200
Subject: [ZDP] Performing onClick ?
Message-ID: <001301c24869$e9e96bf0$fe78a8c0@mbmsrprivalix>
This is a multi-part message in MIME format.
------=_NextPart_000_0014_01C2487A.AD723BF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Dear Sir's
how can I start the object mainContent (a defined DTML method in the
root directory) by the attribute 'onClick' in the button-tag?
Like this?
It does'nt work.
Thank you very much
Fritz
------------------------------------------------------------------------
---
------=_NextPart_000_0014_01C2487A.AD723BF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Nachricht
Dear=20
Sir's
how =
can I start the=20
object mainContent (a defined DTML method in the root directory) by the=20
attribute 'onClick' in the button-tag?
------=_NextPart_000_0014_01C2487A.AD723BF0--
From nobody@nowhere.com Tue Aug 20 18:35:47 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 13:35:47 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-37
---------------
Inheritance also lets you build generalization relationships
between classes. For example, you could create a class called
'Animal' that contains information that all animals have in
general. Then, you could create *Reptile* and *Mammal* classes
that both inherit from *Animal*. Taking it even further, you
could create two additional classes *Lizard* and *Snake* that both
inherit from *Reptile*, as shown in [12-3].
% Anonymous User - Aug. 20, 2002 1:35 pm:
...two additional classes Lizard and Snake that both inherit from Reptile, as shown in Figure 12-3. There are
classes *Frog* and Snake inheriting from Reptile in fig 12-3.
From nobody@nowhere.com Tue Aug 20 22:30:13 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 17:30:13 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-13
---------------
To log into the management interface point your web browser to
Zope's management URL. The management URL for Zope is Zope's base
URL with */manage* appended. Assuming you have Zope installed on
your local machine serving on the default port 8080, the
management URL is::
http://localhost:8080/manage
% Anonymous User - June 15, 2002 9:04 am:
Doesn't standard installation use port 9673?
% Anonymous User - June 15, 2002 10:24 am:
It used to, but now the standard port is 8080.
% Anonymous User - June 18, 2002 3:37 am:
In Debian :
http://localhost:9673/manage
% Anonymous User - Aug. 12, 2002 12:31 pm:
FYI
Just in case anyone else runs into the same problem as I did.
I could not log in using http://[hostname]:[port]/manage I wound up using http://[ipaddress]:[port]/manage.
It worked and let me in.
% Anonymous User - Aug. 20, 2002 5:30 pm:
DNS GOT PROBLEM
From nobody@nowhere.com Tue Aug 20 22:58:44 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 17:58:44 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#3-14
---------------
Let's create a new user so that your coworker can help you
manage your Zope site. Go to the root Zope folder. Click on the
user folder named *acl_users*. The user folder contains user
objects that define Zope user accounts. Click the *Add* button
to create a new user.
% Anonymous User - Aug. 20, 2002 5:58 pm:
Please add additional optional fields to the add user:
First Name
Last Name
Email Address
Comment
From nobody@nowhere.com Wed Aug 21 03:47:43 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 22:47:43 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#4-3
---------------
This will insert the news items including their HTML markup
into paragraphs.
% Anonymous User - Aug. 20, 2002 10:47 pm:
Agreed. Explain example more --RAW--
From nobody@nowhere.com Wed Aug 21 04:13:47 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Tue, 20 Aug 2002 23:13:47 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#1-0
---------------
This reference describes the interfaces to the most common set of
basic Zope objects. This reference is useful while writing DTML,
Perl, and Python scripts that create and manipulate Zope objects.
% Anonymous User - June 20, 2002 6:55 pm:
This section needs a Table of Contents too.
% Anonymous User - June 26, 2002 1:43 pm:
The reference describes nearly nothing when you don't know the solution!
Examples are absolutely necessary.
% Anonymous User - July 12, 2002 3:32 pm:
i agree.
% Anonymous User - July 14, 2002 5:21 am:
Strongly disagree. This is a reference, not a tutorial or explanatory text.
% Anonymous User - Aug. 20, 2002 11:13 pm:
A reference doesn't contain explanatory text?
From nobody@nowhere.com Wed Aug 21 09:39:50 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 04:39:50 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-24
---------------
The right-hand frame of the management interface shows the
object you are currently managing. When you first log into Zope
the current object is the root folder, as shown in the right
frame of [2-1]. The workspace gives you information
about the current object, and lets you change it.
% Anonymous User - June 23, 2002 10:51 am:
It looks like all links to "Figure 2-1" are wrong (sorry).
% Anonymous User - Aug. 21, 2002 4:39 am:
Links to "Figure 2-1" are working well with Netscapeョ Communicator 4.74.
Maybe some browser are not interpreting this link as they should.
From troester@fh-heilbronn.de Wed Aug 21 10:26:39 2002
From: troester@fh-heilbronn.de (=?iso-8859-1?Q?Dr._F._Tr=F6ster?=)
Date: Wed, 21 Aug 2002 11:26:39 +0200
Subject: [ZDP] pdf-file viewing
Message-ID: <000701c248f4$db374dd0$fe78a8c0@mbmsrprivalix>
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C24905.9EC01DD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
with the code
=20
=20
=20
I want to execute dhe acrobat reader to show the content of the file
object "Studienordnung" in the folder "Dokumente".
But I get only the inner text of the pdf-file=B4without executing the
acrobat reader.
what`s wrong?=20
=20
Thank you very much
Fritz
------------------------------------------------------------------------
---
------=_NextPart_000_0008_01C24905.9EC01DD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Nachricht
------=_NextPart_000_0008_01C24905.9EC01DD0--
From ct@gocept.com Wed Aug 21 10:35:37 2002
From: ct@gocept.com (Christian Theune)
Date: Wed, 21 Aug 2002 11:35:37 +0200
Subject: [ZDP] pdf-file viewing
In-Reply-To: <000701c248f4$db374dd0$fe78a8c0@mbmsrprivalix>
References: <000701c248f4$db374dd0$fe78a8c0@mbmsrprivalix>
Message-ID: <20020821093537.GF1429@herkules>
--bKyqfOwhbdpXa4YI
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi.
First, this posting would be more appropriate (and find a broader
audience) on zope@zope.org.
* Dr. F. Tr??ster [020821 11:30]:
> Hi,
> =20
> with the code
> =20
>
> =20
>
>
>
> =20
> I want to execute dhe acrobat reader to show the content of the file
> object "Studienordnung" in the folder "Dokumente".
> But I get only the inner text of the pdf-file=B4without executing the
> acrobat reader.
> what`s wrong?=20
You mixed up the "compentencies" of Zope and the Browser. If you want
the browser to display a pdf file by opening the acrobat reader, you
will have to send the file as a file, not try to call it in zope. An
example is to put up the file, set the content type to application/pdf
and then "send" it, by providing a link to it, like
http://zope.server/myPdfFileObject
If your browser is configured properly, this should raise an Acrobat
Reader on your system.
Hope to have helped you, otherwise visit zope@zope.org=20
Cheers
Christian
--=20
Christian Theune - ct@gocept.com
gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3641 511586 - fax.+49 3496 3099118 mob. - +49 179 7808366
reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])
--bKyqfOwhbdpXa4YI
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9Y17pdUt9X/gknwIRAvrUAKCogTtbdIZ+W1dDppJdZLLhNthylgCeNPb2
xEwlsH5686mb77g2tjmpW5U=
=vb3V
-----END PGP SIGNATURE-----
--bKyqfOwhbdpXa4YI--
From nobody@nowhere.com Wed Aug 21 11:20:06 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 06:20:06 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Searching and Categorizing Content
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SearchingZCatalog.stx#2-14
---------------
Visitors to your Zoo want to be able to search for information on
the Zoo's animals. Eager herpetologists want to know if you have
their favorite snake, so you should provide them with the ability
to search for certain words and show all the documents that
contain those words. Searching is one of the most useful and
common web activities.
% Anonymous User - Aug. 21, 2002 6:20 am:
Since the examples tries to show us how to index contents of files, I presume they mean that the content
should be somewhere in the DTML-file, in the header or body.
From nobody@nowhere.com Wed Aug 21 11:26:06 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 06:26:06 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix C: Zope Page Templates Reference
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixC.stx#3-13
---------------
Expressions used in statements may return values of any type,
although most statements will only accept strings, or will convert
values into a string representation. The expression language must
define a value named *nothing* that is not a string. In
particular, this value is useful for deleting elements or
attributes.
% Anonymous User - Aug. 21, 2002 6:26 am:
From somewhere I copied a line like this:
It works fine. Why is "tal:block" not in the list?
From nobody@nowhere.com Wed Aug 21 14:09:36 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 09:09:36 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-42
---------------
Now click *Add*. This will take you back to the *ZooExhibit* Product
and you will see five new objects, as shown in [12-4].
% Anonymous User - Aug. 21, 2002 9:09 am:
I would like to build a ZClass that inherits from class SessionDataManager of the Session product, but no
such class shows in the base classes list. Are there any techniques to make it became a base class extensible
by ZClasses?
The strange thing is that further on an __init__.py example shows how to register a class so to make it
available to ZClasses for inheriting, and the __init__.py file of the Session product follows such
registration directives!
To be honest, it calls context.registerClass(), not context.registerBaseClass().
Maybe that's the point? Can I overcome this editing __init__.py and changing
context.registerClass() to context.registerBaseClass()?
From nobody@nowhere.com Wed Aug 21 15:39:29 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 10:39:29 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#1-0
---------------
When building a web application with Zope, you construct the
application out of objects. By design, different objects handle
different parts of your application. Some objects hold your content
data, such as word processor documents, spreadsheets and images.
Some objects handle your application's logic by accepting input from
a web form, or executing a script. Some objects control the way
your content is displayed, or *presented* to your viewer, for
example, as a web page, or via email. In general Zope objects take
three types of roles:
Content -- Zope objects such as documents, images and files hold
different kinds of textual and binary data. In addition to objects in
Zope containing content, Zope can work with content stored externally,
for example, in a relational database.
Logic -- Zope has facilities for scripting business logic. Zope allows
you to script behavior using Python, Perl, and SQL. "Business logic" is
any kind of programming that does not involve presentation, but rather
involves carrying out tasks like changing objects, sending messages,
testing conditions and responding to events.
Presentation -- You can control the look and feel of your site with
Zope objects that act as web page templates. Zope comes with a tag based
scripting language called the Document Template Markup Language (DTML)
to control presentation.
% Anonymous User - May 31, 2002 10:39 am:
This three types are a bit artificial. I agree with the CONTENT. I also agree on the LOGIC section. But I am
having some problems with the PRESENTATION layer. DTML (why did you not mention ZPT) is a mixture of LOGIC,
CONTENT and PRESENTATION.
After all I would say DTML belongs to the realm of LOGIC. It is a "programming" language and not "really"
responsible for PRESENTATION. It is a means of bringing content into a site... but like HTML which mixes
STUCTURE ( etc.) and PRESENTATION () it is neither fish nor flesh. CSS is an example for "pure"
PRESENTATION.
I read an article that said, ZOPE had a problem with the separation of CONTENT - LOGIC - PRESENTATION. To me
it looks as if the explanation tries to show the opposite... well, it failed and creates an artifical and
wrong separation of CONTENT, LOGIC and PRESENTATION.
% Anonymous User - July 2, 2002 1:49 pm:
Can somebody confirm this: DTML is going away and ZPT will play a bigger role?
If this is the case, I don't want to learn DTML. Zope should have a section where both Zope and users can
post any new "trend" or future changes.
Thanks.
% Anonymous User - Aug. 21, 2002 10:39 am:
"...it is neither fish nor flesh."
Should be "neither fish nor fowl."
From nobody@nowhere.com Wed Aug 21 15:50:53 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 10:50:53 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#4-21
---------------
These variables describe the
current item.
sequence-item -- The current item.
sequence-key -- The current key. When looping over tuples of the
form '(key,value)', the 'in' tag interprets them as
'(sequence-key, sequence-item)'.
sequence-index -- The index starting with 0 of the current item.
sequence-number -- The index starting with 1 of the current item.
sequence-roman -- The index in lowercase Roman numerals of the
current item.
sequence-Roman -- The index in uppercase Roman numerals of the
current item.
sequence-letter -- The index in lowercase letters of the current
item.
sequence-Letter -- The index in uppercase letters of the current
item.
sequence-start -- True if the current item is the first item.
sequence-end -- True if the current item is the last item.
sequence-even -- True if the index of the current item is even.
sequence-odd -- True if the index of the current item is odd.
sequence-length -- The length of the sequence.
sequence-var-*variable* -- A variable in the current item. For
example, 'sequence-var-title' is the 'title' variable of the
current item. Normally you can access these variables directly
since the current item is pushed on the DTML namespace. However
these variables can be useful when displaying previous and next
batch information.
sequence-index-*variable* -- The index of a variable of the
current item.
% rboylan - July 22, 2002 7:40 pm:
How does this work if you want to use these variables in an expression? I tried, but got errors because (I
think) - is not part of python names.
% Anonymous User - Aug. 3, 2002 4:39 pm:
rboylan, here is an example:
do something..
% Anonymous User - Aug. 7, 2002 12:44 am:
When a sql search returns no results, will the value of sequence-length be zero? Whenever I run my script and
there are no results, I either get an error about sequence not being defined, or a blank screen.
% Anonymous User - Aug. 21, 2002 10:50 am:
no results? - use :
...
...
From nobody@nowhere.com Wed Aug 21 15:59:10 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 10:59:10 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-34
---------------
Notice that a lot of complexity is added to the code just to get
things out of the *Reptiles* folder. Using the *with* tag you can
make this example much easier to read::
% Anonymous User - Aug. 21, 2002 10:59 am:
Somehow the get()-function is not interpreted correctly. I always get the following error message:
Error Type: KeyError
Error Value: getReptiles
Why??
From nobody@nowhere.com Wed Aug 21 16:24:08 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 11:24:08 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-50
---------------
Notice that we've replaced the 'tal:content' attribute on the
table cell with a tal:replace statement on a 'span' tag. This
change allows you to have both an image and text in the table
cell.
% Anonymous User - Aug. 19, 2002 11:36 am:
What would happen if one didn't use the tal:replace statement on the span tag but still the tal:content
statement?
What kind of effect would you see or if you don't see any effect at all - why would it be so?
% Anonymous User - Aug. 21, 2002 11:24 am:
You will see no difference when you see the result in a browser, but that's because the tag has no
visual representation. It's used as a placeholder for attributes, styles and other things.
Example. The following template:
Title: dummy title
will be processed as:
Title: The Real Title
But the following other template:
Title: dummy title
will be processed as:
Title: The Real Title
The visual presentation to the final user in their browser is the same.
From nobody@nowhere.com Wed Aug 21 16:59:30 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 11:59:30 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-52
---------------
This form could be processed by this script::
## Script (Python) "action"
##parameters=name, age
##
container.addPerson(name, age)
return container.responseTemplate()
% Anonymous User - Aug. 6, 2002 12:15 am:
How do you set the Template which is going to be executed witht the .responseTemplate() method?
% Anonymous User - Aug. 21, 2002 11:59 am:
responseTemplate is the id of the template that you want to execute. If your response template is called
"printResult", for example, you will write:
return container.printResult()
From nobody@nowhere.com Wed Aug 21 17:42:01 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 12:42:01 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-68
---------------
The ZODB is a complex and powerful system. However using
persistent objects is almost completely painless. Seldom do you
need to concern yourself with thread safety, transactions,
conflicts, memory management, and database replication. ZODB takes
care of these things for you. By following a few simple rules you
can create persistent objects that just work.
% Anonymous User - Aug. 21, 2002 12:42 pm:
Andrew Kuchling's ZODB pages link is broken!!
From nobody@nowhere.com Wed Aug 21 17:53:05 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Wed, 21 Aug 2002 12:53:05 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-68
---------------
The ZODB is a complex and powerful system. However using
persistent objects is almost completely painless. Seldom do you
need to concern yourself with thread safety, transactions,
conflicts, memory management, and database replication. ZODB takes
care of these things for you. By following a few simple rules you
can create persistent objects that just work.
% Anonymous User - Aug. 21, 2002 12:42 pm:
Andrew Kuchling's ZODB pages link is broken!!
% Anonymous User - Aug. 21, 2002 12:53 pm:
use http://www.amk.ca/zodb/ instead
From nobody@nowhere.com Thu Aug 22 09:04:32 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 22 Aug 2002 04:04:32 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Security
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Security.stx#2-53
---------------
Zope security is based upon roles and permissions. Users have
roles. Security policies map permissions to roles. Classes
protect methods with permissions. As a developer you main job is
to protect your classes by associating methods with
permissions. Of course there are many other details such as
protecting modules and functions, creating security user
interfaces, and initializing security settings.
% Anonymous User - Jan. 4, 2002 4:14 pm - This from Dieter Maurer -- The basic security mechanism uses the attribute "m__roles__" in order to protect "m". If this attribute it "None", then "m" is public. Otherwise, it is expected to be a sequence of roles that are allowed to use "m". But, "ExtensionsClass" brings with it computed attributes. This allows "m__roles__" to be not a sequence but a method returning a sequence. When you protect "m" with a permission "p", then "m__roles__" is set to "PermissionRole(p)". This instance dynamically evaluates into a sequence of roles by crawling up the "aq_container" (which is correctly "aq_parent" after "aq_inner") chain and translating "p" into roles by interpreting the "permission-to-role" mapping it finds on its way to the application object. Therefore, "declarePublic" works for non-wrapped instances while "declareProtected" requires the wrapping.
% Anonymous User - May 3, 2002 4:47 am:
From Julian Munoz -- I don't find any reference to security and object properties.
% d.maurer - Aug. 22, 2002 4:04 am:
I would like to learn details about __guarded_getattr__,
__guarded_setattr__ and friends.
What is their semantics?
Are they expected to do their own security checks (I
expect a "yes" to this question)?
Is it usually safe to implement "__guarded_getattr__"
by:
result= getattr(self,key)
if not getSecurityManager().validate(accessed=self,
name=key,
value= result)
raise 'Unauthorized', attr
return result
From nobody@nowhere.com Thu Aug 22 09:23:05 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 22 Aug 2002 04:23:05 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-79
---------------
To shutdown Zope, click the *Shutdown* button. Shutting down Zope will
cause the server to stop handling requests and completely exit from
memory. You will have to manually start Zope to continue using it. Only
shutdown Zope if you are finished using it, and have the ability to
access the server on which Zope is running, so that you can manually
restart it later.
% Anonymous User - May 30, 2002 5:44 pm:
I have installed Zope 2.5 on a WinNT4 and Win2000. On both machines I get the tracebacks further down below.
Today I downloaded Zope 2.5.1 and installed it on my Laptop with Win2000. The same error appears again. Is it
only me having this problem? Is this the usual message, when the server shuts down?
On one hand it says: An error was encountered
and on the other hand: Zope has exited normally.
What is true now? If it is a "normal" behaviour - a remark would be fine.
An error was encountered while publishing this resource.
exceptions.SystemExit
Zope has exited normally.
Traceback (innermost last):
File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\Publish.py, line 150, in publish_module
File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\Publish.py, line 114, in publish
File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\Publish.py, line 98, in publish
File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\mapply.py, line 88, in mapply
(Object: manage_shutdown)
File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\Publish.py, line 39, in call_object
(Object: manage_shutdown)
File C:\PROGRA~1\ZOPEWE~1\lib\python\App\ApplicationManager.py, line 342, in manage_shutdown
(Object: Control_Panel)
SystemExit: 0
Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML source for this page.
If the error persists please contact the site maintainer. Thank you for your patience.
% Anonymous User - May 30, 2002 7:29 pm:
This is normal. Zope exits by raising an exception. This is propagated to the browser. Nothing to be scared
of. ;-)
% Anonymous User - May 31, 2002 2:36 am:
But this behaviour should be pointed out in the text... tracebacks make you feel uncomfortable. Please add a
sentence or a paragraph on this - it made me so insecure that I installed Zope on three different system.
% Anonymous User - Aug. 22, 2002 4:23 am:
I second this
From nobody@nowhere.com Thu Aug 22 09:29:26 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 22 Aug 2002 04:29:26 -0400
Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Security
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Security.stx#2-53
---------------
Zope security is based upon roles and permissions. Users have
roles. Security policies map permissions to roles. Classes
protect methods with permissions. As a developer you main job is
to protect your classes by associating methods with
permissions. Of course there are many other details such as
protecting modules and functions, creating security user
interfaces, and initializing security settings.
% Anonymous User - Jan. 4, 2002 4:14 pm - This from Dieter Maurer -- The basic security mechanism uses the attribute "m__roles__" in order to protect "m". If this attribute it "None", then "m" is public. Otherwise, it is expected to be a sequence of roles that are allowed to use "m". But, "ExtensionsClass" brings with it computed attributes. This allows "m__roles__" to be not a sequence but a method returning a sequence. When you protect "m" with a permission "p", then "m__roles__" is set to "PermissionRole(p)". This instance dynamically evaluates into a sequence of roles by crawling up the "aq_container" (which is correctly "aq_parent" after "aq_inner") chain and translating "p" into roles by interpreting the "permission-to-role" mapping it finds on its way to the application object. Therefore, "declarePublic" works for non-wrapped instances while "declareProtected" requires the wrapping.
% Anonymous User - May 3, 2002 4:47 am:
From Julian Munoz -- I don't find any reference to security and object properties.
% d.maurer - Aug. 22, 2002 4:04 am:
I would like to learn details about __guarded_getattr__,
__guarded_setattr__ and friends.
What is their semantics?
Are they expected to do their own security checks (I
expect a "yes" to this question)?
Is it usually safe to implement "__guarded_getattr__"
by:
result= getattr(self,key)
if not getSecurityManager().validate(accessed=self,
name=key,
value= result)
raise 'Unauthorized', attr
return result
% d.maurer - Aug. 22, 2002 4:29 am:
I would like to learn about the details of
"validate", at least for the ZopeSecurityPolicy.
What precisely are "accessed" and "container".
"ZopeSecurityPolicy.validate" contains several
mysterious instances of
if accessedbase is containerbase:
raise Unauthorized
What is the purpose for this. I cannot understand
the accompanying comment.
Why does it not "return 0" but raises "Unauthorizred"?
What about a succint semantics for
"ZopeSecurityPolicy.validate". It should describe
when the function returns "1", "0" and raises an
exception.
From nobody@nowhere.com Thu Aug 22 09:55:04 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 22 Aug 2002 04:55:04 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Relational Database Connectivity
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatabases.stx#2-2
---------------
Database Connections are used to establish and manage connections
to external relational databases. Database Connections must be
established before database methods can be defined. Moreover,
every Z SQL Method must be associated with a database connection.
Database adapters (or DAs for short) are available for a number of
databases:
Oracle -- Oracle is a powerful and popular commercial relational
database. This DA is written and commercially supported by Zope
Corporation. Oracle can be purchased or evaluated from the "Oracle
Website":http://www.oracle.com/.
Sybase -- Sybase is another popular commercial relational database.
The Sybase DA is written and commercially supported by Zope
Corporation. Sybase can be purchased or evaluated from the "Sybase
Website":http://www.sybase.com/.
ODBC -- ODBC is a cross-platform, industry standard database protocol
supported by many commercial and open source databases. The ODBC DA
is written and commercially supported by Zope Corporation.
PostgreSQL -- PostgreSQL is a leading open source relational
database. There are several database adapters for PostgreSQL
including "ZPoPy":http://sourceforge.net/projects/zpopyda/ which
is maintained by Zope community member Thierry Michel. You can
find more information about PostgreSQL at the "PostgreSQL web
site":http://www.postgresql.org/.
MySQL -- MySQL is a fast open source relational database. You
can find more information about MySQL at the "MySQL web
site":http://www.mysql.com/.
The MySQL DA is maintained by Zope community member Monty Taylor.
Interbase -- Interbase is an open source relational database
from Borland/Inprise. You can find more information about
Interbase at the "Borland web
site":http://www.borland.com/interbase/. You may also be
interested in
"FireBird":http://sourceforge.net/projects/firebird which is a
community maintained offshoot of Interbase. The Zope Interbase
adapter is maintained by Zope community member Bob
Tierney.
Gadfly -- Gadfly is a relational database written in Python by
Aaron Waters. Gadfly is included with Zope for demonstration
purposes and small data sets. Gadfly is fast, but is not
intended for large amounts of information since it reads the
entire database into memory. You can find out more about Gadfly
at the "Chordate website":http://www.chordate.com/gadfly.html.
% Anonymous User - May 30, 2002 4:03 pm:
Whoa! "Database Adaptors" come out of left field, with no description of what they are and how they fit into
the scheme of "Database Connectors" and "Z SQL Methods", both of which have been described and related to
each other.
% Anonymous User - June 26, 2002 2:33 pm:
I have figured this out; you only need a Connection object for the specific database, for example zope
includes Z Gadfly Connection, you can install the MySql Connection and you will use the same Z Sql Methods as
always, the connector will do the job of translating the zope languaje to the database interface... is this
right?
% Anonymous User - June 26, 2002 4:33 pm:
This is right. Although you aren't *limited* to one, you can have several different database connections for
each kind of database. For example, you can have two MySQL connections in the same Zope, each of which point
to a different MySQL database.
% Anonymous User - Aug. 22, 2002 4:55 am:
I was wondering whether each user is handled in a different session. So if 2 users connect to a site (not
cached) that uses batching. Will each user be handled separately or could there be a conflict?
The same applies to the connection: Is each user using the same connection? Does Zope handle the sharing of
this single connection?
The same applies to the ZSQL as well of course.
-Mac-
From nobody@nowhere.com Thu Aug 22 10:10:52 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 22 Aug 2002 05:10:52 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-37
---------------
The *getitem* function takes the name to look up as its first
argument. Now, the DTML Method will correctly display the sum of the
first three integers. The *getitem* method takes an optional second
argument which specifies whether or not to render the variable. Recall
that rendering a DTML variable means turning it into a string. By
default the *getitem* function does not render a variable.
% Anonymous User - Aug. 22, 2002 5:10 am:
It's not the sum but rather the square of the first three integers.
From nobody@nowhere.com Thu Aug 22 12:04:18 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 22 Aug 2002 07:04:18 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-40
---------------
However, suppose you had a form in which a user got to select
which document they wanted to see from a list of choices. Suppose
the form had an input named *selectedDoc* which contained the name
of the document. You could then display the rendered document like
so::
% Anonymous User - Aug. 22, 2002 7:04 am:
Does this work for subFOLDERS as well?
From nobody@nowhere.com Thu Aug 22 15:43:09 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 22 Aug 2002 10:43:09 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-43
---------------
"Product with a ZClass":img:12-4:Figures/12-4.png
% Anonymous User - Aug. 22, 2002 10:43 am:
The screen-shot is misleading. Before you asked the reader to rename the ZooExhibit folder to ZooTemplate in
order to work with a new / empty ZooExhibit folder. But this screen shows a mixture of the old and new
"project". You should take a different screen-shot.
-Mac-
From nobody@nowhere.com Thu Aug 22 15:47:43 2002
From: nobody@nowhere.com (nobody@nowhere.com)
Date: Thu, 22 Aug 2002 10:47:43 -0400
Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting
Message-ID:
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#3-48
---------------
Here's an example form that uses action converters::
% Anonymous User - Apr. 11, 2002 5:03 pm:
What about changing the target as well as the action for different submit buttons? For example, one submit
goes to a frame, a different submit goes to a new window.
% Anonymous User - May 6, 2002 10:17 am:
Note also this
% Anonymous User - Aug. 22, 2002 10:47 am:
Ok, I understand how :action can be used. But how about default_action ? From what I tried, the