Connect js nodejs_api_shubhra

Preview:

DESCRIPTION

Building Node.js based APIs in minutes. Achieve full-stack JavaScript, Offline Sync, Geolocation, REST API / JSON, ORM and API Management in open source. Write your own connectors, work on express.js. Create MEAN stack applications connecting Angular to Node to MongoDB. Presented at the Connect.js conference in Atlanta

Citation preview

Merging JS frontend & backend

Shubhra Kar | Director – Productstwitter:@shubhrakar mail:skar@strongloop.com

The Frontend is changing fast (Mobile First !)

And it isn’t even begun yet !

4

APIs are powering this change

SaaS Mobile IoT

SOA

Web

App Server

Database Datacube

API Server

HTML JSON

OK…But how do I cross the legacy bridge ?

<SO

AP/X

ML/H

TTP> <PS

UED

O R

EST>

<JSO

N A

PI>

Distinctly unique Approaches to solve the same problem

Let’s just RESTify our

current SOA to solve this

Architect Developer

7

What backend is being used for APIs ?

Node is FAST

Node is perfect for APIs

Node powers full-stack JS

…and highly concurrent!

Look IoT…Threads

Don’t Wait !

But what exactly is full stack

Full Stack JavaScript is powering mobility

AngularBootstrap

Ionic

Cordova

A Compelling Option for Enterprise Mobility Faster time to market vs. 100% native

development Reuse skills of existing web developer staff Open Source stack / no vendor lock-in For Enterprise apps, performance is comparable

to native apps Near “write once, run anywhere” UI: tablets,

phones, smart TVs, smart watches, cars, etc.

Gartner predicts by 2016 more than 50% of the apps deployed will be

Hybrid apps.

http://www.gartner.com/newsroom/id/2324917

LoopBackAPI ServerNode.js

But is the backend really being written in JS ?

• Node.js active contributors (>65K)• Very large and active developer community• Growing / most modules (100K > Java, Ruby, PHP…)

The emergence of the API economy

Compilers

AppServer

PaaSmBaaS

API Server

Speed of Development

Cost, Control, Data

RESTAPI

PUSH

GEOOFF

SYNC

DEVICE

USER FILE

Storage

REST

APIGATEWAY

Channel SDKs

ORMAPI ENGINE

CONNECTORs

API

SDKs

So some developers wrote an Open source API server

REST API

APIExplorer

Debugging, Provisioning, Scaling, Monitoring

These guys sent me !

Bert Belder

Ben Noordhuis

Node Core

RaymondFeng

Ritchie Martori

LoopBack / Express Core

SamRoberts

Miroslav Bajtos

Ryan Graham

So how can you contribute ?

http://loopback.iohttp://expressjs.com

Community contributions till date

Loopback Open-source Node.js Framework

$ slc loopback

_-----_ | | .--------------------------. |--(o)--| | Let's create a LoopBack | `---------´ | application! | ( _´U`_ ) '--------------------------' /___A___\ | ~ | __'.___.'__ ´ ` |° ´ Y `

[?] Enter a directory name where to create the project: (.)

Middleware API Engine

ORM

Aggregation & Mashups

API Explorer (Swagger)

Fine Grained Access Control (ACLs)

Data Replication

IsoMorphic JS and Client SDKs.

Hail Isomorphic JS

JSclient

JSServer

Remoting

JSclient

Open Source API Explorer (Swagger 2.0)

Open Source Studio

Visual ORM

Discovery

Migration

DEV - API Design & Composition

OPS – Provisioning, Scaling & Monitoring

Open Source mBaaS (mobile Backend as a Service)

Push Notification

GeoLocation

Offline Sync

3rd Party APIs

Device / User Tracking

Cloud / File Storage

Open Source API Gateway

Security (AAA)

Mediation and Transformation

Infrastructure QoS (pagination, throttling, caching, delivery guarantee, firewall)

Analytics and health monitoring

Aggregation and Microservices Routing

Virtualization and Reverse Proxy

Connectors

Connection Management

RDBMS, NoSQL, Services, BigData, Proprietary

Model Discovery

Data Replication

State Management

Storage

Open Source

Enterprise

Storage

REST

Open Source Controller …we talked yesterday !

Debugging

Build Universal Git

Deploy Server Distro Distributed – Mesh

Scale

State Management

That’s how we win.

The Boss

hehe…I am an API Hipster and a Nodie now !

Nodies are not just silicon valley hipsters !

And most recently….#1 Retailer

First there was Node

Thank you!

JUST WIN,BABY!

Recommended