loopback: a productivity booster for mean

Post on 16-Jul-2015

308 Views

Category:

Software

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

LoopBack.ioA productivity booster for MEAN

Miroslav Bajtoš

NodeSchoolInternational Day

Saturday, May 23, 2015

http://nodeschool.io/international-day

NodeSchool

MongoDB

ExpressJS

AngularJS

NodeJS

Can we do better in 2015?

State of the Art in 2013

MongoDB

Polyglot Persistence & data sourcing(In-)Memory dbMySQLPostgreSQLMicrosoft SQL, OracleSOAP, REST

=> Many datasources

Data

NodeJS => io.js FTW!

Platform

Many data-sources

Io.js

Loopback.io

ANgularJS

Welcome to 2015

Why LoopBack.io?

Wake up to the API Economy !

Internet of Everything

JSON over HTTP (REST)

API Economy

Many data-sources & services

One API to rule them all

API Tier

Which one to

choose?

Don’t Repeat Yourself

DatabasesBuild CrUD API for each model

Services (SOAP, REST)Map back-end API to front-end API

General concerns:Authentication, ACLs

Back-tier

Choose the database on the fly

Unit-testsin-memory database

Integration/end-to-end tests:the real database

PrototypingMongoDB or filesystem-based DB

Perhaps SQL in production?

API Documentation

code = single source of truth

Code-generated clients

server code = single source of truth

Mobile Backend Services

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

RESTAPI

PUSH

GEOOFF

SYNC

DEVICE

USER FILE

Storage

REST

APIGATEWAY

Channel SDKs

API ENGINE

CONNECTORs

API

SDKs

REST

APIExplorer

ORM

ACLs

LoopBackhttp://loopback.io

Get in touchhttp://twitter.com/bajtoshttp://linkedin.com/in/bajtos

THANK YOU!

http://bit.ly/learn-loopback

top related