+ All Categories
Home > Software > Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Date post: 15-Apr-2017
Category:
Upload: shubhra-kar
View: 615 times
Download: 0 times
Share this document with a friend
29
Transcript
Page 1: Node Interactive : 7 years, 7 design patterns, will node continue to outshine
Page 2: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

7 years, 7 designs…

Will Node continue to outshine?Shubhra Kar | Joyent, a Samsung company

Page 3: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

About the speaker

{"name": "Shubhra Kar","languages" : ["c/c++","java","javascript","node.js", "golang"],"roles" : ["developer", "architect", "product manager", "evangelist"],"jobs" : ["TATA", "Infosys", "Wily", "StrongLoop", "InfluxDB", "Joyent"],"interests" : ["ea", "api", "mobile", ”containers", "BigData", "IoT", "AI"]"twitter" : ”@shubhrakar”"trait" : ”observer”}

Page 4: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

The Interface roadmap

Serv

eSP

ARe

al-ti

me

Conn

ect

Mob

ileµs

ervic

esIo

T

Lear

nDe

ep AI

<html5> {json} [wav, mp3]

Page 5: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

#1: no reload

Page 6: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

SPAsKey components to keep in mind• Chunking• Controllers• Templating• Routing• Real-time communication• Local storage

Helpful…but not neededJS frameworks: AngularJS, Knockout.js, Backbone.js, Ember.js, Meteor.js, ExtJS and React

Node frameworks: DIY,Sails.js, Meteor.js, Derby, koa, etc

RTC: HTML5 WebSockets, Socket.io, SignalR

Courtesy: Trello

Page 7: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

#2: zero latency

Page 8: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Real-time AppsKey components• Angular LiveSets• Loopback• HTML5 EventSource web API• ChangeStream using EventSource protocol

http://bit.ly/2gDpShO

Courtesy: StrongLoop

Page 9: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Real-time @consumer scale

Courtesy: Linkedin

Page 10: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Real-time @consumer scale

Courtesy: Linkedin

Page 11: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

NodeTrivia

Guess who ?Tweet @shubhrakar for a shot at the raffle

Page 12: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

#3: the new #1 interface

Page 13: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Mobile APIs

Page 14: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Mobile Services (Push, Geo, Offline)Developer SDKs

JSclient

JSServer

Remoting

JSclient

Page 15: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Full stack mobile frameworks

AngularBootstrap

Ionic

CordovaLoopBackAPI ServerNode.js

Gartner predicts by 2018 more than 50% of the apps deployed will be Hybrid apps.

Page 16: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

#4: shrink and ship

Page 17: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Microservices (by Martin Flower)

Page 18: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Microservices (Polyglots)• using Netflix OSS and Spring Cloud

Page 19: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Microservices (Node purist)

Autopilot Pattern (http://autopilotpattern.io)

Mandatory components• Container Pilot• Consul• Triton• Docker

Choice components• Seneca• Hapi.js• InfluxDB• SmartThings

Sensors

Page 20: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Autopilot Pattern (http://autopilotpattern.io)

Mandatory components• Container Pilot• Consul• Triton• Docker

Choice components• Nginx• Wordpress• Memcached• MySQL

Polyglot w Container Pilot

Page 21: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

The natural affinity

Minimalistic

Immutable

Page 22: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

#5: re-connect

Page 23: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

IoT

Smart Wearables, Utilities, Agriculture (Embedded)

Smart Offices, Homes, Vehicles, Logistics (OEM)

Industrial Automation

Edge Gateway

ProtocolBridge

BluetoothWifi

Satellite

Control

Operations + Embedded Dashboards

Learning & Analytics

API Gateway

Data & Context

Data & Context

Auth

Page 24: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Real-time API Gateways

Courtesy: StrongLoop

Page 25: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

IoT (Recent JS advances)• JerryScript (https://github.com/jerryscript-project/

jerryscript)• Super lightweight JavaScript engine• Can run on micro-controller devices with <64KB RAM and <200KB

Flash• On-Device compilation, execution and access to peripherals• Written in C99 for maximum portability

• IoT.js (https://github.com/Samsung/iotjs)• JavaScript Platform for the IoT• Built on JerryScript and libuv• Linux, NuttX, Raspberry pi, Artik, OSX

Page 26: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

#6 & #7: learn & converse

Page 27: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Deep Learning and AI

Page 28: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Deep Learning and AIChatbots are taking over !

• Training your bots is the key• Node is the #1 choice for messaging and APIs • JSON is the #1 data construct• GoLang and Java are fighting it out for Deep Learning.

I think Go will win !

Page 29: Node Interactive : 7 years, 7 design patterns, will node continue to outshine

Meet your new BFFs !


Recommended