[Grok-dev] Re: access to the parts directory

Martijn Faassen faassen at startifact.com
Fri Apr 25 20:44:14 EDT 2008

Sebastian Ware wrote:
> 25 apr 2008 kl. 18.11 skrev Martijn Faassen:
>> Christian Theune wrote:
>> [snip]
>>> (this is pseudo-buildout)
>>> zope.conf = ...
>>>    <product-config joachim>
>>>    my-path ${buildout:directory}/parts/foo
>>>    </product-config>
>>> Then in your code, you can retreive this data using:
>>>    import zope.app.appsetup.product
>>> zope.app.appsetup.product.getProductConfiguration('joachim').get('my-path') 
>> Cool, I didn't know this! Joachim, if you can work this out, you 
>> should write a document on how to use this for grok.zope.org.
> Developer notes, developer notes, developer notes... :)

I was thinking that too, but there is only so much I can write and it'll 
be a long way before I got around to this. The best way to get this 
stuff into people's hands is to write a document yourself and place it 
on grok.zope.org. The developer notes should not become a bottleneck.

I'm sure eventually we'll go through grok.zope.org and mine it for the 
developer's notes, but please go ahead and continue to write documents 
for it. These are immediately useful, no wait required.



More information about the Grok-dev mailing list