old blog,

Local behavior support for Dexterity

Izhar Firdaus Izhar Firdaus Follow Support Dec 26, 2011 · 1 min read
Local behavior support for Dexterity
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

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/

Written by Izhar Firdaus Follow Support
I'm a system architect, data engineer and developer advocate with passion in Free / Open Source software, entrepreneurship, community building, education and martial art. I take enjoyment in bridging and bringing together different FOSS technologies to help businesses and organizations utilize IT infrastructure to aid and optimize their business and organizational process.

Fedora Activity Day KL January 2012

Fedora Activity Day is BACK!!!, Date: 21st January 2012, 10am-6pmLocation: UCTI/APIITSubmit a session here: http://fedora.my/events/f...

In old blog, Dec 25, 2011

« Previous Post

AppRepo updates.

Some updates I did on AppRepo throughout the weekend:Use .catalog instead of browser pluginSupport multiple distributions Use icon in...

In old blog, Dec 26, 2011

Next Post »