[Zope-CMF] [dev] CMFSetup: some questions

yuppie y.2004_ at wcm-solutions.de
Thu Jul 15 06:58:24 EDT 2004


Hi!


Had a first look at CMFSetup. I think this is a very useful tool.


General Questions:
------------------


1.) dependencies and integration

Right now CMFSetup is an add on. You don't have to install that Product 
if you don't want to use it. But if you want to use it, you have to 
install CMFCore, CMFDefault, CMFTopic and DCWorkflow.

Third-party products should extend the tool by registering import / 
export handlers. Wouldn't it make sense to do the same for products like 
DCWorkflow? That way the framework CMFSetup needs to know nothing about 
DCWorkflow and we have an example for third-party products.

What about adding the setup tool to a new CMFDefault site by default?


2.) default profile

The default profile seems to be CMFDefault data, while it is not 
completely in sync with CMFDefault.

Shouldn't this profile live in CMFDefault and be in sync?

What would be necessary to use that profile also for site creation?


3.) export_steps.xml

Why is 'export_steps.xml' part of a profile? Currently I have to load 
the default profile to be able to export something or make a snapshot.


Detail Questions:
-----------------


4.) lists in xml

Sometimes lists are stored in attributes using values like::

     ','.join( action[ 'permissions' ] )
     ' '.join(info['roles'])

Sometimes they are stored in subelements. Does that follow any policy?


5.) action elements not in sync

I guess at least 'apcExport.xml' and 'ticTypeExport.xml' should be in 
sync. Permissions should always be a list. See also my "naming 
conventions proposal".


Cheers,
	Yuppie




More information about the Zope-CMF mailing list