[Product-Developers] Best practice for portal tools now-a-days?

Ricardo Alves rsa at eurotux.com
Fri Nov 21 13:51:07 UTC 2008

Carsten Senger wrote:
> Hi Wichert,
> Wichert Akkerman schrieb:
>> Previously Carsten Senger wrote:
>>> The 'modern' way is to use a local utility registered in a local 
>>> sitemanager. You can turn a folder into a local sitemanager if you 
>>> need the settings context-dependent. I think Martin describes it in 
>>> his book.
>>> An advantage is that you don't have another tool in the zmi. But 
>>> that can also be a disavantage.
>> I think the consensus is now that the modern way you describe is wrong:
>> persistent utilities introduce a lot of problems. You can easily see
>> this if you add a persistent utility to your site and then remove the
>> package from your instance: suddenly your entire instance is broken.
>> My advise would be to store your configuration in portal_properties and
>> use a non-persistent utility.
> That's good to know. It's hard to follow the state-of-the-art without 
> a canonical developers manual (but that may change).
> Is there good example code that can be used as a reference?
> Especially I'm interested in:
> - the storage (Annotation, Propertysheet)
> - formlib or z3c.form (what's will plone core go?)
> - the way to bind the form code to the storage without much
>   boilerplate

plone.app.controlpanel is a good source for inspiration.


Ricardo Alves <rsa at eurotux.com>
Eurotux <http://www.eurotux.com> 

More information about the Product-Developers mailing list