[Zope] Message not deliverable
Administrator@inrange.com
Administrator@inrange.com
Sat, 22 May 1999 15:39:08 -0400
--IMA.Boundary.6971047290
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Content-Description: cc:Mail note part
Send Zope maillist submissions to
zope@zope.org
To subscribe or unsubscribe via the web, visit
http://www.zope.org/mailman/listinfo/zope
or, via email, send a message with subject or body 'help' to
zope-request@zope.org
You can reach the person managing the list at
zope-admin@zope.org
(When replying, please edit your Subject line so it is more specific than
"Re: Contents of Zope digest...")
Today's Topics:
1. Re: getting <!-- --> sections to 'render' from an external
method... (Ross J. Reedstrom)
2. Re: FYI: News from the front, part 2 (Tom Schwaller)
3. RE: [Zope-dev] complex zope applications (Rob Page)
4. Re: getting <!-- --> sections to 'render' from an external
method... (Pavlos Christoforou)
5. Building a server for Zope (Jimmie Houchin)
6. manage_addDTMLMethod params? (Craig Allen)
7. Re: manage_addDTMLMethod params? (Craig Allen)
8. computing id and using it to display text from a DTML method (Craig Allen)
9. RE: computing id and using it to display text from a DTML
method (Rob Page)
10. Re: computing id and using it to display text from a DTML method (Craig
Allen)
11. RE: computing id and using it to display text from a DTML
method (Rob Page)
12. Re: computing id and using it to display text from a DTML method (Howard
Clinton Shaw III)
13. Re: computing id and using it to display text from a DTML method (Craig
Allen)
14. ZODB and large data sets (Jimmie Houchin)
--__--__--
Message: 1
Date: Fri, 21 May 1999 14:00:01 -0500
From: "Ross J. Reedstrom" <reedstrm@rice.edu>
Organization: NSBRI
To: Zope@zope.org
Subject: Re: [Zope] getting <!-- --> sections to 'render' from an external
method...
Tony McDonald wrote:
> I see what you mean. I don't want to pass a variable to the external
> method, I want the external method to put a 'wrapper' around the
> content I send it (in this case HTML) and then pass that back to the
> Zope system which will then do any further substitutions/acquisitions
> etc. based upon any DTML that *may* be returned.
Hmm, I may be off my nut here, but I think you need to pass in the
HTML/potential-DTML, do your stuff to it, then render it by calling its
__call__ method. Or the other way around. Or some such. Or I could be
babbling.
Ross
--
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005
--__--__--
Message: 2
Date: Fri, 21 May 1999 21:06:27 -0100
From: Tom Schwaller <tom.schwaller@linux-magazin.de>
Organization: Linux Magazin
To: zope@zope.org
Subject: Re: [Zope] FYI: News from the front, part 2
Martijn Pieters wrote:
>
> At 13:53 21/05/99 , Robert O'Connor wrote:
> >Is there a picture of the magazine cover on the net?
> >
> >-Bob OConnor bob@rocnet.com
> >"May the source be with you."
> >(Later today the whole family gets to see THE movie.)
>
> Yes, http://www.linux-magazin.de/ runs Zope =) No other Web Application
> platform has URLs with 'index_html' in them.
jep, I did the last tests today morning at 5 am
and just let it happen :-)
still loking for a place for the Zope-Logo on our site..
######################################################
If I get a 468 x 60 Pixels Zope-banner I will place it
in the news as long that place is free there..
######################################################
The funniest part in the design is that the colors
of the site are properties of the main folder
and get other values in subfolders. I will do
a frame-based look and feel by aquisition next week
which people can choose if they want.
The left navigation bar unfortunately slows down
the download of long articles.
> A direct link to the Zope cover image:
> http://www.linux-magazin.de/pics/title_1999_06.jpg
cool, is'nt it :-)
B.T.W. We seem to be a first class candidate for the
Zope Portal toolkit :-)
--
Tom
Linux Magazin
http://www.linux-magazin.de/
--__--__--
Message: 3
From: Rob Page <rob.page@digicool.com>
To: "'Scott Lewis'" <csl@balticave.com>
Cc: "'zope@zope.org'" <zope@zope.org>
Subject: [Zope] RE: [Zope-dev] complex zope applications
Date: Fri, 21 May 1999 15:22:20 -0400
> hi folks,
Hi Scott!
> i originally planned to use ASP, but couldn't find any tools i was
> happy with. already a little behind, i gambled and decided to use
> zope. not knowing any python, i went the DTML/SQL method
> route. this part of the application is working well.
I'm a little biased but if the application is complicated for Zope it
would have been, um, MUCH more complicated with ASP.</$0.02>
> here's the problem. the full (larger) scope of the project is now
> becoming clear. to model all the data will probably require 18-20
> tables. working with the data will require 3 or 4 separate
> applications.
Aaahh, isn't that fun. Of course, before anyone told you the full scope
of the project you'd committed (and they'd written down) cost and
timeline objectives, right?! Incremental software requirements
discovery is about as certain as the speed of light, no? :^)
> any ideas on how to develop this in zope in a manageble way? the
> first application is composed of a LOT objects: DTML input forms,
> DTML form handlers, SQL methods, etc. i'm afraid if i keep going
> this route things will spiral out of control.
>
> what seems like a better structure is 3 tier: python business
> objects talk to (encapsulate) the database. zope controls the
> business objects. the main reason i switched to zope is that it
> seems like zope is set up for this.
>
> before i jump into this, is there anyone who has done something
> similar? can you offer any advice or moral support? sorry for the
> broad questions, but i guess i'm looking for feedback at a higher
> level. over the next few months i'll have 1000s of more specific
> questions :)
Yes.. we've done some pretty complicated apps. We've also taken a fancy
to modelling the apps with UML. The whole notion of Actors in a system
provides a very nice functional decomposition and DRASTICALLY simplifies
security.
I'd suggest a main application folder with at least one subfolder for
Actors. In the Actors folder create a subfolder for each Actor.
\TrainingRegistry
\UserFolder (for security on the app)
\Actors
\Trainer
\TrainingManager
\TrainingEventManager
\TrainingLocationManager
\AppAdministrator
Odds are you'll have some SQLMethods like:
o sqlSelectTrainers
o sqlSelectTrainingEvents
o sqlSelectTrainingLocations
which will probably be used ALL over the app. Put those on the Actors
folder -- that way you can use them (often overloaded with Acquired
variables) in all of the Actor folders without duplicating them (ooh,
baad). Another pattern that's been useful is (as shown above) to put
the lookup table care-and-feeding functions in a separate folder
(AppAdministrator). This person adds, edits, and deletes new Locations,
Counties, etc.. Of course your analysis may show that a Trainer might
also need to add a Location -- in that case put the forms in Actors and
acquire them. IMNHO, the BEST way to model this is with a UML Use Case
diagram (it connects Actors with Use Cases). The need to
use/reuse/acquire methods jumps right out at you.
Note that ZClasses will likely cause us to evolve this approach.
HTH,
Rob
--__--__--
Message: 4
Date: Fri, 21 May 1999 15:53:00 -0400 (EDT)
From: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu>
To: "Ross J. Reedstrom" <reedstrm@rice.edu>
cc: Zope@zope.org
Subject: Re: [Zope] getting <!-- --> sections to 'render' from an external
method...
On Fri, 21 May 1999, Ross J. Reedstrom wrote:
> Tony McDonald wrote:
>
> > I see what you mean. I don't want to pass a variable to the external
> > method, I want the external method to put a 'wrapper' around the
> > content I send it (in this case HTML) and then pass that back to the
> > Zope system which will then do any further substitutions/acquisitions
> > etc. based upon any DTML that *may* be returned.
>
Your external method should return a DTML method and not plain text. If
you do decide to return plain text then the calling DTML should create a
temporary DTML Method to process the output.
for example (untested)
add a DTML method with id 'temporary' in your folder and add
in your external method:
self.temporary.manage_edit(out,'')
where out is the relevant DTML content
then in your calling DTML just render the temporary DTML method like:
<!--# var temporary-->
Hope it works!
Pavlos
--__--__--
Message: 5
Date: Fri, 21 May 1999 22:40:25 -0500
To: zope@zope.org
From: Jimmie Houchin <jhouchin@texoma.net>
Subject: [Zope] Building a server for Zope
Hello,
I am in the process of researching my options for building a server to host
my Zope website.
The server will be running RedHat Linux 6.x and either ZAP or ZServer if
it's ready. I know that Linux is SMP capable.
If I am running Zope and ZServer, will Zope 2.x benefit from a
multiprocessor system?
I am working on a tight budget so for an example here are a few options.
single PII 400 or 450 or K6-3 450
or
dual PII 300 or 333
or
dual PPro 200 (talking to a friend who might have one available)
Jimmie Houchin
--__--__--
Message: 6
Date: Sat, 22 May 1999 00:05:37 -0400
From: Craig Allen <cba@mediaone.net>
Organization: Mutual Alchemy
To: "zope@zope.org" <zope@zope.org>
Subject: [Zope] manage_addDTMLMethod params?
I want to create a DTML using an id that I assign and text from a form. What
would be the syntax? The manage_addDTMLMethod method says it wants a file as
the contents, as in:
manage_addDTMLMethod(self, id, [title, file, REQUEST, submit])
but I want to give it a request variable, as in REQUEST['doc_text']
How can I do this?
- Craig
--
Craig Allen - Managing Partner - Mutual Alchemy
Information Architecture - http://alchemy.nu
--__--__--
Message: 7
Date: Sat, 22 May 1999 00:14:30 -0400
From: Craig Allen <cba@mediaone.net>
Organization: Mutual Alchemy
To: "zope@zope.org" <zope@zope.org>
Subject: Re: [Zope] manage_addDTMLMethod params?
> I want to create a DTML using an id that I assign and text from a form. What
> would be the syntax? The manage_addDTMLMethod method says it wants a file as
> the contents, as in:
> manage_addDTMLMethod(self, id, [title, file, REQUEST, submit])
> but I want to give it a request variable, as in REQUEST['doc_text']
> How can I do this?
Nevermind! I tried one last shot, and it worked. Apparently 'file' doesn't
necessarily mean file...
<!--#with
"manage_addDTMLMethod(_.str(unique_id1),REQUEST['document_name'],REQUEST['doc_te
xt'],)"-->
<!--#/with-->
--
Craig Allen - Managing Partner - Mutual Alchemy
Information Architecture - http://alchemy.nu
--__--__--
Message: 8
Date: Sat, 22 May 1999 00:33:06 -0400
From: Craig Allen <cba@mediaone.net>
Organization: Mutual Alchemy
To: "zope@zope.org" <zope@zope.org>
Subject: [Zope] computing id and using it to display text from a DTML method
This one has me baffled. I'm creating a "matched set", one DTML document and
one DTML method, based on values from a form. Let's say the id of the doc is
D22 and the id of the method is M23. How can I symbolically represent the id of
the method in the body of the document?
I'm not sure this is clear. The result should be that Zope render the document
*as if* it said:
<!--#var M23 fmt="structured-text"-->
Alternatively, how could I create the text within the doc to actually *say*
'M23'?
Anyone understand what I'm asking?
- Craig
--
Craig Allen - Managing Partner - Mutual Alchemy
Information Architecture - http://alchemy.nu
--__--__--
Message: 9
From: Rob Page <rob.page@digicool.com>
To: "'Craig Allen'" <cba@mediaone.net>
Cc: "'zope@zope.org'" <zope@zope.org>
Subject: RE: [Zope] computing id and using it to display text from a DTML
method
Date: Sat, 22 May 1999 06:35:56 -0400
> Alternatively, how could I create the text within the doc to
> actually *say*
> 'M23'?
You could call manage_edit on D23 and update it with a string of
<!--#var M23-->
--Rob
--__--__--
Message: 10
Date: Sat, 22 May 1999 08:43:15 -0400
From: Craig Allen <cba@mediaone.net>
Organization: Mutual Alchemy
To: Rob Page <rob.page@digicool.com>, "zope@zope.org" <zope@zope.org>
Subject: Re: [Zope] computing id and using it to display text from a DTML method
> > Alternatively, how could I create the text within the doc to
> > actually *say*
> > 'M23'?
>
> You could call manage_edit on D23 and update it with a string of
> <!--#var M23-->
But that string is buried in the middle of many lines of HTML/DTML. As near as
I know DTML does not support string replacement directly.
I had thought of building the contents as a "sandwich", pulling everything
before the 'M23' from one method, then the string 'M23', then the remainder from
another method. But I can't save a method that looks like broken DTML, i.e.
that ends with '<!--#var '.
--
Craig Allen - Managing Partner - Mutual Alchemy
Information Architecture - http://alchemy.nu
--__--__--
Message: 11
From: Rob Page <rob.page@digicool.com>
To: "'Craig Allen'" <cba@mediaone.net>
Cc: "'zope@zope.org'" <zope@zope.org>
Subject: RE: [Zope] computing id and using it to display text from a DTML
method
Date: Sat, 22 May 1999 08:59:45 -0400
> I had thought of building the contents as a "sandwich",
> pulling everything
> before the 'M23' from one method, then the string 'M23', then
> the remainder from
> another method. But I can't save a method that looks like
> broken DTML, i.e.
> that ends with '<!--#var '.
Aaahh, yes.
I should have thought of this earlier... I use this recently learned
trick on an internal system at the office:
<!--#in sqlSelectJobOffer-->
<!--#var expr="_.getattr(PositionDescriptions, pd_doc_name)(_.None,
_)"-->
<!--#/in sqlSelectJobOffer-->
where PositionDescriptions is a folder in my acquisition hierarchy and
pd_doc_name is a column returned in the SQLMethod sqlSelectJobOffer
which contains the id of the document I want to insert. Of course, you
could hijack the pd_doc_name earlier in the DTML Method and/or stuff it
into the REQUEST.
--Rob
--__--__--
Message: 12
From: Howard Clinton Shaw III <shawh@sths.org>
Organization: St. Thomas High School
To: Craig Allen <cba@mediaone.net>, "zope@zope.org" <zope@zope.org>
Subject: Re: [Zope] computing id and using it to display text from a DTML method
Date: Sat, 22 May 1999 08:04:32 -0500
On Fri, 21 May 1999, Craig Allen wrote:
> This one has me baffled. I'm creating a "matched set", one DTML document and
> one DTML method, based on values from a form. Let's say the id of the doc is
> D22 and the id of the method is M23. How can I symbolically represent the id
of
> the method in the body of the document?
>
> I'm not sure this is clear. The result should be that Zope render the
document
> *as if* it said:
> <!--#var M23 fmt="structured-text"-->
> Alternatively, how could I create the text within the doc to actually *say*
> 'M23'?
>
> Anyone understand what I'm asking?
> - Craig
<!--#var _[somevarwhichjusthappenstoequalM23] fmt="structured-text"-->
Untested, YMMV
It may need to be
<!--#var "_[somevarwhichjusthappenstoequalM23]" fmt="structured-text"-->
and of course, it could be more complex
<!--#var _[thisvar + thatvar + 'sometext'] fmt="structured-text"-->
Hope this helps... and hope I understood what you are asking!
> --
> Craig Allen - Managing Partner - Mutual Alchemy
> Information Architecture - http://alchemy.nu
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
--
Howard Clinton Shaw III - Grum
St. Thomas High School
#include "disclaimer.h"
--__--__--
Message: 13
Date: Sat, 22 May 1999 10:37:32 -0400
From: Craig Allen <cba@mediaone.net>
Organization: Mutual Alchemy
CC: "zope@zope.org" <zope@zope.org>
Subject: Re: [Zope] computing id and using it to display text from a DTML method
The "_[somevar]" (with the quotes) indirection was just what I was looking for.
I had a little trouble initially because somevar had been set to be an int, but
it needs to be a string.
Thanks!
> It may need to be
> <!--#var "_[somevarwhichjusthappenstoequalM23]" fmt="structured-text"-->
>
> and of course, it could be more complex
> <!--#var _[thisvar + thatvar + 'sometext'] fmt="structured-text"-->
--
Craig Allen - Managing Partner - Mutual Alchemy
Information Architecture - http://alchemy.nu
--__--__--
Message: 14
Date: Sat, 22 May 1999 11:21:53 -0500
To: zope@zope.org
From: Jimmie Houchin <jhouchin@texoma.net>
Subject: [Zope] ZODB and large data sets
I am working through the design of my website as I study and learn Zope.
I've started to work on calculating storage requirements to determine
server needs as I am also working on building my server.
My app can easily be divided into multiple datasets or databases. One of
the datasets I am looking at has a potential of 4+ million objects with
each object requiring 15-50kb minimum. This dataset can be subdivided.
Initially I will not populate the database will all of the items in their
full form, but will populate as requests for data come. However I need to
develop as if and plan for complete population.
This makes for a very large database and one that spans more than one hard
drive.
Can Zope create and use multiple ZODBs on multiple hard drives?
If so, how will such a large dataset affect packing and the creation of the
backup file?
Will I need to use multiple other database backends such as MySQL or
possibly MetaKit?
Thanks for any help or thoughts.
Jimmie Houchin
--__--__--
_______________________________________________
Zope maillist - Zope@zope.org
--__--__----
End of Zope Digest
--IMA.Boundary.6971047290
Content-Type: text/plain; charset="US-ASCII"; name="RFC822 message headers"
Content-Transfer-Encoding: 7bit
Content-Description: cc:Mail note part
Content-Disposition: inline; filename="RFC822 message headers"
Received: from xtranet-qe1.gensig.com ([206.231.19.17]) by SMTP2.GENSIG.com with
SMTP
(IMA Internet Exchange 3.12) id 0013B6C5; Sat, 22 May 1999 15:04:01 -0400
Received: from www.zope.org ([209.67.167.110]) by xtranet-qe1.gensig.com
via smtpd (for smtp2.gensig.com [206.231.19.18]) with SMTP; 22 May
1999 19:04:42 UT
Received: from www2 (localhost [127.0.0.1])
by zope.codeit.com (8.9.2/8.8.7) with ESMTP id MAA20373;
Sat, 22 May 1999 12:00:03 -0700 (PDT)
Date: Sat, 22 May 1999 12:00:03 -0700 (PDT)
Message-Id: <199905221900.MAA20373@zope.codeit.com>
From: zope-admin@zope.org
Subject: Zope digest, Vol 1 #247 - 18 msgs
Reply-to: zope@zope.org
X-mailer: Mailman v1.0b8
Mime-version: 1.0
Content-type: text/plain
To: zope@zope.org
Sender: zope-admin@zope.org
Errors-To: zope-admin@zope.org
X-Mailman-Version: 1.0b8
Precedence: bulk
List-Id: Users of the Z Object Publishing Environment <zope.zope.org>
X-BeenThere: zope@zope.org
--IMA.Boundary.6971047290--