Skip to content

Instantly share code, notes, and snippets.

@vinyll
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinyll/fe3c76d2aea51b870935 to your computer and use it in GitHub Desktop.
Save vinyll/fe3c76d2aea51b870935 to your computer and use it in GitHub Desktop.
JS avancé

Sujets divers, specifiques, intéressant à aborder lors d'une formation JS avancée.

Sujets spécifiques

  • bind, apply, call, closure
  • procedural / oop / fonctionnel
  • use strict
  • IIFE
  • lib client + serveur
  • require
  • grunt, casper

Dépendances

  • bower, npm, webpack, browserify, require

Automatisation

  • gulp, grunt, brunch, brocolli, invoke, make

Testing

CasperJS, Jasmine, Mocha, Karma, Sinon

JS Serveur

  • nvm, io.js, webpack

Culture JS

Frameworks Web

  • Express, Meteor, VueJS(?), Polymer

Frameworks Mobile

  • React, Cordova, Titanium

Autre outils

  • Johnny-five

Debugging

Ressources

Exo

  1. log sur click lien (queryselector, addeventlisterner, closure)
  2. log click sur plusieurs liens (map.call, scope)
  3. isoler le code (rendre non global) (IIFE)
  4. compteur de click (classe, get/set)
  5. persistence du compteur (localstorage / innodb)
  6. stockage sur un serveur (fetch, websocket, socketio, express)
  7. lien très populaire = prefetch des pages (webworkers, history, reecriture url)
  8. geolocalisation des clients
  9. animation sur disparition de la page

A voir

  • ES5 / ES6 ?
  • Testing Casper ?
  • WebCompononent link ?
  • debugger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment