Just as a follow up to my last comment: I think it would be a very good idea to have a common framework with the basic distribution for patches (Who cam up with monkeypatch?? nasty name), and to that end I offer PatchKit as a starting point. The aim in my sugestion is to allow ideas such as Marc's here to be applied to patches as well has fully formed products. If all patches were loaded into a PatchManager, there could be a global off switch, and an individual off switch for each patch. This would also encorage patch writers to make their patches in a common style, that could be easily queried (On the Control_Panel or a sub page) to report on patches and their basic actions. I could go on, but I think you can see where I am going here... (Sort of components I guess) :) Adrian... -- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu ----- Original Message ----- From: "marc lindahl" <marc@bowery.com> To: "Adrian Hungate" <adrian@haqa.co.uk>; "Chris Withers" <chrisw@nipltd.com>; "seb bacon" <seb@jamkit.com> Cc: "Richard Jones" <rjones@ekit-inc.com>; "Casey Duncan" <casey_duncan@yahoo.com>; "Anthony Baxter" <anthony@ekit-inc.com>; <zope-dev@zope.org> Sent: Tuesday, March 05, 2002 2:48 AM Subject: Re: [Zope-dev] Re: MonkeyPatching in the Core (was: Zope 2.6planning)
What about something like apple's Extension Manager, where you could disable/enable 'sets' of products? Though frankly, it's not too tough to just move the subdirectory somewhere and restart... but it would be a way to have a TTW way of configuring your Zope, and having the option of 'loading up' the distribution with optional stuff (which might be disabled by default?)
From: "Adrian Hungate" <adrian@haqa.co.uk>
I think that monkeypatching goes right to the very heart of the language - Python was written not just to allow it, but it's opperation almost encorages it (Sort of). HOWEVER, I am somewhat against a monkeypatch being made part of the core distribution (No disrespect to the authors of such products - me included), these should be optional downloads, up to the point that the code is rolled into the core codebase.
_______________________________________________ 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 )