Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install dolmen.content

How to install dolmen.content

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install dolmen.content
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
2.0a2 Available View build log
2.0a1 Available View build log
0.7.1 Available View build log
0.7.0 Available View build log
0.6.1 Available View build log
0.6 Available View build log
0.5.1 Available View build log
Windows (64-bit)
2.0a2 Available View build log
2.0a1 Available View build log
0.7.1 Available View build log
0.7.0 Available View build log
0.6.1 Available View build log
0.6 Available View build log
0.5.1 Available View build log
Mac OS X (10.5+)
2.0a2 Available View build log
2.0a1 Available View build log
0.7.1 Available View build log
0.7.0 Available View build log
0.6.1 Available View build log
0.6 Available View build log
0.5.1 Available View build log
Linux (32-bit)
2.0a2 Available View build log
2.0a1 Available View build log
0.7.1 Available View build log
0.7.0 Available View build log
0.6.1 Available View build log
0.6 Available View build log
0.5.1 Available View build log
Linux (64-bit)
2.0a2 Available View build log
2.0a1 Available View build log
0.7.1 Available View build log
0.7.0 Available View build log
0.6.1 Available View build log
0.6 Available View build log
0.5.1 Available View build log
 
License
ZPL
Lastest release
version 2.0a2 on Jun 15th, 2011

The package dolmen.content is a convenient way to define content types, using the zope component architecture (ZCA). It provides a set of Grok directives and base components, including a simple content and a container.

Changelog

2.0a2 (2011-06-14)
  • We are now using the latest version of dolmen.container that depends on cromlech.container.
2.0a1 (2011-05-04)
  • Tests are now done through py.test
  • dolmen.content now bases the grokking on Model, a non-persistent content type.
  • The package no longer depends on zope.annotation.
  • The base module was renamed to components.
  • We now use dolmen.container instead of zope.container.
0.7.1 (2011-02-16)
  • Added util function to retrieve the schema from a component. This deals with the martian new handling of baseclasses. get_schema should return the schema directive default value, even if called on a baseclass that does not define schema.
0.7 (2011-02-11)

This version is a major breakdown and is not backward compatible with the previous ones:

  • BaseContent no longer exists. It has been merged with Content.
  • The IBaseContent interface is gone.
  • There are no longer any schema defined by default.
  • dolmen.content contents no longer provide a dublincore title property and are no longer "attribute annotatable" by default.
0.6.2 (2011-02-10)
  • Fixed inheritance bug: the properties of the parent classes were overriden, if defined in the schema. This has been solved by deferring the schema treatment in the class advisor and by using 'hasattr' instead of checking the class __dict__.
0.6.1 (2011-02-02)
  • Cleaned up the ZCML declarations, to be sure it includes all the needed dependencies.
0.6 (2010-11-06)
  • Cleaned up dependencies. zope.formlib is no longer used.
  • The code has been updated to work with the latest martian and grokcore.component.
  • The __content_type__ property is now a unicode string. This will convert the given name to unicode or die trying.
0.5.1 (2010-07-13)
  • Added zope domain translation for the Title label of the IBaseContent interface.
0.5 (2010-07-13)
  • Default factory now provides a valid IFactory implementation. Added tests to fix that.
  • Changed the policy of the __content_type__ attribute computation. Tests have been added to prevent any changes and regression.
  • Added an util function to fetch the content type of an object or class.
  • The IFactory interface now allows empty title and description, in accordance with the base value of the generic factory and directives.
0.4 (2010-07-13)
  • Factories now provide a name and a description, in addition to the title. These attributes, by default, fetch the generated class directives' values.
  • Updated tests and improved the coverage.
  • The factories name attribute no longer returns a cooked i18n value, but the name directive's value of the generated class. The form has to take care of its own title now.
0.3.1 (2010-02-22)
  • Corrected a very important bug in the models instanciation. The simple instanciation was causing an infinite loop due to imports having the same name than the module classes. This is fixed and tests have been added to test this simple case and avoid regression.
0.3 (2010-02-08)
  • Using the new grokcore.content package, allowing to cut the grok dependency.
  • The BaseContent now sets a default require value at zope.ManageContent. This permission is _NOT_ used, it's just a convenient directive to implement your own security check.
  • Dependencies have been cut down. zope.app packages are no longer used. The tests module has been rewritten for a cleaner and clearer read.
  • Directive icon has been removed. The functionality will be implemented in a standalone package. ATTENTION, this might break your existing code !
  • Directive schema now works without grokking, using a zope.interface class advisor. This allows a flexible bootstrapping, even in non-grokked code.
0.2.2 (2009-09-25)
  • Using the last dolmen.field version with a bug fix.
0.2.1 (2009-09-20)
  • Added tests and cleaned the testing module.
0.2 (2009-09-04)
  • Added an OrderedContainer base class.
0.1 (2009-09-01)
  • Initial release

Subscribe to package updates

Last updated Jun 15th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.