This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Eliminer les fonctionnalités non essentielles | |
Quantifier précisément le besoin | |
Fluidifier le processus | |
Préférer la saisie assistée à l'autocompletion | |
Favoriser un design simple, épuré, adapté au web | |
Privilégier une approche "mobile first", à défaut RESS | |
Respecter le principe de navigation rapide dans l’historique | |
Proposer un traitement asynchrone lorsque c'est possible | |
Limiter le nombre de requêtes HTTP | |
Stocker les données statiques localement |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
docker run -d \ | |
-p 80:80 \ | |
-v /var/run/docker.sock:/tmp/docker.sock:ro \ | |
--restart=always \ | |
--name proxy \ | |
jwilder/nginx-proxy | |
docker network create proxy | |
docker network connect proxy proxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker | |
brew install docker-machine | |
brew install docker-machine-nfs | |
brew install docker-compose | |
# require virtual box https://www.virtualbox.org/wiki/Downloads | |
docker-machine create --driver virtualbox default | |
docker-machine-nfs default —shared-folder=/Users/{first_name.last_name}/Sites | |
# don't forget 'mkdir ~/Sites' first ;) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function todoController($scope) { | |
$scope.todos = [ | |
{ | |
name : 'Ma premiere tâche' | |
}, | |
{ | |
name : 'Ma seconde tâche' | |
} | |
]; |