Conceptualized by Alistair Cockburn. Also known as "Ports and Adapters".
In a nutshell:
Application Driver -> Primary Adapter -> Primary Port -> Use Case -> Secondary Port -> Secondary Adapter -> External System/Side Effect
| #!/bin/bash | |
| while true | |
| do | |
| STATUS=$(curl -s -o /dev/null -w '%{http_code}' http://www.google.com) | |
| if [ $STATUS -eq 200 ]; then | |
| echo "Got 200! All done!" | |
| break | |
| else | |
| echo "Got $STATUS :( Not done yet..." |
| snipet |
| { | |
| "DE": { | |
| "special chars": "ÄäÖöÜüẞß" | |
| }, | |
| "ES": { | |
| "special chars": "áéíóùü" | |
| } | |
| } |