You have a simple example in archgenxml: http://svn.plone.org/svn/archetypes/ArchGenXML/trunk/src/archgenxml/plone/config_py.py It uses zope.component and only component.provideAdapter(ConfigPyView) at the end to register the adapter. -- Vincent Fretin