[Zope-dev] Plain Ice Cream

2000-10-23 Thread Chris Withers
Michel Pelletier wrote: Python Function is not quite right, as it is fairly common (for me, at least) to define some helper functions in a Python Method. But it is better than Python Script. That's a good point I hadn't thought of :-S Function is just as technical as method. These are

Re: [Zope-dev] Task, Job or Operation?

2000-10-23 Thread Chris Withers
[EMAIL PROTECTED] wrote: I can see four potential properties that one could want to emphasize about a python method. 1) It is safer (to the Zope server) than a python external method. 2) It safer to the end user than a JavaScript (it never touches the client). 3) It uses python, and not

Re: [Zope-dev] Block'ed

2000-10-23 Thread Chris Withers
Michael Bernstein wrote: The diference (for me) between a View and a Block is whether they are intended to be accessed directly by a client (browser). Blocks also tend to be reuseable in many views (I typically have a Block (DTML Method) called main_navigation, for example), and can be

RE: [Zope-dev] Michel's Reply

2000-10-23 Thread Toby Dickenson
I'm not sure I grok what rightness has to do about it. I think this is right, to me wrong == broken. This is not broken. Let me persuade you. * someone adds an property named feed to an object at an intermediate location in the containment heirarchy. This breaks the cron job that

[Zope-dev] Security Confusion :-S

2000-10-23 Thread Chris Withers
If anyone can help me with this, it'd give me more faith in the new security model :-S Right, I have a Python Product Class (lots of bits left out ;-): class MyProduct(OFS.SimpleItem.SimpleItem): """... """ __ac_permissions__=( ('Use MyProduct' ,

Re: [Zope-dev] Python 2.0 and Zope Status?

2000-10-23 Thread Toby Dickenson
On 20 Oct 2000 19:09:47 GMT, [EMAIL PROTECTED] (Ty Sarna) wrote: What's the current state of Zope with Python 2.0? My current understanding of the issues is: - Problem with ExtensionClasses and 2.0's circular reference GC. Can someone elaborate on this? Is configuring python2.0 with That

RE: [Zope-dev] Reference to a user

2000-10-23 Thread Brian Lloyd
If I want to store a reference to a User in Zope, what's the best way to do it? I'm currently storing just the user's name, which doesn't seem very robust. Perhaps there's a more conrete reference to the user object? How about a path or something? Is there an interface for this

Re: [Zope-dev] Task, Job or Operation?

2000-10-23 Thread Ken Manheimer
Huh. We're looking for something neutral, to connote code that runs in zope to do some business logic or similar effect. It should distinguish the language used to express the logic - perl vs python vs xslt, etc. I hate "script", but it occurs to me that the "-let" convention may be useful:

Re: [Zope-dev] Meaning :-S

2000-10-23 Thread Chris Withers
Ken Manheimer wrote: Huh. We're looking for something neutral, to connote code that runs in zope to do some business logic or similar effect. It should distinguish the language used to express the logic - perl vs python vs xslt, etc. I hate "script", but it occurs to me that the "-let"

Re: [Zope-dev] Reference to a user

2000-10-23 Thread Chris Withers
Brian Lloyd wrote: You might want to look at the 'ownerInfo' method in lib/python/AccessControl/Owned.py. That produces a fully qualified 'path' to identify a user. It probably should be made an interface on the user object itself (it probably was done this way initially to avoid forcing

Re: [Zope-dev] Meaning :-S

2000-10-23 Thread Jeffrey P Shell
On 10/23/2000 11:37 AM, "Chris Withers" [EMAIL PROTECTED] wrote: ...yeah, Zopelet means absolutely nothing, and will just add to confusion :-( The worse confusion is choosing a name that means something and then either o Having to explain that it means different things in different

[Zope-dev] PythonPiece, perlpiece. You can use the Big PP or the little pp!

2000-10-23 Thread James Johnson
Is it not just another piece of the puzzle to figure out? :-) Get your Free E-mail at http://tacoma.zzn.com Get your own Web-Based E-mail Service at http://www.zzn.com ___ Zope-Dev maillist

[Zope-dev] (no subject)

2000-10-23 Thread Spicklemire, Jerry
Hi Name Hunters, My problem with Zopelet is that it already has a meaning, at least to me. Looking down the road, not nearly as far as one might imagine, let's see where we may be heading. Think about minimal Zope instances running on Palm Gizmos, Cell Phones, whatever, a sort of personal

[Zope-dev] Task, Job or Operation?

2000-10-23 Thread Spicklemire, Jerry
Sorry for the duplicate post, forgot the subject. :) Hi Name Hunters, My problem with Zopelet is that it already has a meaning, at least to me. Looking down the road, not nearly as far as one might imagine, let's see where we may be heading. Think about minimal Zope instances running on Palm

[Zope-dev] ZCatalog + ZCatalog

2000-10-23 Thread Casey Duncan
I am making it my mission to enhance the beast that is ZCatalog. This is the first of many improvements I hope to make to it as time goes on. DISCLAIMER This patch has only been moderately tested, and all side affects are not known. I am submitting it here for review before adding it to the

Re: [Zope-dev] Task, Job or Operation?

2000-10-23 Thread jpenny
On Mon, Oct 23, 2000 at 03:07:25PM -0700, James Johnson wrote: Is there a Wiki or some other starting point for this thread. As a newbie I like safe vs power over anything else. I also understand that with using anything in a power mode can be risky for a newbie. It's nice to know that I

[Zope-dev] Unit testing, ZUnit

2000-10-23 Thread Lalo Martins
We (I and Hiperlógica) started to develop a Product we called ZUnit, intended for XP-style unit-testing Python-based Products in a full Zope environment (with a real ZODB, REQUEST, RESPONSE, etc). We first conceived it as a kind of Zope-based version of unittestgui.py - you create a "TestRunner"

Re: [Zope-dev] Unit testing, ZUnit

2000-10-23 Thread Chris McDonough
I would be very interested in such a beast. It's way too hard to do unit testing in Zope right now. I'm not sure about how it should be designed, but that's what the fishbowl is for. :-) - Original Message - From: "Lalo Martins" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

Re: [Zope-dev] Meaning :-S

2000-10-23 Thread Michael Bernstein
Chris Withers wrote: Ken Manheimer wrote: Huh. We're looking for something neutral, to connote code that runs in zope to do some business logic or similar effect. It should distinguish the language used to express the logic - perl vs python vs xslt, etc. I hate "script", but it

Re: [Zope-dev] Security Confusion :-S

2000-10-23 Thread Toby Dickenson
On Mon, 23 Oct 2000 15:59:24 +0100, Chris Withers [EMAIL PROTECTED] wrote: (untested hints to follow) class MyProduct(OFS.SimpleItem.SimpleItem): """... """ __ac_permissions__=( ('Use MyProduct' ,('a_method',),('Manager',)), )

Re: [Zope-dev] Unit testing, ZUnit

2000-10-23 Thread Ender
What do people think of this? you get my vote kapil ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] The Great Python (and Perl) Method Renaming Poll

2000-10-23 Thread Michel Pelletier
We will be conducting a community poll to decide what to call Python (Perl, insert your language here) Methods. Many candidates have been discussed, but I'm afraid I don't have enough time to cull all the candidates from the discussions. So, before the poll, we are calling for nominiations