Upload
shubhra-kar
View
1.253
Download
2
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
APIs for the new Frontedge
Shubhra KarJune 2014 – Cloud Expo
The Frontend is changing
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
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
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 !!!
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)
& 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
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
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
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
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
Marquee Features
Mobile SDKs Pre-Built Mobile Services ORM – no SQL
Enterprise ConnectorsAuto API Engine API Gateway
Some magical features in Open Source
Offline Sync
Model Auto-Discovery and Relationship
Connector
You can stand up an enterprise API in 100 lines of config code
StrongLoop is both enterprise (on-prem) & cloud
Enterprise
Cloud
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
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
DevOps Tools – Debugging
DevOps Tools – Runtime Mgmt. & Dynamic Scaling
DevOps Tools - Profilers
DevOps Tools - Performance Monitoring
StrongLoop API Server
Aha !!! I get it now. It’s Mule on
Steroids
Nope…it’s Just Enterprise Node !!!
Looks Like JBoss to me