equal
deleted
inserted
replaced
|
1 .. _developerguide: |
|
2 |
|
3 |
|
4 PyAMS Developer's Guide |
|
5 ======================= |
|
6 |
|
7 PyAMS package are developed based on ZCA |
|
8 |
|
9 |
|
10 |
|
11 .. seealso:: |
|
12 |
|
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 |