[Zope] How can i improve performance of website under heavy load in Zope2.6.1

2006-07-31 Thread Sudesh Soni
Hi,   I am using Zope 2.6.1   I wonder why Zope is default set for handling 4 threads and 7 database connections.   I tried inreasing threads to 20 and database connections to 30 by updating z2.py and DB.py, presuming that this will help to improve performance under heavy load.   Can anyone s

Re: [Zope] How can i improve performance of website under heavy load in Zope2.6.1

2006-07-31 Thread Marco Bizzarri
1) improve the number of object in the cache: the default is 400 which is incredibly low for a normal site; put it to 5000 and check; 2) (if possible) upgrade to a newer release of Zope, namely 2.8, which removes many possible conflict, and therefore improves response time; 3) install a Zope/ZEO

[Zope] Finding and Mass-renaming objects

2006-07-31 Thread Sinang, Danny
Hello,   We need to find some objects in Zope and rename them to their lower-case equivalents.   Is there a way to do this either via the ZMI or programmatically ?   Regards, Danny     ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailma

[Zope] Combining TAL and JavaScript

2006-07-31 Thread Mikko Koivunen
Hello all, Is it possible to process TAL with JavaScript? I have a custom Plone content type which is used for external links. The link tags get presented from a page template like this: tal:attributes="href here/remote_url" Is it possible to process this remote_url somehow with a JavaScript re

Re: [Zope] Finding and Mass-renaming objects

2006-07-31 Thread Andreas Jung
--On 31. Juli 2006 19:12:02 +0800 "Sinang, Danny" <[EMAIL PROTECTED]> wrote: Hello, We need to find some objects in Zope and rename them to their lower-case equivalents. Look at the ZopeFind() and/or ZopeFindAndApply() methods as defined in OFS.FindSupport. -aj -- ZOPYX Ltd. & Co. K

Re: [Zope] Combining TAL and JavaScript

2006-07-31 Thread Andreas Jung
--On 31. Juli 2006 14:19:26 +0300 Mikko Koivunen <[EMAIL PROTECTED]> wrote: Hello all, Is it possible to process TAL with JavaScript? TAL=Server-side, JS=Client-side...how should be both related? You can of course generate JS code on the server-side. -aj pgpaZxY8nn4ZM.pgp Description: P

Re: [Zope] Combining TAL and JavaScript

2006-07-31 Thread Mikko Koivunen
Hi, On 7/31/06, Andreas Jung <[EMAIL PROTECTED]> wrote: > Is it possible to process TAL with JavaScript? TAL=Server-side, JS=Client-side...how should be both related? You can of course generate JS code on the server-side. Yes, and I was wondering if I could put JS code on the view template whi

Re: [Zope] Combining TAL and JavaScript

2006-07-31 Thread Andreas Jung
--On 31. Juli 2006 14:32:59 +0300 Mikko Koivunen <[EMAIL PROTECTED]> wrote: Hi, On 7/31/06, Andreas Jung <[EMAIL PROTECTED]> wrote: > Is it possible to process TAL with JavaScript? TAL=Server-side, JS=Client-side...how should be both related? You can of course generate JS code on the serve

Re: [Zope] Combining TAL and JavaScript

2006-07-31 Thread Mikko Koivunen
On 7/31/06, Andreas Jung <[EMAIL PROTECTED]> wrote: > Yes, and I was wondering if I could put JS code on the view template > which would do rewriting on link URLs that come from TAL statements. No, but you can generate the related dynamic parts e.g. as JS variables through TALES and reference th

Re: [Zope] acl_users in MySQL

2006-07-31 Thread Remy Pinsonnault
Hello Chris,   We have been using the SimpleUserFolder product for two years now to authenticate users on an Oracle database, it was working great.   We are currently migrating to Plone 2.5 and we have are experiencing some difficulties.   How can I use SimpleUserFolder with Plone 2.5 and PlonePAS?

[Zope] ANN (Screencast): Step by step installation of a Zope and Plone site at WebFaction

2006-07-31 Thread Remi Delon
Hello everyone, WebFaction have just released a screencast demo showing a step by step installation of a Zope and Plone site and product on their servers. The 10 minute screencast shows how to: - Create a Zope application using the control panel and mount it on some domains - Access the ZMI

Re: [Zope] FTP and Firewall

2006-07-31 Thread robert rottermann
Dan Gaibel wrote: > Hi, > > I'm using Zope 2.8.6 with Python 2.3.5 and have found that when I FTP > into zope, I am unable to list the contents of the directory I am in. It > seems that logging in is no problem. Could this be a problem with my > firewall? Has anyone seen this before? We are using

RE: [Zope] Finding and Mass-renaming objects

2006-07-31 Thread Sinang, Danny
> Look at the ZopeFind() and/or ZopeFindAndApply() methods as defined in OFS.FindSupport. I've tried ZopeFind() and it can indeed find the objects I'm looking for. Am now trying to use ZopeFindAndApply() to find and rename the objects found using "manage_renameObject()". However, since manage

RE: [Zope] Finding and Mass-renaming objects

2006-07-31 Thread Andreas Jung
--On 1. August 2006 10:02:58 +0800 "Sinang, Danny" <[EMAIL PROTECTED]> wrote: However, since manage_renameObject() renames subobjects, I think I need to determine the parent-object or container of the found objects. obj.aq_parent (as documented in the Zope Developers Guide on zope.org). -