26
Creating Backends in Minutes with Backend as a Service Philipp Michel, @phimi_ Dr. Lutz Kohl, @lutzkohl @moosecon 2013 06.03.2013, Hannover Donnerstag, 7. März 13

Backendasaservice apiomat

Embed Size (px)

Citation preview

Page 1: Backendasaservice apiomat

Creating Backends in Minutes with

Backend as a ServicePhilipp Michel, @phimi_Dr. Lutz Kohl, @lutzkohl

@moosecon 201306.03.2013, Hannover

Donnerstag, 7. März 13

Page 2: Backendasaservice apiomat

Why we created a Backend as a Service

• We are a Team of Backend-Devs, Frontend-Devs and ProjectManagers

• We have developed several apps

• Backend has always been „pain in the ass“ that no one is willing to pay

• so we decided to make things easier

Donnerstag, 7. März 13

Page 3: Backendasaservice apiomat

Do you need a Backend?

Donnerstag, 7. März 13

Page 4: Backendasaservice apiomat

with Backendwithout

Backend

RapunzelToothbrushFlashlightRechnen

new App

InstagramXINGWWM

kaufDA

or

Donnerstag, 7. März 13

Page 5: Backendasaservice apiomat

with Backend

Backend exists

new Backend

Immoscout24DB NavigatorHRS Hotels

Amazon

WunderlistAngry Birds

IT-GipfelmyTaxi

or

Donnerstag, 7. März 13

Page 6: Backendasaservice apiomat

selfmade BaaSor

new Backend

Donnerstag, 7. März 13

Page 7: Backendasaservice apiomat

Where is the problem?

selfmade

Donnerstag, 7. März 13

Page 8: Backendasaservice apiomat

selfmade BaaSor

new Backend

Donnerstag, 7. März 13

Page 9: Backendasaservice apiomat

What does Backend as a Service

offer?

BaaS

Donnerstag, 7. März 13

Page 10: Backendasaservice apiomat

Rest-­‐Api

Database            Server

Donnerstag, 7. März 13

Page 11: Backendasaservice apiomat

apiOmat  provides  everything  blue  on  this  screenYou  will  have  to  do  the  red  things  on  this  screen

Rest-­‐Api

DatabaseData  model

Business  Logic

           Server

Donnerstag, 7. März 13

Page 12: Backendasaservice apiomat

Rest-­‐Api

Database

Push

Im-­‐  Export

Connect  to  FB,TwiDer...

Messaging

Data  model

Business  Logic

Backup

apiOmat  provides  everything  blue  on  this  screenYou  will  have  to  do  the  red  things  on  this  screen

           Server

Donnerstag, 7. März 13

Page 13: Backendasaservice apiomat

iOS  App

Rest-­‐Api

CRUD  +  Queries

Database

Push

Im-­‐  Export

Connect  to  FB,TwiDer...

Messaging

Data  model

Business  Logic

Backup

Datamodels

apiOmat  provides  everything  blue  on  this  screenYou  will  have  to  do  the  red  things  on  this  screen

           Server

Donnerstag, 7. März 13

Page 14: Backendasaservice apiomat

iOS  App

Android  App

Rest-­‐Api

CRUD  +  Queries

Database

Push

Im-­‐  Export

Connect  to  FB,TwiDer...

Messaging

Data  model

Business  Logic

Backup

Datamodels

CRUD  +  Queries

Datamodels

apiOmat  provides  everything  blue  on  this  screenYou  will  have  to  do  the  red  things  on  this  screen

           Server

Donnerstag, 7. März 13

Page 15: Backendasaservice apiomat

iOS  App

Android  App Dashboard  Website

Rest-­‐Api

CRUD  +  Queries

Database

Push

Im-­‐  Export

Connect  to  FB,TwiDer...

Messaging

Data  model

Business  Logic

Backup

Datamodels

CRUD  +  Queries

Datamodels

CRUD  +  Queries

Datamodels

apiOmat  provides  everything  blue  on  this  screenYou  will  have  to  do  the  red  things  on  this  screen

           Server

Donnerstag, 7. März 13

Page 16: Backendasaservice apiomat

           Server

iOS  App

Android  App Dashboard  Website

Rest-­‐Api

CRUD  +  Queries

Database

Push

Im-­‐  Export

Connect  to  FB,TwiDer...

Messaging

Data  model

Business  Logic

apiOmat  provides  everything  blue  on  this  screenYou  will  have  to  do  the  red  things  on  this  screen

Backup

Datamodels

CRUD  +  Queries

Datamodels

CRUD  +  Queries

Datamodels

Cloud  hosted

Donnerstag, 7. März 13

Page 17: Backendasaservice apiomat

crud your datamulti platform sdkspushgeo queriesuser managementdata editorpic hostingquery languageim/exportcustom business logic

BaaS Functionalities

Donnerstag, 7. März 13

Page 18: Backendasaservice apiomat

new Backend

selfmade BaaS

slow dev speed fast

full customizability depends

expensive dev cost cheap

depends scalability promised

depends security promised

or

Donnerstag, 7. März 13

Page 19: Backendasaservice apiomat

With choosing a BaaS-Provider...

...I will be locked in his systemNo. You own the data. You can export it.

...I won‘t be flexible enoughNo. You can inject custom backend logic.

... I cannot connect to my existing data No. You can import/connect your data.

... my Data will be somewhere on the world No. apiOmat is completely hosted in Germany.

BaaS -Myth

Donnerstag, 7. März 13

Page 22: Backendasaservice apiomat

CityKit

• Adresses, Offers, Coupons, Appointments around the user

• 30 Data Model Classes, csv import

• Native iOS & Android App

• PHP-Website, GWT-Dashboard

• only 2 month for planning and implementing backend and iOS-App

Donnerstag, 7. März 13

Page 23: Backendasaservice apiomat

Generic vs. generated SDK

• if we would have used a generic sdk we would have implemented 30 data models 4 times

• we edited the data models on the website --> 120 classes in the sdks were generated automatically

Donnerstag, 7. März 13

Page 24: Backendasaservice apiomat

Kostenvergleich

Donnerstag, 7. März 13

Page 25: Backendasaservice apiomat

Backend costs of a medium sized App with 3 frontends (iOS, Android, Web)

selfmade BaaS

27.100 € Setup 3.000 €

13.200 € Costs per year 4.800 €

93.100 € after 5 years 27.000 €

vs.

Donnerstag, 7. März 13