equal
deleted
inserted
replaced
1 .. _developerguide: |
1 .. _developerguide: |
2 |
2 |
3 |
3 |
4 PyAMS Developer's Guide |
4 Developer's Guide |
5 ======================= |
5 ================= |
6 |
6 |
7 PyAMS package are developed based on ZCA |
7 PyAMS packages are developed based on ZCA |
8 |
8 |
9 |
9 |
|
10 .. toctree:: |
|
11 :maxdepth: 2 |
10 |
12 |
11 .. seealso:: |
13 zca |
12 |
14 extend |
13 |
|
14 Interfaces |
|
15 ---------- |
|
16 |
|
17 Interfaces are objects that specify (document) the external behavior |
|
18 of objects that "provide" them. An interface specifies behavior |
|
19 through: |
|
20 |
|
21 - Informal documentation in a doc string |
|
22 |
|
23 - Attribute definitions |
|
24 |
|
25 - Invariants, which are conditions that must hold for objects that |
|
26 provide the interface |
|
27 |
|
28 Attribute definitions specify specific attributes. They define the |
|
29 attribute name and provide documentation and constraints of attribute |
|
30 values. Attribute definitions can take a number of forms, as we'll |
|
31 |
|