COMMENTS REQUESTED: Zope Product Guidelines
Hi there, Monday I posted the Zope product guidelines to the net. It's here: http://www.zope.org/Members/faassen/product_guidelines Structured text source is here: http://www.zope.org/Members/faassen/product_guidelines_stx Don't cheer yet; this document is *not* complete. In fact, it's a mere skeleton, containing (loosely categorized) my questions. I'd like to see some discussion on the various issues raised in the document on this list. I'd also like to see contributions to the doc. Either more questions, or an attempt at actual answers. Since the answers will set guidelines and standards, it's unlikely an answer will be accepted without at least some discussion by the community. So let's please discuss. For starters, let's try to identify some common tabs in Zope, and their use. For instance: edit tab - use this to edit instance specific data that is not a property. (this is incorrect. The title and other properties can often be edited on the edit tab). How to improve this phrasing? properties tab - you can only use this to display the standard Zope properties screen, here's how: from OFS.PropertyManager import PropertyManager # now include PropertyManager as a base class # now include in manage_options {'label':'Properties', 'action':'manage_propertiesForm'}, proxy tab security tab test tab view tab others? Suggested tab orders? Let's get this discussion going! Regards, Martijn
Martijn, Sorry, I will comment when time allows.... Martijn Faassen wrote:
Hi there,
Monday I posted the Zope product guidelines to the net. It's here:
http://www.zope.org/Members/faassen/product_guidelines
Structured text source is here:
http://www.zope.org/Members/faassen/product_guidelines_stx
Don't cheer yet; this document is *not* complete. In fact, it's a mere skeleton, containing (loosely categorized) my questions.
I'd like to see some discussion on the various issues raised in the document on this list. I'd also like to see contributions to the doc. Either more questions, or an attempt at actual answers.
Since the answers will set guidelines and standards, it's unlikely an answer will be accepted without at least some discussion by the community. So let's please discuss.
For starters, let's try to identify some common tabs in Zope, and their use. For instance:
edit tab - use this to edit instance specific data that is not a property. (this is incorrect. The title and other properties can often be edited on the edit tab). How to improve this phrasing?
properties tab - you can only use this to display the standard Zope properties screen, here's how:
from OFS.PropertyManager import PropertyManager
# now include PropertyManager as a base class
# now include in manage_options
{'label':'Properties', 'action':'manage_propertiesForm'},
proxy tab
security tab
test tab
view tab
others?
Suggested tab orders?
Let's get this discussion going!
Regards,
Martijn
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )
-- Chris McDonough - Digital Creations, Inc. Publishers of Zope - http://www.zope.org
Chris McDonough wrote:
Martijn,
Sorry, I will comment when time allows....
I understand _Digital Creations_ is busy before the Python conference and so on, and you may be busy at any time, so please don't be sorry. There have to be perfectly good non-DC community members on this list that are not busy and could answer, however! *nag nag the non-DC people* Regards, Martijn
Martijn Faassen wrote:
I understand _Digital Creations_ is busy before the Python conference and so on, and you may be busy at any time, so please don't be sorry. There have to be perfectly good non-DC community members on this list that are not busy and could answer, however! *nag nag the non-DC people*
OK, my contribution. Sometimes ytou want your ObjectManager to only be able to contain certain types of objects. The question is what the best method to do this is. What I did was, in this case limiting to Images and files: def all_meta_types(self): """ """ return filter(lambda d, m=('Image', 'File'): d['name'] in m, ObjectManager.all_meta_types(self)) -- Itamar S.T. itamars@ibm.net
participants (3)
-
Chris McDonough -
Itamar Shtull-Trauring -
Martijn Faassen