Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Chris Withers

 When using batching in dtml-in, why is 'previous-sequence' only defined at
 the first iteration of the current batch? And why is 'next-sequence' only
 defined at the last iteration of the current batch?

I know this problem ;-)

I had it too, and stuck something in the collector about it. I did manage to
get the layout you're after without modifying Zope though (see the search
page on www.nipltd.com)

If you want the code, maybe someone at NIP could fish it out, if you can
wait until next Thursday, I'll grab it myself :-)

cheers,

Chris



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



Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Ivo van der Wijk

On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote:
  When using batching in dtml-in, why is 'previous-sequence' only defined at
  the first iteration of the current batch? And why is 'next-sequence' only
  defined at the last iteration of the current batch?
 
 I know this problem ;-)
 
 I had it too, and stuck something in the collector about it. I did manage to
 get the layout you're after without modifying Zope though (see the search
 page on www.nipltd.com)
 

I've done it myself as well using (as described in the posting) two
dtml-in's (the second one purely for displaying the prev/next links).

Is your solution any different? (The only one I can think of is storing
the info in your REQUEST object and using it later, but that's really
ugly.)

Ivo

-- 
Drs. I.R. van der Wijk  -=-
Brouwersgracht 132  Amaze Internet Services V.O.F.
1013 HA Amsterdam   -=-
Tel: +31-20-4688336  Linux/Web/Zope/SQL
Fax: +31-20-4688337   Network Solutions
Web: http://www.amaze.nl/Consultancy
Email:   [EMAIL PROTECTED]   -=-

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



Re: [Zope-dev] DogFishbowl?

2001-05-31 Thread Matthew T. Kromer

trumpets blare

Ta da, I grant  you *official* permission to develop and contribute such a
product.

;)

That and $7CDN will get you lunch at McZargalds.

Yes, Wikis are are too sticky, and that's not cricket.

- Original Message -
From: Andy McKay [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 7:10 PM
Subject: [Zope-dev] DogFishbowl?


 How about combining a fishbowl and a dogbowl by using Shanes Workflow tool
 on the fishbowl? It seems a little wierd that is all a bunch of Wiki's,
 great for making comments and development but rather hard to track
changes,
 manage (I assume) and enforce guidelines.

 Wouldn't it make more sense to have a product that did this? Doesnt have
to
 be anything fancy. It would be nice if for example I could an xml-rpc call
 to Proposals to get a list of new proposals, rather than now which is read
 through it by hand.

 Time for the fishbowl to mature now its used a lot? Perhaps start a
proposal
 on the fishbowl?

 Cheers.
 --
   Andy McKay.




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



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



Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Erik Enge

On Wed, 30 May 2001, Shane Hathaway wrote:

 I have written a proposal.

So, if I understand correctly, when this is implemented, will the ZCatalog
always resolve conflicts and never raise ConflictErrors?  If there are no
ConflictErrors in the main object system?

I think I'm missing the point here.


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



[Zope-dev] ZPatterns and Transactions

2001-05-31 Thread Roché Compaan

I have a ZPatterns application that uses the ZODB as storage.  When I delete
an object only the name of the script that deleted the object is shown in
the Undo log.  Is there any way to determine the ID of the object that was
deleted?  Is there a way that one can get a handle on the object that was
deleted?

Roché


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



Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Toby Dickenson

On Thu, 31 May 2001 10:03:31 -0400 (EDT), Shane Hathaway
[EMAIL PROTECTED] wrote:

On Thu, 31 May 2001, Erik Enge wrote:

 On Wed, 30 May 2001, Shane Hathaway wrote:

  I have written a proposal.

 So, if I understand correctly, when this is implemented, will the ZCatalog
 always resolve conflicts and never raise ConflictErrors?  If there are no
 ConflictErrors in the main object system?

 I think I'm missing the point here.

How did you miss the point?  That's exactly the point! :-)

Right now ZCatalog randomly generates ConflictErrors even if there are no
conflicts in the data being indexed.  It's quite rare, however, and
there's machinery that retries the entire transaction up to three times
when it happens. 

If the current mechanism is reliable, and efficient (given that
conflict/retries are rare) then I dont understand the motivation

 But I want it to be more reliable, especially so that
ZCatalog can be used in ZODB applications outside Zope.

Is it because other non-Zope applications might not be so proficient
at performing retries?


Toby Dickenson
[EMAIL PROTECTED]

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



Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Shane Hathaway

On Thu, 31 May 2001, Toby Dickenson wrote:

 On Thu, 31 May 2001 10:03:31 -0400 (EDT), Shane Hathaway
 [EMAIL PROTECTED] wrote:
 Right now ZCatalog randomly generates ConflictErrors even if there are no
 conflicts in the data being indexed.  It's quite rare, however, and
 there's machinery that retries the entire transaction up to three times
 when it happens.

 If the current mechanism is reliable, and efficient (given that
 conflict/retries are rare) then I dont understand the motivation

The system becomes less reliable as server load increases.  Large catalog
updates (where every object is reindexed) also generate a lot of
conflicts.

  But I want it to be more reliable, especially so that
 ZCatalog can be used in ZODB applications outside Zope.

 Is it because other non-Zope applications might not be so proficient
 at performing retries?

Yes.  Long-running transactions are especially problematic.

Shane


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



Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Erik Enge

On Thu, 31 May 2001, Shane Hathaway wrote:

 How did you miss the point?  That's exactly the point! :-)

Oh :)
 
 Right now ZCatalog randomly generates ConflictErrors even if there are
 no conflicts in the data being indexed.

This is why I think I've missed a/the point: wouldn't it be better to
figure out why ZCatalog randomly generates these ConflictErrors instead of
making them disappear using other means?


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



Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Shane Hathaway

On Thu, 31 May 2001, Erik Enge wrote:

 On Thu, 31 May 2001, Shane Hathaway wrote:

  How did you miss the point?  That's exactly the point! :-)

 Oh :)

  Right now ZCatalog randomly generates ConflictErrors even if there are
  no conflicts in the data being indexed.

 This is why I think I've missed a/the point: wouldn't it be better to
 figure out why ZCatalog randomly generates these ConflictErrors instead of
 making them disappear using other means?

We know why they happen.  They are only *apparently* random--they actually
make perfect sense.  (Maybe I didn't make that clear.)  If you
concurrently modify objects that happen to be placed near enough each
other in one of the indexes then a conflict will occur.  We have a partial
solution in place which tries to merge the buckets that make up the index,
but this solution can't solve the whole problem.

Think about what SQL databases do.  You can add entries to a table
simultaneously from different connections.  As long as the contents of
the entries don't conflict, there will not be any kind of conflict in the
indexes either.

ZCatalog is to ZODB what indexes are to SQL databases.  I'd like ZCatalog
to have the same level of reliability.

Shane


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



Re: [Zope-dev] DogFishbowl?

2001-05-31 Thread Andy McKay

 trumpets blare

 Ta da, I grant  you *official* permission to develop and contribute such a
 product.

 ;)

 That and $7CDN will get you lunch at McZargalds.

 Yes, Wikis are are too sticky, and that's not cricket.


Nope I'm gonna hold out for $7 US, which will get me 2 pints of Guiness at
the local watering establishment :)
--
  Andy McKay.


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



Re: [Zope-dev] Zope hanging on startup

2001-05-31 Thread Andy McKay

It hangs on import ZServer during Z2.py. I've seen quite a few posts on
[EMAIL PROTECTED] about people having the same problem on Win 9x.

Cheers.
--
  Andy McKay.


- Original Message -
From: Andy [EMAIL PROTECTED]
To: Phil Harris [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, May 26, 2001 9:24 AM
Subject: Re: [Zope-dev] Zope hanging on startup


 I havent got Service Pack 2 installed (didnt know one was out yet).

 - Original Message -
 From: Phil Harris [EMAIL PROTECTED]
 To: Andy McKay [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Saturday, May 26, 2001 9:03 AM
 Subject: Re: [Zope-dev] Zope hanging on startup


  Andy,
 
  Don't know if this is relevant but, I'm pretty sure this didn't happen
  before I installed Service Pack 2 for w2k.
 
  H
 
  Phil
  - Original Message -
  From: Andy McKay [EMAIL PROTECTED]
  To: Phil Harris [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Saturday, May 26, 2001 1:11 AM
  Subject: Re: [Zope-dev] Zope hanging on startup
 
 
   Hmm its Friday afternoon syndrome. Time for a bit of debugging me
 thinks.
  
   Cheers.
   --
 Andy McKay.
  
  
   - Original Message -
   From: Phil Harris [EMAIL PROTECTED]
   To: Andy McKay [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Sent: Friday, May 25, 2001 4:58 PM
   Subject: Re: [Zope-dev] Zope hanging on startup
  
  
Weird, same thing just starting happening to me a few minutes
ago?!?!
   
Win2k
Zope 2.3.2
   
Phil
- Original Message -
From: Andy McKay [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 26, 2001 12:53 AM
Subject: [Zope-dev] Zope hanging on startup
   
   
 Anyone else getting occasional hangs from Zope on start up?
 Sometimes
  it
 starts, sometimes it seems to just hang from command line or
 service.

 Windows 2k
 Zope 2.3.0

 Cheers.
 --
   Andy McKay.




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



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



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



Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Casey Duncan

Ivo van der Wijk wrote:
 
 On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote:
   When using batching in dtml-in, why is 'previous-sequence' only defined at
   the first iteration of the current batch? And why is 'next-sequence' only
   defined at the last iteration of the current batch?
 
  I know this problem ;-)
 
  I had it too, and stuck something in the collector about it. I did manage to
  get the layout you're after without modifying Zope though (see the search
  page on www.nipltd.com)
 
 
 I've done it myself as well using (as described in the posting) two
 dtml-in's (the second one purely for displaying the prev/next links).
 
 Is your solution any different? (The only one I can think of is storing
 the info in your REQUEST object and using it later, but that's really
 ugly.)
 

AFAIK that is what the next and previous options for dtml-in are for.
Usually
I just store the sequence (if it is a query) in a variable using a let
around
three (or more) dtml-ins. Two of which use the next or previous option
to create
the batching links.

-- 
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--

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



[Zope-dev] CompressedStorage

2001-05-31 Thread Erik Enge

Hi,

has anyone given this a good run?  I'm a bit confused as to how to make it
work.  Do I just subclass it in FileStorage?  Will it work with existing
Data.fs or do I need to start anew, so to speak?

Thanks.


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



Re: [Zope-dev] CompressedStorage

2001-05-31 Thread Erik Enge

On 31 May 2001, Ty Sarna wrote:

 Zope basically uses whatever object custom_zodb.Storage is as the
 storage.

Ahh...  I can feel the zen pouring over me :)

 What you want to do is create a FileStorage, and wrap it with a
 CompressedStorage and use that. Your custom_zodb.py would look like:
 
Great!  I'll try it...

 [*] this is simplified for ease of explanation... it doesn't really work
 this way.

Ahh...  I feel the zen flowing back from wherever it came...

;-)
 
 BTW, DC people... you should feel free to include CompressedStoage in
 Zope.

I'll second that.
 
 Also, I'm sure it would be appreciated if anyone (DC or not) took the
 time to write a HowTo on custom_zodb.py (hopefully more detailed and
 accurate than above)

Much appretiated.  I've been Zoping around for, hm, two years now and this
is the first I hear about custom_zodb.py - Max M was right, it's hard to
put all of Zope into ones head all at once :)


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



[Zope-dev] Re: [Zope] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-05-31 Thread Evan Simpson

 - New restricted execution architecture

A note about this for those who have run afoul of restrictions on
builtins such as 'list', 'map', and 'range' in Scripts and DTML Python
expressions:

In the new architecture, there are (by default) no attempts to protect
the system against excessive CPU or memory utilization.  Unless you
explicitly turn on such limits (not implemented yet), anyone who has
permission to write DTML or Scripts in your Zope can accidentally or
deliberately consume all available resources with infinite loops or huge
data structures.  Realistically, they could before, they just had to be
slightly more creative.

Cheers,

Evan @ digicool


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



Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Chris Withers

 I've done it myself as well using (as described in the posting) two
 dtml-in's (the second one purely for displaying the prev/next links).

 Is your solution any different? (The only one I can think of is storing
 the info in your REQUEST object and using it later, but that's really
 ugly.)

Nope, my solution used only one dtml-in and maybe a dtml-let, no REQUEST
munging :-)

cheers,

Chris


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



RE: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Loren Stafford

Coincidently, I was just trying to edit a file on the filesystem with an FTP
client going thru Zope/FTP and a LocalFS. It didn't work. The LocalFS
instance didn't look like a directory to FTP so FTP could neither read nor
write to the directory.

Does that throw a monkey wrench into your idea?

-- Loren

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
 Of Joachim Werner
 Sent: Thursday, May 31, 2001 15:54
 To: [EMAIL PROTECTED]
 Subject: [Zope-dev] Does creating REAL over-the-web Python code become
 realistic with Zope 2.4?


 Hi!

 When I read about the reload functionality of Zope 2.4, an old vision came
 back to my mind:

 If we can reload Python code at runtime, and we can also edit,
 generate and
 store files (containing code)  via the web (as LocalFS or extFile prove),
 then it should be perfectly possible to have something like ZClasses (it
 terms of the over-the-web front-end) that spits out and dynamically loads
 REAL Python classes instead of the rather experimental simulation
 of classes
 we get with ZClasses, right?

 I'll skip the part about why we should not be able to manipulate Zope code
 over the web, which can be discussed separately ...

 What do you think about this idea? If it finds some friends, I'll set up a
 formal proposal for something like ZClass-like features to build
 REAL Zope
 Python classes over the web.

 Joachim




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



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



[Zope-dev] Coding Standards

2001-05-31 Thread Rick St Jean

Hey all,

I am completely new to ZOPE and to PYTHON, although I have a programming 
background in other
languages.  I was wondering if some people would mind sharing a copy of a 
coding standard that they
use including naming conventions and general never-evers, or always always. 
I figure if someone has
a standard it usually helps new people to avoid pitfalls.

Thanks in Advance,
Rick



##
#  Rick St Jean,
#  [EMAIL PROTECTED]
#  President of Design Shark,
#  http://www.designshark.com/,  http://www.phpmailer.com/
#  Quick Contact:  http://www.designshark.com/messaging.ihtml
#  Tel: 905-684-2952
##


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



Re: [Zope-dev] Coding Standards

2001-05-31 Thread Terry Kerr

http://www.python.org/doc/essays/styleguide.html


Rick St Jean wrote:

 Hey all,

 I am completely new to ZOPE and to PYTHON, although I have a programming
 background in other
 languages.  I was wondering if some people would mind sharing a copy of a
 coding standard that they
 use including naming conventions and general never-evers, or always always.
 I figure if someone has
 a standard it usually helps new people to avoid pitfalls.

 Thanks in Advance,
 Rick

 ##
 #  Rick St Jean,
 #  [EMAIL PROTECTED]
 #  President of Design Shark,
 #  http://www.designshark.com/, http://www.phpmailer.com/
 #  Quick Contact:  http://www.designshark.com/messaging.ihtml
 #  Tel: 905-684-2952
 ##

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

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381




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



Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Charlie Blanchard

On Thu, May 31, 2001 at 04:11:56PM -0700, Loren Stafford wrote:
 Coincidently, I was just trying to edit a file on the filesystem with an FTP
 client going thru Zope/FTP and a LocalFS. It didn't work. The LocalFS
 instance didn't look like a directory to FTP so FTP could neither read nor
 write to the directory.
 
 Does that throw a monkey wrench into your idea?
 

ahhh, but ftp access appears on the LocalFS to-do list...

-- 
charlie blanchard
http://baldguru.com/
LosAngeles area Zope Users Group http://lazug.org

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



Re: [Zope-dev] Coding Standards

2001-05-31 Thread Andy McKay

Never write a workflow system in DTML

http://www.zopezen.org/Quotes

Cheers.
--
  Andy McKay.


- Original Message -
From: Rick St Jean [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 31, 2001 4:28 PM
Subject: [Zope-dev] Coding Standards


 Hey all,

 I am completely new to ZOPE and to PYTHON, although I have a programming
 background in other
 languages.  I was wondering if some people would mind sharing a copy of a
 coding standard that they
 use including naming conventions and general never-evers, or always
always.
 I figure if someone has
 a standard it usually helps new people to avoid pitfalls.

 Thanks in Advance,
 Rick



 ##
 #  Rick St Jean,
 #  [EMAIL PROTECTED]
 #  President of Design Shark,
 #  http://www.designshark.com/,  http://www.phpmailer.com/
 #  Quick Contact:  http://www.designshark.com/messaging.ihtml
 #  Tel: 905-684-2952
 ##


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



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



Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Joachim Werner

 Coincidently, I was just trying to edit a file on the filesystem with an
FTP
 client going thru Zope/FTP and a LocalFS. It didn't work. The LocalFS
 instance didn't look like a directory to FTP so FTP could neither read nor
 write to the directory.

 Does that throw a monkey wrench into your idea?

No, not really. LocalFS was just an example. The only important thing is
that I can edit something, post it over the web (either from a weg form or
using FTP, WebDAV etc.) and then store it to the filesystem instead of the
ZODB.

BTW LocalFS works fine over the web frontend, and FTP over Zope over LocalFS
is not really necessary in most cases, as you can go directly to the
filesystem with plain FTP anyway. But LocalFS should be fixable to work over
FTP, I think.

Joachim


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



Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Andy McKay

 If we can reload Python code at runtime, and we can also edit, generate
and
 store files (containing code)  via the web (as LocalFS or extFile prove),
 then it should be perfectly possible to have something like ZClasses (it
 terms of the over-the-web front-end) that spits out and dynamically loads
 REAL Python classes instead of the rather experimental simulation of
classes
 we get with ZClasses, right?

Do you mean generating Python code from ZClasses? For example making and
editing a Product over the web?

Well the one flaw is that you will still need to restart AFAIK to install a
brand new product.

Cheers.
--
  Andy McKay.


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



Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Joachim Werner

 Do you mean generating Python code from ZClasses? For example making and
 editing a Product over the web?

Kind of. Probably not full-fledged Products, but ZClass-like Classes that
define values for property sheets, include Methods, inherit from certain
base classes etc. ... well, maybe I'll end up with a Product ;-)

And I would maybe not generate the code from ZClasses, but write a Python
Product that does the generation.

 Well the one flaw is that you will still need to restart AFAIK to install
a
 brand new product.

This has to be tested out. At least it should be possible to add classes to
an existing Product. So that would do. I'd just need a dummy Product where
all the new over-the-web classes would go ...

Joachim


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



Re: [Zope-dev] Browser Timeout

2001-05-31 Thread R. David Murray

On Thu, 31 May 2001, Andre Schubert wrote:
 I tested with lynx. If i type http://somewhere.com/foo/test i got no
 response because timeout, this means, that RESPONSE.setStatus and the first
 RESPONSE.write are sent back to the client if the body processing is done,
 but i would send every command as it is processed back to the client.
 Or is it my Zope( 2.2.4 ) on Immunix 6.2 RedHat.

I presume you tested it first without the large processing to make
sure the method was otherwise working.

I haven't used RESPONSE.write myself.  I know that others on this
list have, so hopefully someone will chime in with a working example
or a debuggin suggestion.  Of course, it's always possible that
streaming got broken at some point; I'm not sure that it gets used
by very many people so breakage may take a while to get noticed...

--RDM


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



[Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-05-31 Thread Brian Lloyd

Hello all,

  Zope 2.4.0 alpha 1 has been released - you can download it from
  Zope.org:

http://www.zope.org/Products/Zope/2.4.0a1/


  Highlights of what is new in Zope 2.4:

- Zope 2.4 supports (and requires) Python 2.1

- New restricted execution architecture

- WebDAV Level 2 locking support

- New WebDAV Access permission

- A new built-in 'Authenticated' role

- Product refresh without restart during development

- New Drop-in indexes support for ZCatalog


  Be sure to see the Zope 2.4 Migration Guide:

   http://www.zope.org/Products/Zope/2.4.0/Zope24MigrationGuide.html

  which outlines the new features and provides other important 
  information for users of Zope 2.4.

  For more information on what is new in this release, see the 
  CHANGES.txt and HISTORY.txt files for the release:

http://www.zope.org/Products/Zope/2.4.0a1/CHANGES.txt

http://www.zope.org/Products/Zope/2.4.0a1/HISTORY.txt

  For more information on the available Zope releases, guidance for 
  selecting the right distribution and installation instructions, 
  please see: 

  http://www.zope.org/Documentation/Misc/InstallingZope.html

  Note that this is an alpha release, so it is available as a source 
  distribution only. We will make binary releases available with the 
  first beta release.


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 




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