24
APIs for the new Frontedge Shubhra Kar June 2014 – Cloud Expo

OpenSource Node.js API Framework and Server for Enterprise

Embed Size (px)

DESCRIPTION

Presented at the International Cloud Expo. StrongLoop pioneeded the first fully Open-Source enterprise Node.js API framework and Server. Often called BaaS or mBaaS (Mobile Backend as a Service), this framework helps build APIs from scratch for Web, IoT and Mobile platforms in Node.js

Citation preview

Page 1: OpenSource Node.js API Framework and Server for Enterprise

APIs for the new Frontedge

Shubhra KarJune 2014 – Cloud Expo

Page 2: OpenSource Node.js API Framework and Server for Enterprise

The Frontend is changing

Page 3: OpenSource Node.js API Framework and Server for Enterprise

What else is churning ?

Mobile App Strategy

Big Data & Embedded (M2M)

10%

60%

30%

Enterprise Mobile

NativeHybridMobile Web

40%

40%

20%

Consumer Mobile

NativeHybridMobile Web

Full Stack JavaScript

Wearables

Page 4: OpenSource Node.js API Framework and Server for Enterprise

What needs to be built ? Legacy services won’t fit

Front EdgeThousands to Millions of devices connecting to business APIs

creating the new user experience

APIs for each device, each app, each screen. Optimized for bandwidth & battery, adjusting to each device’s capabilities

Page 5: OpenSource Node.js API Framework and Server for Enterprise

I need to build lightweight and

super performing APIs for my omni-

channels

Yes SOAP/XML wont cut it. Look what I found for

building APIs to glue everything and it’s BLAZING FAST !!!

Page 6: OpenSource Node.js API Framework and Server for Enterprise
Page 7: OpenSource Node.js API Framework and Server for Enterprise

Why Node is awesome

It’s all JavaScript !Huge community (75 K re-usable modules)Reduce development time by 50% or moreReuse existing UX toolsLow latency - MobileEvent-driven and fast by design: 50x fasterNon blocking, high throughput: helps scale 20xHighly concurrent (great for mobile)Does not pollute SOA stack; acts as API glueFull Stack JavaScript is out of box (Angular – Cordova – Node) or (Backbone – iOnic – Node)

Page 8: OpenSource Node.js API Framework and Server for Enterprise

& helps realize a full-stack JavaScript solution

Develop

Create Scaffolding

Define base CSS

Define components

Use JS widgets

Create Scaffolding

Define Models

Define Controllers

Define Views

Define Filters

User

Device

File

GeoLocation

Notification

Define Directives

Configure Routes

Model the Data

Generate REST API

Connect to Data-sources (Oracle, SOAP, Mongo)

Setup Services

Configure API Security

Mobile App Mgmt.

Create UI & styling Arch. & binding Access Native Integrate Existing Data and Services

BLE

Page 9: OpenSource Node.js API Framework and Server for Enterprise

The research begins !

Hmmm…looks like these smart guys did build APIs and their own frameworks in

Node.js

But wait !!! I know how to get these APIs quickly from an mBaaS. The

node.js frameworks out there are just construction

blocks or custom

Page 10: OpenSource Node.js API Framework and Server for Enterprise

Boss, I found the solution – Let’s

buy mBaaS services from a cloud provider

No, you didn’t !. Most of our business data resides

inside the Data-Stores behind the firewall…Come

up with something that works

Ok, I think I found one that fits the bill. It’s called StrongLoop

Page 11: OpenSource Node.js API Framework and Server for Enterprise

Thus 1st Generation mBaaS platforms failed to take off.

mobile/web clients

social & analytics

JSON APIREST API

APIXMLSQL

SOAPEtc.

mBaaS

API tier(Java, Ruby, PHP, C#)

MongoDB, mySQL

tunnels

Enterprise

Page 12: OpenSource Node.js API Framework and Server for Enterprise

RESTAPI

PUSH

GEOOFF

SYNC

DEVICE

USER FILE

Storage

In-Memory

REST

APIGATEWAY

Channel SDKs

CONNECTORS

ORMAPI ENGINE

DATAMODEL

API

SDKs

Loopback: Open Source API Framework in Node.js

JSON API

Config

Page 13: OpenSource Node.js API Framework and Server for Enterprise

Marquee Features

Mobile SDKs Pre-Built Mobile Services ORM – no SQL

Enterprise ConnectorsAuto API Engine API Gateway

Page 14: OpenSource Node.js API Framework and Server for Enterprise

Some magical features in Open Source

Offline Sync

Model Auto-Discovery and Relationship

Connector

Page 15: OpenSource Node.js API Framework and Server for Enterprise

You can stand up an enterprise API in 100 lines of config code

Page 16: OpenSource Node.js API Framework and Server for Enterprise

StrongLoop is both enterprise (on-prem) & cloud

Enterprise

Cloud

Page 17: OpenSource Node.js API Framework and Server for Enterprise

So does this meet our need ?

Dunno….let me check if there are good dev tools for

this solution

Not so fast … How about Ops ? With a new technology,

there are operational challenges

Page 18: OpenSource Node.js API Framework and Server for Enterprise

Node.js Platform Support

18

Node.js Core

strong-module-loader

strong-cluster-connect-

store

strong-cluster-control

SL-Config

Loopback Strong-mq

strong-task-emitter

Engine.io Mongoose

Strong-agent

strong-cluster-

socket.io-store

strong-config-loader

Request

Node-heapdump

Asynch

node-inspector

Passport

Strong-remoting

Q

EJS

Express

Connect

Socket.IO

Reggie Postgres Connector

Oracle Connector

SQL ServerConnector

MongoDBConnector

REST Connector

In-Memory connector

LIBUV

V8 Profiler

① Multi-platform (Windows, Unix, Solaris, Mac) support② On-premises, private or public cloud support③ Certified Node.js curated modules and ecosystem④ Commercial Enterprise supported, security updates

Page 19: OpenSource Node.js API Framework and Server for Enterprise

DevOps Tools – Debugging

Page 20: OpenSource Node.js API Framework and Server for Enterprise

DevOps Tools – Runtime Mgmt. & Dynamic Scaling

Page 21: OpenSource Node.js API Framework and Server for Enterprise

DevOps Tools - Profilers

Page 22: OpenSource Node.js API Framework and Server for Enterprise

DevOps Tools - Performance Monitoring

Page 23: OpenSource Node.js API Framework and Server for Enterprise

StrongLoop API Server

Page 24: OpenSource Node.js API Framework and Server for Enterprise

Aha !!! I get it now. It’s Mule on

Steroids

Nope…it’s Just Enterprise Node !!!

Looks Like JBoss to me