[Zope-CMF] Re: Plone needs a release this week

Tres Seaver tseaver at palladion.com
Tue Jul 31 11:17:18 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Charlie Clark wrote:
> Am 31.07.2007 um 15:51 schrieb yuppie:
> 
>> AFAICS the premature GenericSetup 1.3 release has the biggest issues:
> 
> I'm behind the loop on GenericSetup having only encountered it when  
> writing a content type for a single site. I would appreciate an  
> explanation of the difference between declarative and imperative as  
> linguistically they are almost identical. I have never done imports &  
> exports so would appreciate knowing where to go to read up on them so  
> that I can contribute to the debate or at least understand it fully.

'imperative' indicates that the profile executes arbitrary Python code;
 'declarative' indecates that the profile applies external configuration
data, read from one or more data files in the profile.

Running two imperative profiles, A and B, may create different effects
based on the order in which they are run, or whether they are run more
than once.  With declarative profiles, OTOH, the state is all captured
in the data file(s), which means there are no ordering depencencies, and
it is always "safe" (idempotent) to reapply the step.



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGr1J++gerLs4ltQ4RAhlXAJ9JzP8Mlm1aTHuY4P6iKqNbkS77PgCgrwvm
qIzDT7DK+IHGFyc2V74fHGw=
=DrXR
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list