RE: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-20 Thread Peter Sabaini
you tried to alias the column names? > > e.g.: SELECT tab1.col1 AS COL1_A, tab2.col1 AS COL1_B > FROM etc... Aliasing works for me. (ZOracleDA). -- _ peter sabaini, mailto: [EMAIL PROTECTED] --

Re: [Zope-dev] calling DTML method from python script in Zope

2003-11-24 Thread Peter Sabaini
Hm, I would hope that the Zope book answers this kind of questions, see: http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx search for "Calling DTML from Scripts" This should solve your problem -- please leave a comment if it doesn't. Thanks, peter. [EMAIL PROTECTED] wrot

Re: [Zope-dev] Newbie Question

2003-12-08 Thread Peter Sabaini
Aaron Paxson wrote: I hope I'm posting to the right mailing list. There were so many to decide from. This should've probably been directed to the main Zope list; zope-dev is for development *of* Zope. I've just been introduced to Zope, and am curious on how it will fit into my company's plans. I

Re: [Zope-dev] Zope Start Script Woes

2004-01-21 Thread Peter Sabaini
I'm no big shell scripter, some suggestions anyway... * I think you might be missing an INSTANCE_HOME parameter here, something like # what we'd like but won't recognize instance home # exec /usr/bin/python $ZOPE_BASE/z2.py -z $ZOPE_BASE -u $USER \ # -w $HTTP_PORT -f $FTP_PORT -t

Re: [Zope-dev] How to make Zope fail nicely under high load?

2004-02-11 Thread Peter Sabaini
This very much depends on your application and requirements (and your definition of "nicely" :-)), but I'd argue that it rarely make sense to handle this at the TCP Connection level (just to think about browsers opening multiple connections, HTTP/1.0 or /1.1 compliant browsers, proxies etc.) A

Re: [Zope-dev] Re: How to make Zope fail nicely under high load?

2004-02-12 Thread Peter Sabaini
Tres Seaver wrote: Bjorn Stabell wrote: If you run Apache as a caching reverse proxy (caching surrogate server) then images will be served from Apache. Only the dynamic HTML pages are served from Zope, so having them fail without regards to sessions is relatively okay. Images and other static co

Re: [Zope-dev] Re: How to make Zope fail nicely under high load?

2004-02-12 Thread Peter Sabaini
Bjorn Stabell wrote: Hi Peter, I think I did find some sort of knob for this For Apache 2.0, mod_cache, dir. CacheIgnoreCacheControl could be used for this http://httpd.apache.org/docs-2.0/mod/mod_cache.html For Apache 1.3 mod_proxy, dir. CacheMaxExpire could do http://httpd.apache.org/docs/m

Re: [Zope-dev] Question about _v_ attributes and database connections

2004-03-05 Thread Peter Sabaini
Marco Bizzarri wrote: Hi all. We're trying to tackle a problem in hanging connections in ZPsycopg. However, I would like to have some information about the functioning of the _v_ attributes, and the cache management. In particular: 1) where is the code which handles the _v_ attributes (I like to l

Re: [Zope-dev] Re: [patch] More secure cookie crumbler?

2004-04-20 Thread Peter Sabaini
Shane Hathaway wrote: On Tue, 20 Apr 2004, Chris Withers wrote: I wonder how many Plone users are aware their passwords are stored unencrypted in client cookies which fly back and forth waiting to be snapped up by packet sniffers, XSS, and JS attacks ;-) Even with unbreakable encryption of cred

Re: [Zope-dev] Re: [patch] More secure cookie crumbler?

2004-04-20 Thread Peter Sabaini
Chris Withers wrote: Shane Hathaway wrote: Hmm. I really wasn't expecting any new code yet. Session cookies are a very significant maintenance burden in Zope, and it's not in my interest to support them. If you don't mind, I think I'll release a version of CC without any session support, then I

Re: [Zope-dev] Re: [patch] More secure cookie crumbler?

2004-04-20 Thread Peter Sabaini
Shane Hathaway wrote: On Tue, 20 Apr 2004, Peter Sabaini wrote: Shane Hathaway wrote: Even with unbreakable encryption of credentials after login, you still send the username and password in the clear at login time, and sniffers can reuse the session ID with ease. You really shouldn't tel

Re: [Zope-dev] The bleak Future of Zope?!

2004-04-21 Thread Peter Sabaini
is there an URL for the original? Martin Kretschmar wrote: Hello, Maik Jablonski of the german speaking Zope Users Group DZUG issued a pretty bleak outlook for the future of Zope. What are your oppinions? Here comes the translation of his oppoion: smime.p7s Description: S/MIME Cryptographic Sig

Zope Book, was Re: [Zope-dev] The bleak Future of Zope?

2004-04-21 Thread Peter Sabaini
Stephan Richter wrote: On Wednesday 21 April 2004 03:58, Martin Kretschmar wrote: -- snip -- 2. Maik is is frustrated with the releases of both Zope 2 and Zope 3, including their merging. -- snip -- The situation is even more obvious with the Zope book. All the community has to do is to give

Re: Zope Book, was Re: [Zope-dev] The bleak Future of Zope?

2004-04-21 Thread Peter Sabaini
Chris McDonough wrote: On Wed, 2004-04-21 at 10:18, Peter Sabaini wrote: That being said, I wonder if there are people interested to make an effort for a 2.7 Edition of the Zope book? I am. I think Paul is too. It won't be nearly as much work as 2.5 -> 2.6. Let's just do it

Re: Call for Zope Book volunteers (was Re: Zope Book, was Re: [Zope-dev] The bleak Future of Zope?)

2004-04-21 Thread Peter Sabaini
Chris McDonough wrote: I've set up a development BackTalk sandbox for the 2.7 edition of the Zope book at http://zope.org/Documentation/Books/ZopeBook/2_7Edition. Currently it's just an exact copy of the 2.6 Edition book (comments and all). I think the plan should be for people to: 1. take owner

Re: Zope Book, was Re: [Zope-dev] The bleak Future of Zope?

2004-04-21 Thread Peter Sabaini
Paul Winkler wrote: On Wed, Apr 21, 2004 at 08:10:26PM +0200, Peter Sabaini wrote: * Reference: IMHO one of the trickier things, especially for the API Ref. because one would first have to decide what constitutes the API and what is simply Zope core... The long-term solution, I think, is to

Re: [Zope-dev] Using propertysheets?

2002-06-06 Thread peter sabaini
Lennart Regebro wrote: > I'm making a Zope product (in python) where I want the users to have control > over what properties that exist. At the same time I don't want the users to > have to deal with having all properties in one big mess under the standard > Property-tab. > > So, my question is

Re: [Zope-dev] Re: Zope on Python 2.5?

2007-11-01 Thread Peter Sabaini
On Thursday 01 November 2007 06:18:18 Andreas Jung wrote: > --On 31. Oktober 2007 22:00:46 -0700 Alexander Limi <[EMAIL PROTECTED]> wrote: > > On Wed, 31 Oct 2007 21:29:36 -0700, Andreas Jung <[EMAIL PROTECTED]> wrote: > >> The recommendation is still "System python is evil, evil, evil" (quoting >