Re: Re: The elevator speech for Zope 3
David Pratt <[email protected]> Mon, 08 Oct 2007 10:14:07 -0300
| Newsgroups | gmane.comp.web.zope.zope3 |
|---|---|
| Message-ID | <[email protected]> |
Hi Uwe. I have been thinking of something similar and posted on the list=20 a couple of weeks back: http://mail.zope.org/pipermail/zope3-dev/2007-September/023653.html I want the zcml to be generated with a switch on zc.buildout so all=20 configuration is auto generated. Currently site.zcml is done this way=20 and I want to extend this to the class level. Recipe's would be produced=20 to handle different types of configuration by providing the decorator=20 methods. I'm hoping to use decorators exclusively on the classes to do this so=20 there would be no need to modify the code in the classes themselves to=20 accomplish the configuration. Further, classes without this decoration=20 would be skipped by the process allowing this approach to be=20 incorporated into your code gradually. I want to be able to see and=20 verify the zcml produced and have the same control over it that I have no= w. The advantage of having it in buildout is that it becomes integrated=20 into the development of the application, which is by nature just the=20 configuration glue for your packages. Uwe, is there a chance your package can be zpl'd since I believe bebop=20 is gpl and this is fairly low level code that could be a great plus for=20 general z3 development. At the very least I'd like a zpl'd package to=20 handle configuration this way or to borrow from your efforts to move=20 forward with this idea. Regards, David Uwe Oestermeier wrote: > Oliver Marx <[email protected]> writes: >> I have looked at Grok. I love the ideas. But it feels like its a littl= e=20 >> too much convention over configuration. I do not hate zcml. I hate to=20 >> write zcml. If there was a way to auto generate zcml and way to=20 >> overwrite that zcml when needed - then I would be a happy man.=20 >=20 > Have a look at bebop.protocol in PyPI. It's still a preminary version = but > it does exactly what you want. >=20 > Regards, > Uwe >=20 > ________________________________________________________________ > Dr. Uwe Oestermeier > Institut f=FCr Wissensmedien > Knowledge Media Research Center > Konrad-Adenauer-Str. 40 > D-72072 Tuebingen > Germany > [email protected] > Tel. +49 7071 979-208 > Fax +49 7071 979-100 >=20 >=20 >=20 > _______________________________________________ > Zope3-dev mailing list > [email protected] > Unsub: http://mail.zope.org/mailman/options/zope3-dev/fairwinds%40eastl= ink.ca >=20