[Zope-dev] Re: Comments on ZPatterns

2000-07-04 Thread Phillip J. Eby
At 03:10 PM 6/28/00 +0100, Chris Withers wrote: 1. Too much jargon... by far... Lots of complicated words that are meanlingless to the layman and don't help to convey the concepts. Yep, like "Acquisition" and "object publishing". :) Seriously, that is very much the level we're talking about

Re: [Zope-dev] More comments on ZPatterns

2000-07-04 Thread Phillip J. Eby
At 10:06 AM 7/3/00 -0500, Steve Spicklemire wrote: Seriously, I'm trying to get it all figured out, and I thought maybe if I attempted to do something 'real' with it I would at least learn what I *don't* understand. Well.. I've learned a *lot*! (about what I don't understand.. ) ;-) The source

Re: [Zope-dev] bug in zpatterns-0.4 ?

2000-07-04 Thread Jephte CLAIN
"Phillip J. Eby" wrote: When Philipp wake up (I guess he's asleep right now :-)), he might give his opinion about that. I've been on vacation. I knew it. But it's always funny to play with timezone issues. I'm basically with Mike on this one, with a slight amplification on my intention

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Phillip J. Eby
At 05:26 PM 6/28/00 +0100, Steve Alexander wrote: The suggested specialists in the Accounting framework are: Invoices Orders Customers Products What I'm finding is that these are just the White-box specialists. A clean design would seem to want all the specialists above, plus at least

Re: [Zope-dev] ZPatterns Specialist Question

2000-07-04 Thread Phillip J. Eby
At 11:54 AM 7/3/00 +0100, Chris Withers wrote: Just a quickie: If, as the the ZPatterns Wiki states, 'Specialists are not classes', then why is there a 'Specialist' python class in the ZPatterns distribution? Specialists are instances of the class "Specialist". They are not themselves

Re: [Zope-dev] bug in zpatterns-0.4 ?

2000-07-04 Thread Phillip J. Eby
At 10:33 AM 7/4/00 +0400, Jephte CLAIN wrote: Back to my first question: is it intended that Rack.createItem (a IMHO low level method) calls Rack.getItem (a IMHO higher level method) to check the existence of the item? Yes. It is perfectly valid OO design (and common framework-building

Re: [Zope-dev] bug in zpatterns-0.4 ?

2000-07-04 Thread Jephte CLAIN
"Phillip J. Eby" wrote: Nope. The two levels of methods (get/retrieve and new/create) are there to seperate Rack-level concerns from implementation concerns. getItem() and newItem() handle maintenance of Rack-level invariants such as the retrieval cache, while retrieveItem() and

[Zope-dev] site versions with zope

2000-07-04 Thread Nathalie Bernier
Hello, I'd like to modify a live site, instead of working on a mirror copy. Could someone explain me, step by step, how sessions work? Thanks Nathalie Bernier * Développeur web multiThématiques Centre Jean Monet Longlaville 54400 LONGWY

[Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Hello, I am a little bit disappointed not getting any echo from my previous question, so I report it. Maybe my dtml is wrong for zope2, but I would appreciate to have some explanation from more experienced peoples. If I can not find a solution, we will have to keep our zope1 production server,

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Chris Withers
You could try moving stuff to the new dtml style for starters: dtml-var standard_html_header and the like. That might help, if not let us know.. cheers, Chris Gilles Lavaux wrote: Hello, I am a little bit disappointed not getting any echo from my previous question, so I report it.

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread LEE, Kwan Soo
Not an answer, but a question. b!--#var id--/b !--#if "_['id']=='PUBLIC_Doc'"-- ## !--#try-- !--#var "_[_['id']]"-- !--#except-- You seems to "call" PUBLIC_Doc, then why don't you just !--#var PUBLIC_Doc-- instead of the !--#var "_[_['id']]"--? LEE Kwan Soo

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Hello Lee !--#var PUBLIC_Doc-- doesn't change anything, same error. (you are right, I can use the name directly , but I have some other piece of code where I have to use the _[_['']] construction, so it has to work...) But I found something: In my 'PUBLIC_Doc' document I display image with a

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Chris Withers
Gilles Lavaux wrote: But I found something: In my 'PUBLIC_Doc' document I display image with a !--# var image_name-- tag, my problem disappear if I use !--#var "image_name"--, someone can explain this?? Are you sure the space after the # isn't your problem? I would STRONGLY recommend

[Zope-dev] Fwd: [Zope-PTK] Area based roles?

2000-07-04 Thread Monty Taylor
Original Message On 7/4/00, 12:45:29 PM, Monty Taylor [EMAIL PROTECTED] wrote regarding [Zope-PTK] Area based roles?: Hi all. I've got an idea of something I'm trying to implement, and I'm wondering if the concept is of use to anyone else. I've got an Intranet up in PTK. (What a

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Argh!!! no, I made a typo error : it was !--#var image_name--.the syntax was good. Ok, I will use the new syntax in my new sites. But for my old site, I will not modify my ~500 dtml methods, except if there is a way to automate the change. Gilles -Original Message- From: Chris Withers

[Zope-dev] Re: [Zope-PTK] Roles, Groups, Security and Group Membership

2000-07-04 Thread Monty Taylor
Original Message On 7/4/00, 1:22:04 PM, Chris Withers [EMAIL PROTECTED] wrote regarding [Zope-PTK] Roles, Groups, Security and Group Membership: Monty Taylor wrote: Am I making any sense at all? Does anyone see either a need for doing this or a way to do it? If it requires changes to

[Zope-dev] ZEO Replication/Cache

2000-07-04 Thread Monty Taylor
I just installed an instance of ZEO Storage Server with a client on the same machine and a client on a different machine. So far, it seems to work reasonably well, with one exception. None of the changes I've made on one client seem to propagate to the other client unless I restart the other

[Zope-dev] Re: [Zope] site versions with zope

2000-07-04 Thread Diny van Gool
At 10:38 4-7-00 +0200, Nathalie Bernier wrote: Hello, I'd like to modify a live site, instead of working on a mirror copy. Could someone explain me, step by step, how sessions work? Hi, At http://www.zope.org/Documentation/Guides/ZCMG (Zope Content Manager's Guide) you'll find a section called

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Dieter Maurer
Chris Withers writes: I seem to remember Michel being a little less than happy when he saw that code. Quite frankly, I still don't have much confidence in (Z)Catalog (still no docs for all the cool stuff, dodgy bugs and few responses when they're raised...) which is a shame since

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Steve Alexander
Steve Alexander wrote: Gilles Lavaux wrote: Argh!!! no, I made a typo error : it was !--#var image_name--.the syntax was good. Ok, I will use the new syntax in my new sites. But for my old site, I will not modify my ~500 dtml methods, except if there is a way to automate the

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Steve Alexander
Steve Alexander wrote: An external method for automated change from old syntax to new syntax follows. * Use at your own risk * No warranty implied or given * Use on a copy of your main Zope site * Back up data.fs three times before starting * Not guarenteed not to spin your

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Chris Withers
Dieter Maurer wrote: I am very interested in ZCatalog. I promiss that I will look into it, when I come to 2.2. Thanks, Documentation of the cool stuff which is already there, and making it work 100% reliably are the two main things... cheers, Chris

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Scott Parish
Thus spake Phillip J. Eby ([EMAIL PROTECTED]): That's all quite true, but it would probably be simplest to do such a thing using AttributeProviders and SheetProviders in the white-box specialists. It does seem reasonable to have those providers talk to an AccountingProcessor object if you

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Phillip J. Eby
At 02:21 AM 7/5/00 +, Scott Parish wrote: Does anybody out there have even the slightest clue about how to go about using AttributeProviders and SheetProviders? A select few terse hints on this subject would really help us (me) figure it out enough to start working on some howto's. You