[Zope] Anyone built a classifieds or review product?

2000-07-20 Thread J. Atwood

On my list of products that I would like to build / help build

ZCLassifieds:

A product that allows users to post classifieds for sale with categories,
pictures, start and end dates, email contacts, etc. Could be anonymous or
require a log in that plays upon the strengths of Zope.

ZReview:

A generic review product that allows people to post reviews of "things" and
have other people comment on the review. A lot of what is in Zope Treasures
but maybe with pictures etc.

Has anyone starting building these, need these, or would be interested in
helping build these?

J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] cookies

2000-07-20 Thread J. Atwood

http://www.zope.org/Members/BwanaZulia/cookies/index_html

That should help.

J

 From: "Vincent Maton" [EMAIL PROTECTED]
 Date: Tue, 4 Jul 2000 15:45:55 +0200
 To: "Zope" [EMAIL PROTECTED]
 Subject: [Zope] cookies
 
 Hello !!!
 can you tell me how can I use the "cookies"
 
 Thank you very much
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZDiscussions and Zope 2.2

2000-07-20 Thread J. Atwood

Good.. that means that it was an inherited problem. :)

J

 From: Gidon Friedman [EMAIL PROTECTED]
 Date: Thu, 20 Jul 2000 15:08:25 +0200
 To: "J. Atwood" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Zope] ZDiscussions and Zope 2.2
 
 I used the old ZDiscussions 0.2, but i installed the
 new ZDiscussions 0.3.2 now, and the results are
 _exactly_ the same.
 
 cheers
 
 gidon
 
 Are you using the old ZDiscussions or ZUBB?
 
 I have not had the time to fix ZUBB to work with 2.2 but will try this
 weekend.
 
 J
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Products and 2.2 Final

2000-07-18 Thread J. Atwood

Mine ZUBB - Zope Ultimate Bulletin Board

But that is not important here.

It would be nice if someone could compile a list of products that are 2.2
compatible.


JMA

 From: Rogerio Atem de Carvalho [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Tue, 18 Jul 2000 16:11:35 -0400
 To: [EMAIL PROTECTED]
 Subject: [Zope] Products and 2.2 Final
 
 Just a simple question:
 
 I am using 2.1.6 with LocalFS, CachePool, SQL Input
 Wizard, MetaPublisher and others... I am thinking now
 in upgrading to 2.2 final.
 Is there any product that is not compatible with 2.2
 final?
 
 regards,
 
 Rogerio Atem
 ---
 E-mail enviado pelo servidor do CEFETCampos
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] New How-To on Cookies (need feedack)

2000-07-18 Thread J. Atwood

I started a little how-to on cookies. Take a look and send your feedback.


http://www.zope.org/Members/BwanaZulia/cookies/index_html


J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Writing a Zope Help System

2000-07-17 Thread J. Atwood

Has anyone posted a help on writing Zope help into your product for 2.2?

J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Stability - can you give us some advice?

2000-07-07 Thread J. Atwood

I have about 8 Zope websites of varying sizes and complexities. Early 
on when I was developing in Zope I had it hang a few times but since 
then (and I have done a lot of stuff for the last six months) I have 
really never had it hang. Two of the sites use PostgreSQL (6.5.3 and 
7.0) and four of them are served off of one instance and an old 
Pentium 166.

It has been my experience that Zope itself (non-betas which you 
should never be using in a production environment) is very stable and 
only hang due to OS issues or really bad DTML coding (loops). If the 
problems continue I would suggest trying a different OS environment 
(I am a very very happy RH Linux person).

J

At 1:50 AM -0300 7/7/2000, [EMAIL PROTECTED] wrote:
Hi,
I'm new to this list (to Zope too!)and I'm really impressed with its traffic.
This show us that this project is in active development.
In our company we are currently working to create a Web site with lots
of dynamic content, database access, webmail, etc..  so we decided 
to try Zope.
Although it's lack of documentation ( this would not be fair, with a search
engine we can dig out lots of useful info from the web) we experienced a
very fast development cycle. Now we're concerned about its stability. We
are almost finishing the first stage of project and some times Zope
hangs. It was  working ok, and then, all of a sudden, it just stops answers
requests. Last time it happend we changed a DTML Method to a DTML Document
and it worked again (if you like i'll try to tell you exactly what 
was happenning).
So, I'd like some advice to make it more stable. ( or tell me what i might
be doing wrong)

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Is Zope slow?

2000-07-07 Thread J. Atwood

I have a lot of time and exposure to Tomcat so it made it easy for me 
to run those tests (BTW, now in production, on the same machine Zope 
is about 3 times faster!) but none really with  PHP or Mason. In the 
end of the day, though, as most of the people have been saying on 
this list, you really shouldn't be focusing on comparing the raw 
speed of two totally different applications with different feature 
sets. I would challenge you to find something as powerful /useful / 
extendable as Zope written in any language and if you did, we could 
run those benchmarks.

What I *would* suggest focusing on is can Zope provide you with the 
right amount of features and functionality and can you scale it? So, 
and god willing, your site that you build in Zope goes from 
0-1,000,000 hits a day, can you handle it? The answer is yes (a mix 
of Pentium, 256 MB Ram and fast drives with Linux will do that). What 
about if you double that or go to 10,000,000 a day? Well, that is 
where ZEO and load balancing will come in. I can personally tell you 
that you could set up four Pentium 300 MHz Zope installations running 
a ZEO instance behind a load balance (not nearly are complicated as 
it seems) and you would be able to handle most of your Yahoo dreams.

So, keep researching, asking the right questions and looking for 
those answers but don't get caught up in the benchmarking game too 
long, it is only one very small piece to the equation.

Good luck.

J

At 10:19 PM -0400 7/6/2000, Firestar wrote:
Thanks for your info. The benchmarks look impressive! However, what would be
interesting is how Zope performs compared to Apache+PHP or mod_perl/mason
and other open-source solutions...
If you happen (and have the time) to compare them, do tell me:)

regards,
firestar

--Original Message--
From: "J. Atwood" [EMAIL PROTECTED]
To: Firestar [EMAIL PROTECTED]
Sent: July 6, 2000 2:55:02 PM GMT
Subject: Re: [Zope] Is Zope slow?


No. Not when compared to other applications that do the same *type* of thing
(which there are very very few).

Check out an interesting set of benchmarks I ran against Zope and Tomcat
connecting to a PostgreSQL database.

http://www.zope.org/Members/BwanaZulia/benchmarks.html

J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Is Zope slow?

2000-07-07 Thread J. Atwood

 Well, i don't think my site will ever get that much hits:) Anyway, i check
 out Digicool website on this ZEO thing, and it seems that they charge abt
 $25,000 for this product alone(+consulting)? Not to belittle their effort,
 but that's a huge amount of money, considering that everything nowadays is
 "open-source":). Or did i interpret it wrongly? TIA.

ZEO is open source now. It used to be (a few months ago) that $25,000 but
now is completely open source (search for ZEO on Zope.org). It is in
Alpha/Beta and will be out soon. It probably one of the biggest things that
gets the littlest attention. It will bring Zope to a whole new level of
scaling the only 1,000,000 solutions offer now.

J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Is Zope slow?

2000-07-06 Thread J. Atwood

No. Not when compared to other applications that do the same *type* of thing
(which there are very very few).

Check out an interesting set of benchmarks I ran against Zope and Tomcat
connecting to a PostgreSQL database.

http://www.zope.org/Members/BwanaZulia/benchmarks.html

J



 From: Firestar [EMAIL PROTECTED]
 Date: Wed, 5 Jul 2000 22:13:32 -0400 (EDT)
 To: [EMAIL PROTECTED]
 Subject: [Zope] Is Zope slow?
 
 Hi,
 
 I'm considering using Zope as the development tool for my next web project.
 However, I read from a recent benchmark test (from Qube, i think) that
 Zope(running thru Zserver?) is much SLOWER than Apache and AOLserver.  Is that
 true? To all Zope users and 'guru's, what is yr experience using Zope?
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Confera problem

2000-07-03 Thread J. Atwood

Confera is pretty old I would try ZDiscussions, ZUBB or Squishdot.

J

At 12:30 PM +1000 7/3/2000, Terry Kerr wrote:
Hi,

I just downloaded Confera-1.2.0-nonbin.tgz, installed it, and created a
Confera topic instance.   I posted a mesage to the topic, and then
posted a reply to this messge.  This is what i get:

Traceback (innermost last):
   File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line
214, in publish_module
   File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line
179, in publish
   File /home/tejay/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202,
in zpublisher_exception_hook
   File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line
165, in publish
   File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
 (Object: addMessage)
   File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line
102, in call_object
 (Object: addMessage)
   File lib/python/Products/Confera/Confera.py, line 565, in addMessage
   File /var/tmp/python-root/usr/lib/python1.5/regsub.py, line 38, in
gsub
AttributeError: (see above)

Has any one had this problem?  I don't really have time to go hunting
for the problem at the moment.

I am running a Zope 2.1.6 from src on RH linux 6.2.

terry


--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax: +613 9563 3856
Mobile:  +61 414 938 124




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Available Object List (Was Re: [Zope] GOOD)

2000-06-30 Thread J. Atwood

 they should put their "Available Object" white box, you know what I mean
 ? -ABOVE- the files. See, when you have 900 files in one directory,
 
 Aye!  I second that.

I know it is bad behavior to just say "me too" and send it to the list..
but...

ME TOO!

This is one of those things that would seem like it would take DC about 10
minutes to do and would greatly improve our (Zope Programmers) lives.

What say DC? 2.2b4?

J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Passing Parameter without ?

2000-06-29 Thread J. Atwood

http://www.zope.org/Members/mcdonc/HowTos/direct_traversal

That might get you started.. it applies to most of what Zope can do.

J

 From: saif [EMAIL PROTECTED]
 Date: Thu, 29 Jun 2000 15:33:00 +0530
 To: [EMAIL PROTECTED]
 Subject: [Zope] Passing Parameter without ?
 
 Hi,
 
 How do u pass parameter from one html page to another without using ? and
 REQUEST.
 i.e I wnat to pass the parameter as /.
 eg:- www.localhost.com/para1/para2
 
 Thanzs for the help
 Saif...
 http://systemprg.hypermart.net
 
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Getting anonymous permissions

2000-06-28 Thread J. Atwood

This should be easy, but has me a little confused.

to get a an AUTHENTICATED_USER permission I use...

dtml-if "AUTHENTICATED_USER.has_permission('Permission Name', '')"

Do something

/dtml-if

But how do I test to see if ANONYMOUS has a permission?

Thanks,
J

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Getting anonymous permissions

2000-06-28 Thread J. Atwood

so

dtml-if "AUTHENTICATED_USER.has_permission('View', '')"
Do something
/dtml-if

Should work, but does not.

J



 From: Oleg Broytmann [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Wed, 28 Jun 2000 14:36:36 + (GMT)
 To: "J. Atwood" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Zope] Getting anonymous permissions
 
 On Wed, 28 Jun 2000, J. Atwood wrote:
 But how do I test to see if ANONYMOUS has a permission?
 
 Anonymous is AUTHENTICATED_USER, too :)
 
 Oleg.(All opinions are mine and not of my employer)
  
 Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
 Programmers don't die, they just GOSUB without RETURN.
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Writing to LocalFS

2000-06-22 Thread J. Atwood

(thanks to Jonathon and Dieter... for the permissions problem. That 
did the trick)

Again, after some searching, I am looking for the syntax to write  a 
file / append to a file in a Local File System.

This is certainly where my Python days seem to slow my down b/c I 
would have just:

contents = open('/path/file.txt', "r")

to read and

contents = open('/path/file.txt', "a")

to append.

I am sure that I am missing some bit of Zope Zen here...

Please point me in the right direction...

J

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZDiscussions Problem

2000-06-21 Thread J. Atwood
Title: Re: [Zope] ZDiscussions
Problem


Hey Pete,

Your choices are really Confera (very old), ZDiscussions (semi
old and not supported), ZUBB (pretty new, but may not do what you
want), Squishdot (sounds more what you want) and waiting for the PTK
(may or may not have you want). I can only really talk about ZUBB,
though.

ZUBB is used as a object with all the messages in the object. I
have not heard of anyone successfully calling the index_html object
from outside of the folder (nor have I tried). The topic runs in its
own space and can be included as a part site by linking to it. (You
can probably do some counts of messages or other things from outside
the object though). If you are looking to have a discussion follow
every article/person/page Squishdot is your better bet.

J


At 10:54 AM +1200 6/21/2000, Pete Black wrote:
First up,
i'd like to whine a bit.

WHINE-MODE ON
Which product should i use to add a Discussion component to my
site?

Confera?
ZDConfera? ZDiscussions? ZUBB? Squishdot? PTK? Was the Zope 'Portal'
deliberately designed to obfuscate the choices available and their
respective pros/cons, as well as to make it practically impossible to
find useful documentation, or has it just happened this
way?

I'm just
about ready to give up on Zope and go back to hacking Perl, because,
even though i have to write 10 times as much difficult-to-read code
to get a job done, at least i know that the job is doable, doable in
a way that suits me, and that if there is a module to do what i want
to do, it will be findable and documented on CPAN.

WHINE-MODE OFF

I don't
like to whine, and i think Zope promises to be a great product, and i
am persevering with it because i think it will (once i get
implemetation out of the way) make me a great intranet. Many thanks
to the developers, you have, on the whole, done a wonderful
job.

Anyway, my
problem is this:

I have a
ZDiscussion set up in a folder (off the root folder) called
TMLDiscussion.

I want to
put the contents of the discussion in the index_html method of my
root folder.

So, i put
the following in my root index_html method:

dtml-with TMLDiscussion

/dtml-with

(normally
there would be code beteen those two tags to output a dtml-tree of
messages in the TMLDiscussion object)

Even with
nothing between the dtml-with tags, i get this
error:

Error Type:
NameError
Error Value: r

Whats going
on? And how do i display the discussion on my index
page?

Thanks for
any Help

-Pete




Re: [Zope] Newspaper site

2000-06-21 Thread J. Atwood

Powered By Sites:
http://www.zope.org/Members/BwanaZulia/zope.html

and the best really..

http://weblogs.userland.com/zopeNewbies/zopesites/

You should find a good combination of content/newspaper sites there. 
Also take a look at the KM news product.

http://www.zope.org/Members/taz/kmnn

Good luck,

JMA

At 12:13 PM +0200 6/21/2000, Wesley Anderson wrote:
Hi all,

I'm just wondering if there are any newspaper/magazine sites out there that
are using ZOPE for content management and subscriber management. I wouldn't
think it would be suitable, but what do you think of using Squishdot for
this purpose? Also, is there a list of "powered by" sites on zope.org?

I'm doing a site that has both public and private content - hence the need
for subscriber-based access.


Thanks much


Wesley


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Local File System (LocalFS) install problems

2000-06-21 Thread J. Atwood

(I have searched the newsgroups and zope.org)

I downloaded and installed LocalFS (untar in zope dir) restarted Zope (2.1.6
on Linux running as Nobody). The Local File System is an available object
but when I try to add it to any folder I get..

Error Type: IOError Error Value: [Errno 13] Permission denied:
'/usr/local/zope/lib/python/Products/LocalFS/methodAdd.dtml'


And:
Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /usr/local/zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 165, in
publish
  File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: methodAdd)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 102, in
call_object
(Object: methodAdd)
  File /usr/local/zope/lib/python/App/special_dtml.py, line 120, in __call__
(Object: methodAdd)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 443,
in __call__
(Object: methodAdd)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 381,
in cook
(Object: methodAdd)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 374,
in read
(Object: methodAdd)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 538,
in read_raw
(Object: methodAdd)
IOError: (see above)


I tried changing some of the permissions but to no avail.

J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Validating page entry help

2000-06-21 Thread J. Atwood

I find the best way is to do dtml-if itemdtml-var itemdtml-else*
needed/dtml-if on the fields of the form and have dtml-try trying to do
something with all the values (email, write, update database). If they are
not all there it brings you back the the form (I always build it in one
method which makes it easier).

Examples:
http://market.gotschool.com/register.html?type=school - in production so
leave out your email

http://fundraising.gotschool.com/tell_a_friend.html


J



 From: Stuart Foster [EMAIL PROTECTED]
 Date: Wed, 21 Jun 2000 10:39:48 -0700
 To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
 Subject: [Zope] Validating page entry help
 
 I was wondering what the best way to validate a users input on a page.
 
 Currently I submit a page to an interim page that checks for certain values
 using dtml-if's and dtml-unless'.
 If everything is fine I go on to the next page. If something is missing I
 need to go back, I haven't figured out how to do this part.
 If I use META HTTP-EQUIV="refresh" content=5;URL=dtml-var
 "REQUEST['HTTP_REFERER']" all the input is lost from the form.
 
 So my questions are:
 
 1. What is the best way to do page validation before it is submited.
 2. If the way I am doing it seems to be an ok way, how do I go BACK with out
 losing everything (equivalent of pressing the back button)
 
 Stuart Foster
 MediServe Information Systems
 
 http://www.mediserve.com
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Does Zope support user authentication, sessions, etc?

2000-06-14 Thread J. Atwood

From the specifications given, my first thought is to implement it in
object-oriented way of programming. Zope (being open-source and OOP
from ground-up) naturally came to mind. Therefore, i would like to know
whether Zope is suitable (and stable enough) to develop this kind of
websites, bearing in mind other criteria such as scalability, performance,
and the "learning curve" involved.

Yes. Yes and steep. (scalability = ZEO, performance is good, learning 
curve a bit steep)

I have done programming in PHP before, and AFAIK to implement features such
as user-authentication, sessions and permissions in PHP, we can either write
our own libraries, or use PHPLIB. However, looking at PHPLIB, it seems to
be quite buggy, and require a lot of work re-writing for some of its
functions.
Therefore, I would also like to know whether there's any
authentication/session
management modules(or classes) already written for Zope, and if they exist,
is
it easy to implement them(as in as easy as plug-and play, or a lot of coding
required)?

Zope has its own authentication/session management built in. You will 
see this when you set up your first Zope and go to manage something. 
There are a few products out there that let you create better 
login/user management as well as some that you can connect to SQL 
databases or LDAP. A new product in the works it the PTK (Portal Tool 
Kit) that will have a lot of this built into it.

My suggestion: Start poking around Zope.org, read up on the stuff 
there and download and install Zope. That will give you a better idea 
of what you are dealing with.

J

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Help with Zope/Python Evangelism

2000-06-14 Thread J. Atwood

http://www.zope.org/Members/BwanaZulia/zope.html

My collection of articles and sites also study the case studies on
Zope.org as well as Zope Newbies.

J

 From: Joseph Santaniello [EMAIL PROTECTED]
 Date: Wed, 14 Jun 2000 12:17:13 -0700 (PDT)
 To: [EMAIL PROTECTED]
 Subject: [Zope] Help with Zope/Python Evangelism
 
 Hello Everyone,
 
 I've been using Zope and Python in my own projects for over a year now,
 and I am convinced well beyond a shodow of a doubt that "Zope Is The
 Answer" and have used it for several of our internal applications, and use
 Python almost exclusivly for our scripting needs.
 
 Here's the problem:
 
 Our main outside vendor (whom all managment besides me are very happy
 with) has a new agenda for forward development: "Industry Standards" such
 as Delphi (for backend!) and other things I deem silly. So I need as much
 information as anyone is willing to share on Zope/Python implementations
 in as large/corporate a setting as possible.
 
 Thanks,
 
 Joe
 
 PS: I've seen all the listings on the Python and Zope websites, but I need
 more!
 
 --
 
 Joseph Santaniello
 Chief Technology Officer
 
 Westlake Financial Services
 4751 Wilshire Blvd. Suite 100
 Los Angeles, CA 90010
 
 (323) 692 4129
 
 http://www.westlakefinancial.com
 
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Costs of implementation

2000-06-13 Thread J. Atwood

At 8:32 AM +0200 6/13/2000, D Swart wrote:
I am trying to motivate the use of Zope / Zcommerce, and to do this need
some timing ideas - Does anyone have thoughts on how long (man hours per
expertise) it took them to go from no Zope to (Zope + Steve Spickelmire and
Co's EMarket) and to a successful transaction?

 From 0 to Zope in under 6.2 seconds! :)

If you are totally new (no Zope in your blood) here is what I would 
expect. This does take into account that you know "something" about 
programming and variables and really good HTML as well as some server 
stuff (how to set up, IP addresses, shell scripts). I have put what 
it would take a Zopista in parenthesis (not me though, I only play 
one on the web).

1 day (1 hour) - Install Zope
1 day (done) - Download, print, read all guides and "howtos"
5 Days (2 days) - To get a basic site up and running. Log in, look 
and feel, tested, management, feel the power of Zope
1 day (2 hours) - Set up database backend and connect
5 days (2 days) - Build catalog system, Z SQL Methods, etc
2 days (2 days) - testing, testing, testing

This is very rough but should be around the amount of time. This does 
mean full "developing days" which are about 10-14 hours. I don't know 
about transactions so you might want to pad it a bit. I will say 
though, that once you get into developing with Zope you realize just 
how fast you can develop new products with it. It is an amazing 
working environment.

J

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Selling Enhydra? Could they do this to Zope?

2000-06-13 Thread J. Atwood

https://www.releasesoftware.com/_lutrisstore/cgi-bin/pd.cgi?sources=source=
lutris09

I just came across this when surfing on /.  They are basically selling a
"boxed" version of Enhydra (a Open Source Java Web Application Development
Environment) and support.

I guess this fits into the Red Hat / Linux model but would it work for Zope?
Good? Bad? 

BTW: 2.0b1 is great. WebDav works well (although not sure what it gives
beyond FTP and the management interface). I have not done any benchmarks
but... might.

J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Costs of implementation

2000-06-13 Thread J. Atwood

Well, if you added it all up I was talking about 96 hours of development (8
days x 12 hours) which is a lot to bring up a site in Zope. I agree it does
depend on the person but I have had graphics people once given a 10 minute
intro to Zope not only start playing around with DTML but doing quick
if/then statements. OO helps, and Python can help but some of things are not
exactly the same as Python and TOO much Python can hurt.

I wise man once said..

"There are only three timelines for programmers:

1) Something that can be done in 20 minutes
2) Something that can be done in a  day
3) Something that can be done in a year"

J


 From: Dan Rusch [EMAIL PROTECTED]
 Date: Tue, 13 Jun 2000 10:36:16 -0500
 To: "J. Atwood" [EMAIL PROTECTED]
 Cc: D Swart [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: [Zope] Costs of implementation
 
 I think that the timeline J provided is unrealistically optimistic. The amount
 of time it will take someone to go from 0 to Zope varies wildly. We have had
 developers come in and in a matter of a few days they are very productive.
 Others take much longer. Several things affect this. Someone to show you the
 ropes being primary. Previous knowledge, especially in OOP and in python or
 pythonish language, is also crucial.
 
 So how long depends on you. If you don't have someone who knows Zope and
 python
 expect to struggle up the near vertical learning curve of Zope. After helping
 to train several people on Zope I would recommend not reading any Zope
 documentation until after you understand python. In other words, learn the
 basics of python first. Know what a list, dictionary and tuple are and their
 syntax and operations and many of the mysteries of Zope will be cleared up
 (i.e. when do you need tics instead of quotes etc.). After garnishing a
 working
 knowledge (you don't need to be a Zen master of python) of python ,then read
 the Zope documentation and start working in Zope.
 
 Just my experience working with newbies.
 
 Dan
 
 "J. Atwood" wrote:
 
 At 8:32 AM +0200 6/13/2000, D Swart wrote:
 I am trying to motivate the use of Zope / Zcommerce, and to do this need
 some timing ideas - Does anyone have thoughts on how long (man hours per
 expertise) it took them to go from no Zope to (Zope + Steve Spickelmire and
 Co's EMarket) and to a successful transaction?
 
 From 0 to Zope in under 6.2 seconds! :)
 
 If you are totally new (no Zope in your blood) here is what I would
 expect. This does take into account that you know "something" about
 programming and variables and really good HTML as well as some server
 stuff (how to set up, IP addresses, shell scripts). I have put what
 it would take a Zopista in parenthesis (not me though, I only play
 one on the web).
 
 1 day (1 hour) - Install Zope
 1 day (done) - Download, print, read all guides and "howtos"
 5 Days (2 days) - To get a basic site up and running. Log in, look
 and feel, tested, management, feel the power of Zope
 1 day (2 hours) - Set up database backend and connect
 5 days (2 days) - Build catalog system, Z SQL Methods, etc
 2 days (2 days) - testing, testing, testing
 
 This is very rough but should be around the amount of time. This does
 mean full "developing days" which are about 10-14 hours. I don't know
 about transactions so you might want to pad it a bit. I will say
 though, that once you get into developing with Zope you realize just
 how fast you can develop new products with it. It is an amazing
 working environment.
 
 J
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] What is favicon.ico and why is it an error?

2000-06-09 Thread J. Atwood

At 9:43 AM +0100 6/9/2000, Toby Dickenson wrote:
The user wont see error; just the default icon in the favorites menu.

You are correct. They don't see the error but it still produces a Zope error.

  Add this to the many reasons that I hate MIE!

do you have a robots.txt, or are webcrawlers evil too? ;-)

This, on the other hand, does not product a Zope error, just is 
logged as a 404. It is also useful in keeping search engines away 
from certain areas of your site. The favicon.ico trick really has no 
use, no functionality, no deeming qualities. M$ also did it in a 
bitmap as opposed to a jpg/gif which makes it much bigger than it 
should be. It also tells the server that a user has bookmarked your 
site, which to some users might seem like yet another breach of 
privacy.

J




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ANN: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)

2000-06-08 Thread J. Atwood

http://www.zope.org/Members/BwanaZulia/ZUBB/

A few bugs fixed. A few more features added. Almost ready for prime time.

Take a look and email me with your comments. If you are using it and would
like to be linked to as an "example" site please send me the url.

The idea is to make sure the release works and then submit it for cataloging
on Zope.org.

Thanks,
J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ANN: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)

2000-06-08 Thread J. Atwood

At 11:31 AM +1300 6/9/2000, Graham Chiu wrote:
How about default sorting the message threads so that the thread with
the most recent reply is at the top?

This would be possible but I think it would be confusing to the user 
(posts would jump to the top). See below...

And instead of just having the number of messages in a thread in
brackets at the end of the thread header, also include the last date, or
the number of new messages since the visitor last was at the ZUBB (
since you're using a persistent cookie )?

I would love to add the ability to include the "last viewed" cookie 
feature. I will add it to the future feature list.

The big thing on my plate though, is how to limit the amount of 
threads shown. Once you get beyond 100 or so I am worried about 
performance and download size. If anyone has any knowledge about 
limiting tree views that would be great.

Thanks,
J




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] What is favicon.ico and why is it an error?

2000-06-07 Thread J. Atwood

I have a few Zope sites email me any error reports and both of the sites
(different machines) get this error about two or three times a day.

Traceback:

Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 151, in
publish
  File 
/usr/local/zope/lib/python/Products/SiteAccess/ChangeBehaviors.py,line 124,
in traverse
  File /usr/local/zope/lib/python/OFS/Application.py, line 249, in
__bobo_traverse__
(Object: ApplicationDefaultPermissions)
  File /usr/local/zope/lib/python/ZPublisher/HTTPResponse.py, line 511, in
notFoundError

As it looks for this "favicon.ico"

Anyone seen this? It is happening on two different instatallations (2.1.4,
2.1.6) on RH Linux 6.1

Thanks,
J




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] www.mysite.com/Members/someone

2000-06-06 Thread J. Atwood

Ian,

Make "Members"  a DTML Method and inside that method you call a ZSQL 
Method (made previously) that takes the parameter of 'userid=name'. 
Store the name of the member in the cookie and when the visit 
/members/ or /members/name it gets all the data from the SQL Database 
and publishes it any way you want.

Build any other functionality in the "Members" DTML Method to allow 
for /members/name/preferences or any other parameter you want to pass 
it. Just pick it up in an DTML-IF statement and do the rest.

Good luck.

J



The thought I had was that "Members" could be a SQL method which takes
"username" as a parameter, Ian then is passed in as that Username and the
necessary data is pulled from the DB. This is fine except that I still need
some other method to render the HTML page for delivery to the user and this
would extend my url to : www.mysite.com/Members/Ian/rendermethod.

The other problem with this is that it clutters the root with the Members
SQLMethod and the rendermethod DTML document. I might start adding more
URL's like : www.mysite.com/Members/Ian/preferences or
www.mysite.com/Members/Ian/pastposts and the "preferences" and "pastposts"
documents would end up in the root too. All these things belong in a Members
folder, not at the root.

I'm missing something important, I'd appreciate any enlightenment you could
bring to this.

- Ian.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] !--#var title-- = Zope ?!

2000-06-06 Thread J. Atwood

"Zope" is the name of the main folder so when you do dtml-var title 
you are getting that folder's title.

dtml-var title_or_id will give you the title or id of the object 
that it is within (DTML Document title or id). That is probably what 
you want.

J


At 1:53 PM +0200 6/6/2000, Jonathan wrote:
Hi all,

Don't know if this has been discussed before, but I am experiencing 
a weird problem with 'title' and 'title_or_id'; no matter what I 
specify as 'title' value, Zope returns 'Zope' (every page is titled 
'Zope')

Vanilla binary install of Zope 2.1.6, just started a new project. Any ideas?

Thnx
Jonathan

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] tree state cookie

2000-06-05 Thread J. Atwood

I don't think you can disable the tree storing a cookie. I must say though,
it is going to get harder and hard to find sites that don't use cookies. It
is doable, but not pretty. Cookies are good for you (if you eat them
sparingly) :)

J


 Howdy!
 
 I just recently got complaints from people visiting my web site. They
 have activated the "website wants to set cookie" alarm and they got
 lots of alarms when visiting my website. Since I never use any
 cookies it wasn't hard to find the cause: I wasn't aware that trees
 use cookies to store their state. Is there an option to disable this?
 (Cuz I don't want no cookies;)
 
 --Ragnar



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZDiscussions and Zope 2.2

2000-05-30 Thread J. Atwood

What version are you using?

J

 From: "Cary O'Brien" [EMAIL PROTECTED]
 Date: Tue, 30 May 2000 10:31:44 -0400 (EDT)
 To: [EMAIL PROTECTED]
 Subject: [Zope] ZDiscussions and Zope 2.2
 
 
 I can't seem to add a ZDiscussions topic any more.  I keep getting
 authorization failures.  Managers are allowed to all zdiscussion
 topics on the security page, though.
 
 Is this related to the problem with ZSQL queries and the new
 permissions scheme with 2.2?
 
 -- cary
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread J. Atwood

Ok.. this is really dumb, but for some reason I can't get this to work.

dtml-if "id=='index_html'"

do something cool

/dtml-if

What am I missing? I tried it on a few pages.. nothing..

Thanks,
J
(duffus)

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] HELP: problems with ZServer Medusa!

2000-05-24 Thread J. Atwood

Check the permissions on the var directory.

J

 From: Seb Bacon [EMAIL PROTECTED]
 Date: Wed, 24 May 2000 19:04:00 +0100
 To: [EMAIL PROTECTED]
 Subject: RE: [Zope] HELP: problems with ZServer Medusa!
 
 does /usr/Zope-2.2.0a1-src/var/z2.pid exist?  if not, touch z2.pid and try
 again.
 
 seb.
 
 Hi All,
 I have installed Zope on a Linux server (Slackware 7.0) apparently
 without problems; but, when I start the server with the command:
 ./start, I have in continuous this message error:
 --
 INFO(0) ZServer Monitor Server (V.1.6) started on port 8099
 Raceback (innermost last):
 File "/usr/Zope-2.2.0a1-src/z2.py", line 698, in ?
 pf=open(PID_FILE, 'w')
 IOError: [Errno 13] Permission denied
 '/usr/Zope-2.2.0a1-src/var/z2.pid'
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope concepts

2000-05-23 Thread J. Atwood
Title: Re: [Zope] Zope concepts


I intend
to build an intranet with zope...though it's not as simple as
that...I'd like 90% of the site to be password protected (giving
access to members of my company)...do I use acl_users for
this?

Yes or any of the other models (UserDB, etc)

I'd also
like parts of the site to be accessible (and maybe manageable albeit
minimally) by clientsDo I have to create a second user/access
model for this or can I use the acl_users to do this for me
too.

Yup. Create a role for them and limit that role.

I'm
having problems
 a. Making the acl_user stuff
work...I can either login as admin or not all.
 and b.
Getting to grips with the concept of the user/privs/access model in
acl_users

Create a user, give them a role and they will inherit all of the
access levels of that role. Create a new role and give that role
different access levels and you can manage it better through the
role.

It is not that much different than most user/group/role access
scenarios, in that once you get started using it and understand the
basic concepts it will all fit.

Remember that users inherit permissions from parent objects
which you can turn off if that model does not suit you.

J



Re: [Zope] installing products.

2000-05-23 Thread J. Atwood

in fact I never used a zope product from the zope site.
I downloaded the SiteAccess product. what do I have to do to use it???

I was about to just send you the installation instructions when I saw 
that they are pretty meager. Actually, very. (shame shame)

1) Go to your root Zope directory
2) Unpack (tar, zip) the file
3) Restart Zope

To use it consult http://yyy.zope.org/Members/4am/SiteAccess/info

The basics are you create a DTML Method in your Zope root directory 
and tell it about each of the folders and what domain name they are 
hosting and then in each folder you add a site access instance (from 
the drop down menu) with nothing in it.

J

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope Advocacy FAQ redux

2000-05-23 Thread J. Atwood

Shane,

The Advocacy FAQ is much need here is some help..

Benchmarks: http://www.zope.org/Members/BwanaZulia/benchmarks.html
Pro Zope Links: http://www.zope.org/Members/BwanaZulia/zope.html
 
How the competition does it..
Tomcat User Guide: http://jakarta.apache.org/tomcat/index.html  (a really
nice start)
Enhydra Tour: http://www.enhydra.org/software/enhydra/tour/index.html

There are also some of the links at the ZDP.

Let me know if you need anything else... I am trying to get involved with
the Open Directory Project to get the Zope area cleaned up a bit and that
might help as well.

J

 From: srl [EMAIL PROTECTED]
 Date: Tue, 23 May 2000 17:48:11 -0400 (EDT)
 To: [EMAIL PROTECTED]
 Subject: [Zope] Zope Advocacy FAQ redux
 
 So, after poking around on Zope.org for awhile, I haven't found an
 Advocacy FAQ. Have I missed something? I hope not, because I started
 one. 
 
 This is a very rough draft, hacked together from memory. As such,
 it's quite likely inaccurate on some particulars, and most certainly
 incomplete. I'll be working on it more over the next few days. If
 you've got comments or additions, please email me and I'll credit
 you.
 
 To make the Advocay FAQ more complete, I'd love to hear: if you're
 using Zope in a situation where you had to get management buy-in,
 what convinced them? What objections did they have, and how did you
 counter those objections?
 
 http://www.zope.org/Members/srl/advocacy_faq
 
 PS. this is my first try at any sort of public document for an
 open-source project. I'd love to hear criticism in email or onlist.
 
 
 srl
 -
 Shane Renee Landrum
 slandrum@cs.smith.edu
 
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Q; Date / ZCatalog / Search

2000-05-22 Thread J. Atwood

I too have not been able to get this to work... anyone to help... please?

J

 From: Jørgen Skogstad [EMAIL PROTECTED]
 Date: Tue, 23 May 2000 00:25:22 +0200
 To: [EMAIL PROTECTED]
 Subject: [Zope] Q; Date / ZCatalog / Search
 
 Kindest sir, 
 
 I have a small question I hope someone could share some wisdom
 with. I am not that familiar with the various objects available
 within the Zope framework yet.
 
 .. I have made a ZCatalog which works seamlessly for text only
 searches etc. However; I need to search on a date basis on the
 generated object in the ZCatalog.
 
 For now my "date" entry/column is [string] coded.. not "date"
 as would be apropriate? How can I use date .. and then make
 a search to get the last 5 entries in a table?
 
 http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching
 
 .. shows some possible ways to do this; but I can't seem to get
 them to work properly;
 
 dtml-comment Items modified in the last 14 days
 /dtml-comment
 dtml-in "Catalog(bobobase_modification_time=_.DateTime(date)-14,
 bobobase_modification_time_usage='range:min')"
 New item:
 dtml-var "Catalog.getpath(data_record_id_)"br
 /dtml-in
 
 .. does anyone have any information on how they have used this
 and gotten it to work? .. and might have an example or two? ;)
 
 What exactly does the various elements in the above example do?
 .. like "Catalog(bobobase_modification_time=_.DateTime(date)-14,
 bobobase_modification_time_usage='range:min')" ??
 
 .. mm .. any input? ;)
 
 Thanks in advance..
 
 Kindest,
 Jørgen Skogstad
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Representing rows from a ZSQL method

2000-05-19 Thread J. Atwood

Good and bad news.. There is no real "product" to do this.. but it is not at
all hard to do with Zope tools..

 For example:
 -Displaying an order on the web with the order header (consisting of the
 client name, address, ZIP, etc.) and the order lines with the products to
 purchase.

This is a combination of a ZSQL Method (to database of you choice) and
displayed using a DTML-IN tags. No biggy.


 -Displaying a list of invoices between two dates with several columns
 (Invoice date, amount, VAT, invoice number, etc.).

Same thing. Create another ZSQL Method that calls the list and display it
using DTML-IN to iterate over the list. Display the data you want with the
DTML or limit it in the SQL statement.

 -Displaying a price list of our products with several columns (reference,
 description, price, weight, etc.) and grouping the products by different
 criteria. For example inserting a row with the brandname of the next group
 of products or inserting a row of the product type.

Same deal.. same ease..

Take a look at http://fundraising.gotschool.com which is 100% pure Zope with
a PostgreSQL backend that serves up almost everything (90% of what you see).
I have about 25 ZSQL Methods doing the work for the entire site with lots of
database interactivity (reading, writing, updating).

Start with the ZSQL Guide some How-Tos, the ZDP and when you get stuck send
a message to the group here.

Enjoy,
J


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




<    1   2