You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 25 / plone.dexterity-2.4.2-1.lbn25.noarch

plone.dexterity-2.4.2-1.lbn25.noarch

Package Attributes
RPM  plone.dexterity-2.4.2-1.lbn25.noarch.rpm Architecture  noarch Size  820464 Created  2023/06/18 04:32:25 UTC
Package Specification
Summary Flexible CMF content
Group Application/Internet
License GPL version 2
Home Page http://pypi.python.org/packages/source/p/plone.dexterity/plone.dexterity-2.4.2.tar.gz
Description

Dexterity is a system for building content types, both through-the-web and as filesystem code. It is aimed at Plone, although this package should work with plain Zope + CMF systems. Key use cases

Dexterity wants to make some things really easy. These are:

  • Create a "real" content type entirely through-the-web without having to know programming. As a business user, create a schema using visual or through-the-web tools, and augment it with adapters, event handlers, and other Python code written on the filesystem by a Python programmer. Create content types in filesystem code quickly and easily, without losing the ability to customise any aspect of the type and its operation later if required. Support general "behaviours" that can be enabled on a custom type in a declarative fashion. Behaviours can be things like title-to-id naming, support for locking or versioning, or sets of standard metadata with associated UI elements. Easily package up and distribute content types defined through-the-web, on the filesystem, or using a combination of the two.

Philosophy

Dexterity is designed with a specific philosophy in mind. This can be summarised as follows:

Reuse over reinvention

As far as possible, Dexterity should reuse components and technologies that already exist. More importantly, however, Dexterity should reuse concepts that exist elsewhere. It should be easy to learn Dexterity by analogy, and to work with Dexterity types using familiar APIs and techniques.

Small over big

Mega-frameworks be damned. Dexterity consists of a number of speciaised packages, each of which is independently tested and reusable. Furthermore, packages should has as few dependencies as possible, and should declare their dependencies explicitly. This helps keep the design clean and the code manageable.

Natural interaction over excessive generality

The Dexterity design was driven by several use cases (see docs/Design.txt) that express the way in which we want people to work with Dexterity. The end goal is to make it easy to get started, but also easy to progress from an initial prototype to a complex set of types and associated behaviours through step-wise learning and natural interaction patterns. Dexterity aims to consider its users - be they business analysts, light integrators or Python developers, and be they new or experienced - and cater to them explicitly with obvious, well-documented, natural interaction patterns.

Real code over generated code

Generated code is difficult to understand and difficult to debug when it doesn't work as expected. There is rarely, if ever, any reason to scribble methods or exec strings of Python code.

Zope 3 over Zope 2

Although Dexterity does not pretend to work with non-CMF systems, as many components as possible should work with plain Zope 3, and even where there are dependencies on Zope 2, CMF or Plone, they should - as far as is practical - follow Zope 3 techniques and best practices. Many operations (e.g. managing objects in a folder, creating new objects or manipulating objects through a defined schema) are better designed in Zope 3 than they were in Zope 2.

Zope concepts over new paradigms

We want Dexterity to be "Zope-ish" (and really, "Zope 3-ish"). Zope is a mature, well-designed (well, mostly) and battle tested platform. We do not want to invent brand new paradigms and techniques if we can help it.

Automated testing over wishful thinking

"Everything" should be covered by automated tests. Dexterity necessarily has a lot of moving parts. Untested moving parts tend to come lose and fall on people's heads. Nobody likes that.

Requires
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
/bin/sh  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
Provides
plone.dexterity
python2.7dist(plone.dexterity)
python2dist(plone.dexterity)
Obsoletes
plone.dexterity-egginfo

Document Actions