summaryrefslogtreecommitdiffstats
path: root/cholerab/enterprise/README
blob: cf54c1e9b360798c52a3eeb9f118c9b7be762195 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Enterprise Patterns
==================
Stellt sicher, dass das richtige passiert, egal was gemacht wird

Enterprise Loop
---------------

Enterprise Exception Handling
-----------------------------
ggf ersetzbar durch enterprise loop.


Enterprise Installation
-----------------------

Rebooting
----------

Enterprise Einschalter
--------------------

Supernintendo Pattern
---------------------

Enterprise Root
---------------
scripts which need root access but are called with lower privileges. The Enterprise Root Pattern provides a Solution for this issue by calling the script itself as sudo.
<code>
if [ ! `id -u` -eq "0" ] 
then
  echo "not root, trying sudo"
  exec sudo "$0" "$@"
fi
</script> // enterprise ist, wenn <code> ... </script> trotzdem matcht

Enterprise Shutdown
------------------
Mittel der Wahl um einen Shutdown zu erzwingen

Bsp: das Not-Aus in der Maschinensicherheit

Enterprise Deep Copy
--------------------
Bsp: var copy = JSON.parse(JSON.stringify(source))

Enterprise Thinking
-------------------
Prozess um auf Enterprise Patterns zu kommen

Bug-Driven Development
---------------------