SlideShare a Scribd company logo
Academy PRO
Misc
Lectures plan
1. Node.js Platform
2. Web applications - Default stack
3. Web applications - Alternative stacks
4. Node.js in Production
5. Miscellaneous
Node.js in
1. CLI
2. OS API
3. Networks
4. Data access
5. Testing
6. IoT
CLI - argv
CLI - argv - yargs
https://github.com/yargs/yargs
CLI - argv - commander
https://github.com/tj/commander.js
CLI - colors
https://github.com/chalk/chalk
CLI - autocomplete
https://github.com/f/omelette
azure-xplat-cli
CLI - questioning
https://github.com/sboudrias/Inquirer.js
CLI - UI
https://github.com/chjj/blessed
CLI - UI
https://github.com/yaronn/blessed-contrib
Line Chart
Bar Chart
Stacked Bar Chart
Map
Gauge
Stacked Gauge
Donut
LCD Display
Rolling Log
Picture
Sparkline
Table
Tree
Markdown
Npm global modules
OS info
Network - http
Network - http
https://github.com/mzabriskie/axios
Network - tcp
Network - udp
Network - WebSockets
https://github.com/websockets/ws
Network - socket.io cluster architecture
https://github.com/elad/node-cluster-socket.io
● Proxy requests from 1 IP to same worker
● Persistent storage
https://github.com/socketio/socket.io-redis
socket.io cluster master
socket.io cluster worker
socket.io app integration
Data access patterns
HTTP
Routers
Controllers
Services
Repositories
Models
ORM - Object Relationship Mapper
ODM - Object Document Mapper
Active Record Data Mapper
Active Record
Mongoose Sequalize
Data mapper
https://github.com/typeorm/typeorm
Data Access Layer - Repository
Returning callbacks
Testing
Testing - assertion chaijs
Testing - mocks, stubs, spies
https://github.com/sinonjs/sinon
Testing - Dependency injection
Testing - Dependency injection
https://github.com/jaredhanson/electrolyte
Testing - Dependency injection
https://github.com/thlorenz/proxyquire
Testing - runners - mocha
sync
async
Testing - mocha
Testing - runners - ava
Testing - API
https://github.com/visionmedia/supertest
IoT - johny-five
Johnny-Five is an Open Source, Firmata Protocol based,
IoT and Robotics programming framework.
- Arduino (all models)
- Electric Imp
- Beagle Bone
- Intel Galileo & Edison
- Linino One
- Pinoccio
- pcDuino3
- Raspberry Pi
- Particle/Spark Core & Photon
- Tessel 2
- TI Launchpad and more!
IoT - johny-five
IoT - Tessel
2 Tessel Module ports
2 USB ports
802.11bgn Wifi
Ethernet
580MHz Mediatek MT7620n
64 MB DDR2 RAM & 32 MB Flash
48MHz Atmel SAMD21 coprocessor
microUSB
IoT - Tessel
IoT - Tessel
npm install t2-cli -g
t2 wifi -n [ssid] -p [password]
t2 run ambient
Academy PRO: Node.js - miscellaneous. Lecture 5

More Related Content

Similar to Academy PRO: Node.js - miscellaneous. Lecture 5 (20)

PPTX
Academy PRO: Node.js alternative stacks. Lecture 3
Binary Studio
 
PDF
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
apidays
 
PDF
(C)NodeJS
Jackson Tian
 
PPTX
Academy PRO: Node.js default stack. Lecture 2
Binary Studio
 
PPT
State ofappdevelopment
gillygize
 
ODP
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
Eric D. Schabell
 
PDF
URL Design
Walter Ebert
 
PPTX
Front-end development introduction (JavaScript). Part 2
Oleksii Prohonnyi
 
PDF
Codemotion 2012 Rome - An OpenShift Primer
Eric D. Schabell
 
PDF
DevOps of Python applications using OpenShift (Italian version)
Francesco Fiore
 
PDF
Kandroid for nhn_deview_20131013_v5_final
NAVER D2
 
PDF
Jaap : node, npm & grunt
Bertrand Chevrier
 
PDF
Dependent things dependency management for apple sw - slideshare
Cavelle Benjamin
 
PDF
OpenFest 2016 - Open Microservice Architecture
Nikolay Stoitsev
 
PDF
Core Android
Dominik Helleberg
 
PPT
Sistema de Notificações com SignalR TDC 2014
Waldyr Felix
 
PDF
Talking to Web Services
DrupalcampAtlanta2012
 
PPT
Sergey Ilinsky Presentation Ample Sdk
Ajax Experience 2009
 
PDF
Scaling up development of a modular code base
Robert Munteanu
 
PPT
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
ryancox
 
Academy PRO: Node.js alternative stacks. Lecture 3
Binary Studio
 
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
apidays
 
(C)NodeJS
Jackson Tian
 
Academy PRO: Node.js default stack. Lecture 2
Binary Studio
 
State ofappdevelopment
gillygize
 
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
Eric D. Schabell
 
URL Design
Walter Ebert
 
Front-end development introduction (JavaScript). Part 2
Oleksii Prohonnyi
 
Codemotion 2012 Rome - An OpenShift Primer
Eric D. Schabell
 
DevOps of Python applications using OpenShift (Italian version)
Francesco Fiore
 
Kandroid for nhn_deview_20131013_v5_final
NAVER D2
 
Jaap : node, npm & grunt
Bertrand Chevrier
 
Dependent things dependency management for apple sw - slideshare
Cavelle Benjamin
 
OpenFest 2016 - Open Microservice Architecture
Nikolay Stoitsev
 
Core Android
Dominik Helleberg
 
Sistema de Notificações com SignalR TDC 2014
Waldyr Felix
 
Talking to Web Services
DrupalcampAtlanta2012
 
Sergey Ilinsky Presentation Ample Sdk
Ajax Experience 2009
 
Scaling up development of a modular code base
Robert Munteanu
 
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
ryancox
 

More from Binary Studio (20)

PPTX
Academy PRO: D3, part 3
Binary Studio
 
PPTX
Academy PRO: D3, part 1
Binary Studio
 
PPTX
Academy PRO: Cryptography 3
Binary Studio
 
PPTX
Academy PRO: Cryptography 1
Binary Studio
 
PPTX
Academy PRO: Advanced React Ecosystem. MobX
Binary Studio
 
PPTX
Academy PRO: Docker. Part 4
Binary Studio
 
PPTX
Academy PRO: Docker. Part 2
Binary Studio
 
PPTX
Academy PRO: Docker. Part 1
Binary Studio
 
PPTX
Binary Studio Academy 2017: JS team project - Orderly
Binary Studio
 
PPTX
Binary Studio Academy 2017: .NET team project - Unicorn
Binary Studio
 
PPTX
Academy PRO: React native - miscellaneous
Binary Studio
 
PPTX
Academy PRO: React native - publish
Binary Studio
 
PPTX
Academy PRO: React native - navigation
Binary Studio
 
PPTX
Academy PRO: React native - building first scenes
Binary Studio
 
PPTX
Academy PRO: React Native - introduction
Binary Studio
 
PPTX
Academy PRO: Push notifications. Denis Beketsky
Binary Studio
 
PPTX
Academy PRO: Docker. Lecture 4
Binary Studio
 
PPTX
Academy PRO: Docker. Lecture 3
Binary Studio
 
PPTX
Academy PRO: Docker. Lecture 2
Binary Studio
 
PPTX
Academy PRO: Docker. Lecture 1
Binary Studio
 
Academy PRO: D3, part 3
Binary Studio
 
Academy PRO: D3, part 1
Binary Studio
 
Academy PRO: Cryptography 3
Binary Studio
 
Academy PRO: Cryptography 1
Binary Studio
 
Academy PRO: Advanced React Ecosystem. MobX
Binary Studio
 
Academy PRO: Docker. Part 4
Binary Studio
 
Academy PRO: Docker. Part 2
Binary Studio
 
Academy PRO: Docker. Part 1
Binary Studio
 
Binary Studio Academy 2017: JS team project - Orderly
Binary Studio
 
Binary Studio Academy 2017: .NET team project - Unicorn
Binary Studio
 
Academy PRO: React native - miscellaneous
Binary Studio
 
Academy PRO: React native - publish
Binary Studio
 
Academy PRO: React native - navigation
Binary Studio
 
Academy PRO: React native - building first scenes
Binary Studio
 
Academy PRO: React Native - introduction
Binary Studio
 
Academy PRO: Push notifications. Denis Beketsky
Binary Studio
 
Academy PRO: Docker. Lecture 4
Binary Studio
 
Academy PRO: Docker. Lecture 3
Binary Studio
 
Academy PRO: Docker. Lecture 2
Binary Studio
 
Academy PRO: Docker. Lecture 1
Binary Studio
 
Ad

Recently uploaded (20)

PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
July Patch Tuesday
Ivanti
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
July Patch Tuesday
Ivanti
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Ad

Academy PRO: Node.js - miscellaneous. Lecture 5