Re: [Zope3-dev] Re: Reducing the Amount of ZCML Directives ready for review

2006-03-20 Thread Dominik Huber
Philipp, I really appreciate your effort in all other cases, but in this case I think its not a simplification. The today's arrangement of class subdirectives is not an evil at all. We use all offered subdirectives (including implements and factory) heavily in our use cases. IMO It's

[Zope3-dev] Re: Proposals vs. developer docs [was: Reducing the Amount of ZCML Directives ready for review]

2006-03-20 Thread Martijn Faassen
Philipp von Weitershausen wrote: Martijn Faassen wrote: Philipp von Weitershausen wrote: Philipp von Weitershausen wrote: If no one objects to the branch as it is, I will merge it on the weekend. Done now. Did you manage to make a start on a developer changes document for Zope 3.2?

Re: [Zope3-dev] Re: Reducing the Amount of ZCML Directives ready for review

2006-03-20 Thread Philipp von Weitershausen
Dominik Huber wrote: I really appreciate your effort in all other cases, but in this case I think its not a simplification. At least in case of class/implements it is. I'm merging two directives, class/implements and five:implements into one. The case of class/factory is arguable, I admit.

[Zope3-dev] Re: Proposals vs. developer docs [was: Reducing the Amount of ZCML Directives ready for review]

2006-03-20 Thread Philipp von Weitershausen
Martijn Faassen wrote: Using proposals for communicating development-level changes is not ideal. This is why Python has a separate what changed in Python 2.x document series, which is actually readily comprehensible, as opposed to many of the PEPs. And kudos to Andrew Kuchling for writing

Re: [Zope3-dev] Proposals vs. developer docs [was: Reducing the Amount of ZCML Directives ready for review]

2006-03-20 Thread Lennart Regebro
On 3/20/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote: In fact, I very much like how two other Zope-related projects handle this: Python with its PEPs and Plone with its PLIPs. When they describe the feature changelog of a major version, they can just point to the numbers of the PEPs

[Zope3-dev] Re: Doctests for IObjectModifiedEvent

2006-03-20 Thread Florent Guillaume
Sorry, I was on vacation. Without a traceback I'm not sure what you really mean. Anyway Stefan already answered. You should also read http://blogs.nuxeo.com/sections/blogs/florent_guillaume/ 2005_11_10_object-event-dispatching to get an understanding of how event dispatching works. Florent On

Re: [Zope3-dev] A Take on the Hello World Acid Test - from Mandatory Viewing

2006-03-20 Thread Stephan Richter
On Thursday 09 March 2006 08:20, Darryl Cousins wrote: Hi All, I enjoyed the fasterbettercheaper lecture. And it got me thinking about why I'm using Z3. Wanting to get that in words I took the hello world acid test: http://www.treefernwebservices.co.nz/hello.html Fun: 1.0 I think you

Re: [Zope3-dev] developement environment

2006-03-20 Thread Stephan Richter
On Saturday 11 March 2006 10:22, Josh Zeidner wrote: I am currently using KDE and I am shopping around for development environments for developing in Z3.  It looks like I will just be using Kate + Konqueror to browse files.  Does anyone have any suggestions? WingIDE is probably the

Re: [Zope3-dev] DisplayWidget

2006-03-20 Thread Stephan Richter
On Friday 03 March 2006 11:31, Shaun Cutts wrote: Is there any reason why zope.app.form.browser.widget.DisplayWidget doesn't implement zope.app.form.interfaces.IDisplayWidget, or is this a bug? This would be a bug. Please report it to the collector. Thanks. Regards, Stephan -- Stephan Richter

Re: [Zope3-dev] Why z.a.appsetup.bootstrap function do not return the actual object

2006-03-20 Thread Stephan Richter
On Wednesday 08 March 2006 08:57, Florian Lindner wrote: Hello, I'm currently playning with the functions from zope.app.appsetup.bootstrap and I'm wondering why the functions that create objects (addConfigureUtility, addUtility, configureUtility, ensureObject, ensureUtility) do return the

Re: [Zope3-dev] annoying exception - amateur mistake

2006-03-20 Thread Stephan Richter
On Tuesday 07 March 2006 10:02, Adam Groszer wrote: Of course I forgot to modify the zcml (remove the set_attributes=), so I got the following exception which is not quite useful:                 Traceback (most recent call last):   File \bin\runzope, line 48, in ?     run()   File

[Zope3-dev] Re: Reducing the Amount of ZCML Directives ready for review

2006-03-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp von Weitershausen wrote: Dominik Huber wrote: I really appreciate your effort in all other cases, but in this case I think its not a simplification. At least in case of class/implements it is. I'm merging two directives,

Re: [Zope3-dev] Re: Reducing the Amount of ZCML Directives ready for review

2006-03-20 Thread Lennart Regebro
On 3/20/06, Tres Seaver [EMAIL PROTECTED] wrote: I think we could argue the following equally well: if you find a directive unuseful, *just don't use it*. Register *new* directives (perhaps in a new namespace, if you want to reuse the names) which do your simpler / cleaner thing.

[Zope3-dev] httpgz in zope.conf?

2006-03-20 Thread Jim Washington
I announced release of httpgz, http://zif.hill-street.net/httpgz on Zope3-Users this past weekend. It does very nice things to bandwidth. One particular page (tabular and very repetitious) went from around 400K to 25K for the client. MochiKit.js went from 94254 bytes to 24854 bytes. This

Re: [Zope3-dev] httpgz in zope.conf?

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 09:35, Jim Washington wrote: I am wondering what the best mechanism for turning this on and off would be.  I suppose it is simple enough to insert and remove the httpgz-configure.zcml file in etc/package-includes, but is there a place for third-party hooks in zope.conf?

[Zope3-dev] Re: httpgz in zope.conf?

2006-03-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Washington wrote: I announced release of httpgz, http://zif.hill-street.net/httpgz on Zope3-Users this past weekend. It does very nice things to bandwidth. One particular page (tabular and very repetitious) went from around 400K to 25K for

Re: [Zope3-dev] Re: httpgz in zope.conf?

2006-03-20 Thread Jim Washington
Tres Seaver wrote: Zope3 could add a similar abstract section type to its top-level schema, for use by third-party extensions. Such a change would *not* require settling the config-file-format debate. Thanks, Tres So, it's not an easy thing to do right now because something in core has to

[Zope3-dev] Re: Proposals vs. developer docs [was: Reducing the Amount of ZCML Directives ready for review]

2006-03-20 Thread Philipp von Weitershausen
Martijn Faassen wrote: Using proposals for communicating development-level changes is not ideal. This is why Python has a separate what changed in Python 2.x document series, which is actually readily comprehensible, as opposed to many of the PEPs. And kudos to Andrew Kuchling for writing

Re: [Zope3-dev] Reducing the Amount of ZCML Directives ready for review

2006-03-20 Thread Philipp von Weitershausen
Stephan Richter wrote: I am -1 on moving implements out of the class directive. I am impartial on the factory subdirective, since I never use it. I think factories are failed experiment, btw, but that's another story. If implements is moved out than what's the point of having a class directive in

Re: [Zope3-dev] A Take on the Hello World Acid Test - from Mandatory Viewing

2006-03-20 Thread Lennart Regebro
On 3/20/06, Stephan Richter [EMAIL PROTECTED] wrote: I think you should continue. :-) I too would like to see you continue. I did a quick test (not fulfilling the actual continuation) but just tried to make a small content class, without cheating by copy pasting code, and it was actually quite

[Zope3-dev] Re: Reducing the Amount of ZCML Directives ready for review

2006-03-20 Thread Philipp von Weitershausen
Tres Seaver wrote: I really appreciate your effort in all other cases, but in this case I think its not a simplification. At least in case of class/implements it is. I'm merging two directives, class/implements and five:implements into one. The case of class/factory is arguable, I admit.

Re: [Zope3-dev] a plan for widgets?

2006-03-20 Thread Gary Poster
On Mar 17, 2006, at 10:24 AM, Martijn Faassen wrote: [...] I'm quite interested in knowing more about your plans, and helping you implement things, if only by porting existing widgets over to the new system. I also realize that discussing this kind of stuff over on the mailing list slows

[Zope3-dev] Re: Proposals vs. developer docs [was: Reducing the Amount of ZCML Directives ready for review]

2006-03-20 Thread Martijn Faassen
Philipp von Weitershausen wrote: Martijn Faassen wrote: [snip] Let me get a final statement out that perhaps is still misunderstood or not understood at all: The way proposals work right now is not sufficient for what I *think* you're trying to achieve. That's where we agree. However, I

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Jeff Shell
On 3/17/06, Fred Drake [EMAIL PROTECTED] wrote: On 3/17/06, Martijn Faassen [EMAIL PROTECTED] wrote: As far as I understood, vocabularies are on the way out in Zope 3.3: in zope.schema.interfaces: # BBB vocabularies are pending deprecation, hopefully in 3.3 That's correct. Gary and I

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 13:14, Jeff Shell wrote: And it's all incredibly confusing. Gluttony of choice they call it. I settled on Vocabularies for an interesting widget/requirement because they were documented in the book. Trying to translate doctest-speak to

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Jeff Shell
On 3/17/06, Tres Seaver [EMAIL PROTECTED] wrote: Jeff Shell wrote: By the way, isn't it pretty easy to provide straight up values anyways for those quick drop-down situations? snip Python example You're missing the point -- the vocabulary is *not* software, and Python is *completely* the

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Shell wrote: On 3/17/06, Tres Seaver [EMAIL PROTECTED] wrote: Jeff Shell wrote: By the way, isn't it pretty easy to provide straight up values anyways for those quick drop-down situations? snip Python example You're missing the point -- the

Re: [Zope3-dev] RFC: Use ConfigParser for High-Level Configuration

2006-03-20 Thread Dieter Maurer
Stuart Bishop wrote at 2006-3-20 10:38 +0700: Also, there is only one schema.xml so multiple components can't each insert their own blob of configuration information into the global schema. Please read From: Tres Seaver [EMAIL PROTECTED] To: zope3-dev@zope.org Subject: [Zope3-dev] Re: httpgz

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 13:50, Tres Seaver wrote: So *don't use ZCML*;  use Python:  there is literally nothing which can be done in ZCML which cannot be done in Python.  I wish that folks who don't like / need ZCML would quit trying to dictate how the rest of us use ZCML. I agree with this

Re: [Zope3-dev] httpgz in zope.conf?

2006-03-20 Thread Gary Poster
On Mar 20, 2006, at 9:39 AM, Stephan Richter wrote: On Monday 20 March 2006 09:35, Jim Washington wrote: [...] BTW, I would be glad to see a proposal to add this to the core. I think httpgz is general very interesting to a lot of people. +1 Gary

[Zope3-dev] Swiss Easter Sprint note

2006-03-20 Thread Roger Ineichen
Hi Swiss Easter Sprinters, Sorry I don't have each email address right now, and hope to catch you via the zope3-dev and zope3-users mailing list. I setup a mailinglist at [EMAIL PROTECTED] Please subscribe yourself to the list. You can do this by sending a mail with the email address you