Local behavior support for Dexterity


Just created this: https://github.com/inigoconsulting/collective.localbehavior

Back in MyGOSSCon, Dylan Jay of Pretaweb mentioned about his discussion on getting rid of content type concept altogether and replace it with just Deco type.

It sounds to me a lot like having local behavior for Dexterity, where each content may have its own set of behaviors assigned. So you can just add a Dexterity content, and if suddenly you decide you want to add more fields or behaviors, just for that content, you can just assign the local behavior on it.

eg: you added a Page, but suddenly you think that this page should be an event. The main way to do this is to delete the page, and create an Event instead. But with local behavior, your can just assign an Event local behavior and the content will have the fields and viewlets needed to turn it into an event.

If you are interested in above, you might also be interested with this : http://svn.plone.org/svn/collective/collective.miscbehaviors/


2 comments

Popular posts from this blog

Adding simple popup to Plone frontpage

Tee'ing Python subprocess.Popen output

HOWTO: Mirroring Yum repositories using Yum-Utils