Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Human_Talk_-_Node.js_pour_l_internet_des_objets...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Baptiste
January 15, 2014
14k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Human_Talk_-_Node.js_pour_l_internet_des_objets.pdf
Baptiste
January 15, 2014
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
3
470
Claude Code のすすめ
schroneko
67
230k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Unsuck your backbone
ammeep
672
58k
30 Presentation Tips
portentint
PRO
1
370
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
730
Accessibility Awareness
sabderemane
1
180
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Transcript
L’internet des objets avec Node.JS Baptiste Gauduchon - Yann Jajkiewicz
Mardi 14 Janvier 2014 Maison des projets - Angers
L’internet des objets
None
Node.JS • Framework JavaScript • modèle évènementiel asynchrone
Node.JS
Node.JS Apache + PHP Node.JS Technologie utilisée C Google V8
Javascript Engine; C++ Architecture 1 processus / client Event-loop Opérations asynchrones Non Oui Non-bloquant Non Oui Mémoire / connection client 15 à 30 Mo 1 à 2 Ko Nombre de connexions simultanées fonctionnelles 100 à 200 20 000 à 100 000
Yeah, it’s just awesome !
Application avec Arduino + • LED • Capteurs • Actionneurs
Client Web Client iOS Serveur Node.JS
Application avec Arduino Client Arduino (C/S) INTERFACE CLIENT INTERFACE ARDUINO
Requête HTTP Trame JSON Trame JSON Trame JSON TCP / IP HTTP Serveur REST Node.JS • Parsing HTTP • Construction JSON WEB Metier DAO (C/S)
Application avec Arduino VIDEO
Retour d’expérience • Structure du programme (modèle en couches) •
Interfaces de communication • Frameworks • Gestion des erreurs • Debuggage (types, conditions)
Pour aller plus loin • SmartOS • Dépôt NPM •
QR Code • Code source: github.com/yjajkiew/projet-ei5
None