Quoi de Node ?

Mathieu Lallemand - CaenJS 2014

~$whoami


Mathieu Lallemand

Project Manager


@lalmat (https://www.tl-dr.fr/)


NCI (30 salariés)
ERP WEB / Intranets / WebApps
R&D

NodeJS ? WTF !?



Le moteur de Javascript de Google Chrome...


... sans Google Chrome ...



... MAIS !

NodeJS


Avec pleins les pleins pouvoirs !!

NodeJS


Open bar sur l'OS
os.freemem();


Accès au système de fichiers
fs.rename();


Pleins de modules au top
Express, Socket.io, SockJS, MySQL, MongoDB, ...



NodeJS

pour quoi faire ?



Plein de trucs !

Sites Internet


Scratch Mode

Express.JS


RoR Forever Mode !

Sails.JS, Rhapsody.JS


"That's the way, han han" Mode

SocketStream, MEAN, ...

Frameworks





http://nodeframework.com/

Programmes "Natifs"


NodeWebKit

(PhoneGap like for Desktop)


Bundle NodeJS + Chrome + App


Multi-plateforme
(OSX, Linux, Windows)

Robotique


NodeBots
http://nodebots.io/


Johnny-five
https://github.com/rwaldron/johnny-five


Cyclon.js (just awesome!)
http://cylonjs.com/


Vos services dédiés




TSE Session Killer


nRelay




nRelay ?

nRelay

Service de Relais Temps Réel 
WebSocket  / Socket.IO


Licence MIT


Un Pusher Like (Heroku)
https://addons.heroku.com/pusher

Heu c'est à dire ?


Relais entre votre  Framework 
et ...
vos Fronts, tous vos Fronts
Oui TOUS  !

> Room Isolation <
> Sync update <
> Push update <
> Refresh Order <

Comment ça marche ?

Avant :

Comment ça marche ?

Après

Features sympas


Temps réel à moindre frais

Support HTTPS, dialogue double tokens

Communication Full JSON

Exemple d'implémentation PHP

Simple (env.240 lignes)

Applications NCI ?



Fermeture de Sessions TSE

Gestion de tickets d'incidents

Système de notifications
 




Démo

Do it faster !


Learn You Node (EN)
https://github.com/rvagg/learnyounode

How To Node (EN)
http://howtonode.org/

Christophe Porteneuve (FR)
JS Total : http://delicious-insights.com/

Merci !


CaenJS 2014
@lalmat


CaenJS - Quoi de node ?

By Mathieu LALLEMAND

CaenJS - Quoi de node ?

Présentation du projet nRelay au CaenJS

  • 825