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 -------------------- 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. if [ ! `id -u` -eq "0" ] then echo "not root, trying sudo" exec sudo "$0" "$@" fi 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 ---------------------