Re: [Zope3-dev] zcml:condition registry?

2005-10-03 Thread Lennart Regebro
OK. How come we just don't use dotted names?
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-10-03 Thread Fred Drake
On 10/3/05, Lennart Regebro [EMAIL PROTECTED] wrote:
 OK. How come we just don't use dotted names?

We can use dotted names, but sometimes we still want to know what else
is out there.  Dotted names help avoid accidental collisions in a
small namespace, but do not help us know what is provided.  I think
it's perfectly OK if you simply want to use a prefix to avoid
conflicts, but for products you release to the community, it makes a
lot of sense to document the specific features that are provided. 
This is especially to determine if several people are implementing
similar features, since that may indicate an opportunity to
collaborate.


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Society attacks early, when the individual is helpless. --B.F. Skinner
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-10-03 Thread Lennart Regebro
On 10/3/05, Fred Drake [EMAIL PROTECTED] wrote:
 conflicts, but for products you release to the community, it makes a
 lot of sense to document the specific features that are provided.
 This is especially to determine if several people are implementing
 similar features, since that may indicate an opportunity to
 collaborate.

That makes sense. A wikipage should be the way to go, then.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-10-01 Thread Lennart Regebro
I don't understand the purpose of this registry at all, even after
reading the purpose on the wiki page.

Could somebody explain? I mean, reasonably, when you actually check if
the feature exists, you check if it is installed on your computer, not
if it exists somewhere in the universe, obviously it does that or you
wouldn't check for it. :-)
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-10-01 Thread Benji York

Lennart Regebro wrote:

I don't understand the purpose of this registry at all, even after
reading the purpose on the wiki page.


We don't want two people to use different names for the same feature, or 
worse the same name for two different features.

--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-10-01 Thread Fred Drake
On 10/1/05, Benji York [EMAIL PROTECTED] wrote:
 We don't want two people to use different names for the same feature, or
 worse the same name for two different features.

Right; this registry isn't for the software, but for the humans that
have to write and maintain the stuff.


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-09-30 Thread Gary Poster


On Sep 30, 2005, at 2:25 PM, Fred Drake wrote:


The last time we discussed the zcml:condition attribute for ZCML, we
decided that there should be a general registry of feature names that
should be checked when defining a new feature name.  I think that I
suggested a page in the Zope 3 wiki as the registry.


A generally accessible web page has some advantages--it is easy to  
read, and usable even if you don't have the most recent version of  
the software, for instance.  It has some problems too.


The biggest problem is that the registry is not maintained or found  
within the source code: you have to look elsewhere to get the current  
state, even when you are working in the code, and you also have to go  
someplace else to edit it. Another is that our web site is sadly not  
in shape to be a good tool: using a wiki is always a bit annoying,  
and especially so at zope.org these days.


I propose that we actually store the registry in the Zope code,  
probably in the package that defines the 'condition' attribute.  We  
even get a bit of web presence, thanks to svn.zope.org, for free.


A point that lands in either camp, depending on your position, is  
that the wiki only requires site membership to edit, while the  
repository approach gates it to contributers.


For what it's worth, I'd further say other shared 'virtual registry'  
type uses that spring up should use a similar pattern.


Gary
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-09-30 Thread Fred Drake
On 9/30/05, Gary Poster [EMAIL PROTECTED] wrote:
 A generally accessible web page has some advantages--it is easy to
 read, and usable even if you don't have the most recent version of
 the software, for instance.  It has some problems too.

The up-to-dateness of the registry is what I'm most concerned about. 
That's why I like the external (to the software) registry.  I'd expect
many features to be defined and provided by third-party packages, so
it's likely to be updated without regard to the Zope release schedule.

 The biggest problem is that the registry is not maintained or found
 within the source code: you have to look elsewhere to get the current
 state, even when you are working in the code, and you also have to go
 someplace else to edit it. Another is that our web site is sadly not
 in shape to be a good tool: using a wiki is always a bit annoying,
 and especially so at zope.org these days.

While there are clearly problems, I don't think our wiki is so broken
that we can't use it for something with a moderately low change rate
like this (yes, I'm being predictive).

 I propose that we actually store the registry in the Zope code,
 probably in the package that defines the 'condition' attribute.  We
 even get a bit of web presence, thanks to svn.zope.org, for free.

That would place it in zope.configuration.

All the conditions that are currently defined in the Zope tree, other
than in tests for the zcml:condition construct itself, are defined
somewhere in zope.app, which suggests that there's a concept of
application domain that might be pertinent.  zope.configuration does
not assume or require zope.app, or even that it will be used only in
Zope.  It's likely that it *is* only used in Zope, however.

So we can have a registry (say, features.txt) in the
zope.configuration package, and applications that have no requirement
to support overlap with Zope code can simply ignore it.

 A point that lands in either camp, depending on your position, is
 that the wiki only requires site membership to edit, while the
 repository approach gates it to contributers.

Yes.  The concern about having a larger set of contributors for the
page is mostly an issue because more people would have the opportunity
to remove entries or cause their meanings to change.  Since I've not
noticed a significant problem with WikiVandalism on zope.org wikis,
I'm actually not worried about this.


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-09-30 Thread Fred Drake
For the record, Gary capitulated via IM rather than by email to the
list.  (I didn't even have to force his hand... wonder if he's feeling
ill?)

I'm send this email to:

1. Give Gary a chance to say Oh no I didn't! in public.  :-)

2. Let people know the truth of the matter.  :-)

3. Note that I'm setting up the registry in the wiki at:
   http://dev.zope.org/Zope3/ZcmlConditionFeatures


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] zcml:condition registry?

2005-09-30 Thread Gary Poster


On Sep 30, 2005, at 6:29 PM, Fred Drake wrote:


For the record, Gary capitulated via IM rather than by email to the
list.  (I didn't even have to force his hand... wonder if he's feeling
ill?)

I'm send this email to:

1. Give Gary a chance to say Oh no I didn't! in public.  :-)

2. Let people know the truth of the matter.  :-)


LOL


3. Note that I'm setting up the registry in the wiki at:
   http://dev.zope.org/Zope3/ZcmlConditionFeatures


:-) Thanks, Fred.

Gary
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com