-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
32 lines (23 loc) · 1.12 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
collective.shoppingbehavior
=============================
This document contains design notes for the ``collective.shoppingbehavior``
package.
Introduction
------------
This documentation is intended to be a starting point to get a quick sense of
how the package is constructed. A lot of information can be gleaned from the
source itself, in particular:
- the ``tests`` package
- the ``interfaces`` module
- docstrings throughout the code
What it does (preliminary sketch)
---------------------------------
The goal is to provide optional price assignment on dexterity content, similar
to the functionality of "PloneGetPaid".
A locally-assignable behavior, ``IPriced``, provides the schema extension, and
is locally enableable via the "actions" menu.
The presense of this menu option is determined by whether or not the context
object provides the IPotentiallyPriced interface. Currently this interface is
added to types which want to support pricing either via zcml or ``implements``
declarations in the type definition. This could be made configurable TTW by
adding a second behavior that did nothing but apply this marker interface.