getting started with the node.js loopback api framework

16
Shubhra Kar | Products & Education twitter:@shubhrakar Loopback API Framework nodejs @ hyper-scale

Upload: jguerrero99

Post on 10-Aug-2015

324 views

Category:

Software


4 download

TRANSCRIPT

Page 1: Getting Started with the Node.js LoopBack APi Framework

Shubhra Kar | Products & Education twitter:@shubhrakar

Loopback API Framework nodejs @ hyper-scale

Page 2: Getting Started with the Node.js LoopBack APi Framework

About me

u  J2EE and SOA architect

u  Performance architect

u  Node, mBaaS & APIs

Page 3: Getting Started with the Node.js LoopBack APi Framework

Node.js API Buzzwords

Websites

Smart Mobiles

Online Catalog

Social Media

Kiosks

Computers

Physical Store

Gaming Consoles

Page 4: Getting Started with the Node.js LoopBack APi Framework

API “Decomposition” is the game changer

{JSON} {JSON}

{JSON}

<SOAP/XML>

<TABLE>

Web SaaS Mobile loT

HTML JSON

App Server API Server

Page 5: Getting Started with the Node.js LoopBack APi Framework

Node powered Micro-services has arrived

Client SDK

REST Endpoints

Store Cache

API Micro Services

One URL Space

SL API PaaS REST/JSON

API Gateway

Router Remoting Model

API Orchestrator

Cloud Services

Model

Model

Connector

Connector

Connectors

Page 6: Getting Started with the Node.js LoopBack APi Framework

Frameworks evolve as well !

•  Callback •  Reactor •  Observer

•  Express •  HAPI •  Restify •  Total •  Partial

•  Loopback •  Parse •  Meteor •  Feedhenry

•  Loopback •  Sails •  Meteor •  Geddy

•  Loopback •  NodeRED •  Proprietary

KISS MVC

MBaaS ORM/ MEAN

Micro/ loT

Page 7: Getting Started with the Node.js LoopBack APi Framework

Loopback: Open Source nirvana (mBaaS, ORM, Micro)

REST API

PUSH

GEO OFF SYNC

DEVICE

USER FILE

API GATEWAY

Channel SDKs

API ENGINE

CONNECTORs

Relational Database Clustered Database Security Gateway Cloud Firewall SOA Bus ( not sure on this one)

Laptop ( not requested but useful)

Connections

Tablet Phone IoT SDK API SERVER Items for ACL

Quick Example of Use

App Server Add On

App Server

ORM

ACLs

Relational Database Clustered Database Security Gateway Cloud Firewall SOA Bus ( not sure on this one)

Laptop ( not requested but useful)

Connections

Tablet Phone IoT SDK API SERVER Items for ACL

Quick Example of Use

App Server Add On

App Server

Relational Database Clustered Database Security Gateway Cloud Firewall SOA Bus ( not sure on this one)

Laptop ( not requested but useful)

Connections

Tablet Phone IoT SDK API SERVER Items for ACL

Quick Example of Use

App Server Add On

App Server

Relational Database Clustered Database Security Gateway Cloud Firewall SOA Bus ( not sure on this one)

Laptop ( not requested but useful)

Connections

Tablet Phone IoT SDK API SERVER Items for ACL

Quick Example of Use

App Server Add On

App Server

Data and Services

Remoting

Pub Sub

Page 8: Getting Started with the Node.js LoopBack APi Framework

Right interface for the right user

  Arc UI – architect view –  Widget driven –  Visual composition,

management & operations –  Marquee featured, evolving

platform

  StrongLoop Console (slc) - developer view –  Command Line Interface –  Full featured –  Greater customization

support

Page 9: Getting Started with the Node.js LoopBack APi Framework

API Explorer (Swagger) – API documentation and agile build

Page 10: Getting Started with the Node.js LoopBack APi Framework

Data & Services Integration

Services

Relational Database Clustered Database Security Gateway Cloud Firewall SOA Bus ( not sure on this one)

Laptop ( not requested but useful)

Connections

Tablet Phone IoT SDK API SERVER Items for ACL

Quick Example of Use

App Server Add On

App Server

Storage

Relational Database Clustered Database Security Gateway Cloud Firewall SOA Bus ( not sure on this one)

Laptop ( not requested but useful)

Connections

Tablet Phone IoT SDK API SERVER Items for ACL

Quick Example of Use

App Server Add On

App Server

REST

Messaging

Database

NoSQL

Model Discovery, Migration & Transaction Management !

Page 11: Getting Started with the Node.js LoopBack APi Framework

ORM in Loopback.io

Page 12: Getting Started with the Node.js LoopBack APi Framework

Service discovery based on API specs

Page 13: Getting Started with the Node.js LoopBack APi Framework

Isomorphic JS in Loopback.io

JS client

JS Server

Pub-sub

HTTP Proxy

Remoting

Page 14: Getting Started with the Node.js LoopBack APi Framework

Mobile Backend Services

Offline Sync

Geo Location

Push Notification

Storage

Page 15: Getting Started with the Node.js LoopBack APi Framework

Security & Social Logins

A node.js Gateway is coming up too !

API Clients API Gateway API Server

API

Page 16: Getting Started with the Node.js LoopBack APi Framework

StrongLoop – node.js Development to Production

Build and Deploy

Automate Lifecycle

Performance Metrics

Real-time production monitoring

Profiler Root cause

CPU & Memory API Composer Visual modeling

StrongLoop Arc

Process Manager

Scale applications"

Q2 2015

Mesh Deploy

containerized

ORM, mBaaS, Realtime