diff options
author | tv <tv@also> | 2011-08-08 00:52:26 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-08-08 00:52:26 +0200 |
commit | 04fea470969698c9587e4fe04e1e42cfaf703b9a (patch) | |
tree | 58216aa473f116c8be1bc5cf600f1b64a060c91c /cholerab/pattern/README | |
parent | 352ab13b308df24c70b4548c764397a8c67a1fd7 (diff) |
cholerab/{enterprise -> pattern}
Diffstat (limited to 'cholerab/pattern/README')
-rw-r--r-- | cholerab/pattern/README | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/cholerab/pattern/README b/cholerab/pattern/README new file mode 100644 index 00000000..03c1c068 --- /dev/null +++ b/cholerab/pattern/README @@ -0,0 +1,52 @@ +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 (eon) +---------------------------- +Device that turns something on as soon as possible. + +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 test "${nosudo-false}" != true -a `id -u` != 0; then + echo "we're going sudo..." >&2 + exec sudo "$0" "$@" + exit 23 # go to hell +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 +--------------------- |