"Morten W. Petersen" wrote:
>
> Is there any documentation that explains this? Or, maybe some
> *understandable* and *well-written* product?
i found using a zcatalog with composition fairly straight forward. i
like to recommend a product that i wrote:), but sadly the code on a
whole is a mess,
>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 -
http://lists.zope.org/mailman/listinfo/zope-a
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',)),
>> )
>>
>
Is there any documentation that explains this? Or, maybe some
*understandable* and *well-written* product?
Thanks.
-Morten
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
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"
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,
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"
I've defined my own dtml tag, i.e. . I want to get the
relative path of the 'calling' object for that tag, in 's
__init__ method. I.E. if i have a dtml-method 'index_html':
When I edit the 'index_html' method, 's __init__ method gets
called, and I want to get something like '/zope/index_html'
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 from
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 tha
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 can start out learning in a safe mode and
then graduate to a power
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.
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 collector.
You
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
G
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 ZEOCl
Hi Zen-guys,
Is there an unique object ID in the ZODB that remains constant in all times
through out the life time of the ZODB?
And if so, where is it created and how do I access it? In other word how do I use it?
I can vaguely recall seeing something called OID.
I need it to track discussions
On Mon, Oct 23, 2000 at 11:08:14AM +0100, Chris Withers wrote:
> [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
I'm new to this list; fairly new to Zope. Thought you might appreciate a fresh data
point: 'Zopelet' works for me. It's clearly a code snippet that runs on the Zope
server. It may not make any sense in a vacuum, but it communicates in this crazy mixed
up Internet world.
/alastair/
Alastair Dal
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
Chris Withers wrote:
>
> Ken Manheimer wrote:
> >
> > Python Zopelet
> > Perl Zopelet
> > XSLT Zopelet
> >
> > Zope-specific, runs on the server, shows the implementation language,
> > won't be confused with non-remotely-editable functions, methods, scripts,
> > code in general.
>
> ... Zopelet
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 conte
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
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 "-le
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:
Py
> 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
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
Th
Hopefully this will be a little simpler ;-)
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
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' ,('
> 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
Hello,
I had a strange problem when trying out LoginManager v0.8.8b1 with the latest cvs
Checkout (as of Oct.23),
here is the traceback trying to add a LoginManager (The form didn't show up):
Error Type: NameError
Error Value: path
...
Traceback (innermost last):
File /usr/local/tmp/Zope2/li
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 c
[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 n
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. The
32 matches
Mail list logo