Project

General

Profile

EditorStrategies » History » Version 8

Andreas Müller, 04/28/2010 06:07 PM

1 1 Andreas Müller
{{>toc}}
2
3
4
5
6
# Editor Strategies
7
8
9
Handling protected cache fields and atomized data, freetext areas and structure data input, objects that need to be updated but are related to other objcets, and other issues at the same time needs defined stratagies.
10
11
12
This page tries to point out the different strategies and to lay emphasis on the possible alternatives and considered rules.
13
14
15
16
17
## Strategies
18
19
20 2 Andreas Müller
Strategies to be considere are
21
22
23 1 Andreas Müller
1. Interaction of cache / atomized fields and protected /non protected states
24
25
1. Locking freetext area
26
27
1. Object change strategy
28
29
1. NameRelationships: Editing (in particular basionyms and replaced synonyms, parsing of homonyms)
30 2 Andreas Müller
31
32
33
## Interaction of cache / atomized fields and protected /non protected states
34 3 Andreas Müller
35
36
to be done
37
38 5 Andreas Müller
39 4 Andreas Müller
Just some text to move this all down
40 3 Andreas Müller
41 5 Andreas Müller
42 4 Andreas Müller
Just some text to move this all down
43 3 Andreas Müller
44 5 Andreas Müller
45 4 Andreas Müller
Just some text to move this all down
46
47 5 Andreas Müller
48 4 Andreas Müller
Just some text to move this all down
49
50 5 Andreas Müller
51 4 Andreas Müller
Just some text to move this all down
52
53
Just some text to move this all down
54
55
Just some text to move this all down
56
57
Just some text to move this all down
58
59
Just some text to move this all down
60
61 5 Andreas Müller
62 4 Andreas Müller
Just some text to move this all down
63
64
Just some text to move this all down
65
66
Just some text to move this all down
67
68
Just some text to move this all down
69
70 5 Andreas Müller
71 4 Andreas Müller
Just some text to move this all down
72
73
Just some text to move this all down
74
75
Just some text to move this all down
76
77
Just some text to move this all down
78
79
Just some text to move this all down
80
81
Just some text to move this all down
82
83
Just some text to move this all down
84
85
Just some text to move this all down
86
87
88
89
90 1 Andreas Müller
## Locking freetext area
91
92
93
94
### Attributes that will lead to a lock independent of the object change strategy
95
96
97 5 Andreas Müller
|Attribute| Reasoning |Example(s)|Actions needed| Notes |
98
|name.appendedPhrase|a change in name.appededPhrase is shown in the fullTitleCache and therefore in the freetext, but name.appended phrase can not be parsed  |  | |  |
99
|NOT: taxon.appendedPhrase| a change in taxon.appededPhrase is not shown in the freetext area| | | | |
100 6 Andreas Müller
|All protected caches like | a change in one of the cache fields is reflected in the fullTitleCache and the freetext. Generally the parser may not be able to set the same protected caches as the details view (either it may unprotect parts that are protected on purpose or more often it will protect other caches that do not need to be protected  | _Areca calisoA Becc., Leafl. Philipp. Bot.  8: 2998 (1919)_ may have a protected namecache because the name part is not parsable. Ones you edit this in the freetext the whole string will not be parsable resulting in a protected full title cache  | | |
101 5 Andreas Müller
|name.fullTitleCache |  |  | | |
102
|name.titleCache |  |  | | |
103
|name.nameCache|  |  | |  |
104
|name.authorshipCache|  |  | | |
105
|name.combinationAuthorTeam.nomenclaturalCache (and other teams)|  |  | | |
106 7 Andreas Müller
107
108
### Attributes that will lead to a lock dependent of the object change strategy
109
110
111
* to be done
112 8 Andreas Müller
113
114
115
## Object Change Strategy
116
117
118
Object change stragies may have two extremes. The first resulting in almost no new objects when you change any data. The second resulting in only new objects with even objects created new because they relate to a changed object, e.g. a TaxonName may be created new because its nomenclatural reference has been changed.
119
120
121
In the following these two strategies are described and some rules are destilled from this