build, host and manage your custom api in less than an hour

23
BUILD , HOST AND MANAGE YOUR CUSTOM API IN LESS THAN AN HOUR All-in-one platform for Web APIs http://apispark.com October 3, 2013 Jérôme LOUVEL [email protected] CEO

Upload: jerome-louvel

Post on 18-Jun-2015

129 views

Category:

Technology


0 download

DESCRIPTION

Presentation at APIWorld 2013 in San Francisco on October 3rd. Compares the Do It Yourself (DIY) and Platform as a Service (PaaS) approaches.

TRANSCRIPT

Page 1: Build, host and manage your custom API in less than an hour

BUILD, HOST AND MANAGEYOUR CUSTOM API IN LESS THAN AN HOUR

All-in-one platform for Web APIshttp://apispark.com

October 3, 2013

Jérôme [email protected]

CEO

Page 2: Build, host and manage your custom API in less than an hour

WEB API PROJECTTYPICAL LIFE CYCLE

Create Host Manage Use Promote

1) Do It Yourself (DIY)

long, risky, expensive but highly flexible

2) Platform as a Service (PaaS)

integrated, fast, cost effective

Page 3: Build, host and manage your custom API in less than an hour

BUILD YOUR DATA SOURCE

Step 1

Page 4: Build, host and manage your custom API in less than an hour

DEFINE YOUR DOMAIN MODEL

Nothing new under the API sun !

How is your domain model structured?

Which information do you want expose?

Common practices

Domain entities and properties

Reuse your data modeling experience

Use OOA/D methodology or similar

→ Then implement it

Page 5: Build, host and manage your custom API in less than an hour

DIY APPROACH

Select a database technology

that scales

Specify the schema

tables / sets, keys / queries, indexes

Setup the database

On premise or in the Cloud

Ensure security, high availability and performances

From days to weeks

Page 6: Build, host and manage your custom API in less than an hour

PAAS WAYDATABASE AS A SERVICE

Page 7: Build, host and manage your custom API in less than an hour

CREATE YOUR WEB API

Step 2

Page 8: Build, host and manage your custom API in less than an hour

SPECIFY YOUR WEB API

What do you want to expose ?

Which resources ?

How to structure them ?

Common practices

REST / Resource Oriented approach

Resources, representations, variants

Use ROA/D methodology and similar

→ Then implement it

Page 9: Build, host and manage your custom API in less than an hour

DIY APPROACH

Select an API framework that

Lets you be productive and gets you on the way

Leverages your skills

Ensures your web API will scale and be secure

Write the code

Code, debug, unit tests

Read, write, update your data

Package the code

From days to weeks

Page 10: Build, host and manage your custom API in less than an hour

PAAS WAYFULLY AUTOMATED

Page 11: Build, host and manage your custom API in less than an hour

DEPLOY YOUR WEB API

Step 3

Page 12: Build, host and manage your custom API in less than an hour

SPECIFY HOSTING NEEDS

Who will access your API ?

Public or Private ?

Users, administrators, guests, support teams …

Which SLA ?

How much traffic do you expect ?

How will you manage your API?

Don’t forget about global security stakes

→ Then implement it

Page 13: Build, host and manage your custom API in less than an hour

DIY APPROACH

Choose a deployment target Private hosting with firewall / DMZ Public hosting : Cloud / Dedicated

Select an API management solution Build your own from Open source, third

party products Leverage an API management service :

plug it in tasks and side effects

Guaranty your SLA Test, QA, iterate, benchmark…

From days to weeks to get started

Page 14: Build, host and manage your custom API in less than an hour

PAAS WAYINSTANT DEPLOY AND AUTO SCALE

Page 15: Build, host and manage your custom API in less than an hour

PROMOTE YOUR API

Step 4

Page 16: Build, host and manage your custom API in less than an hour

GIVING ACCESS TO YOUR API

Think about API documentation

Which client SDKs to provide ?

How to measure your API success ?

Monitor access to your API

Usage statistics, analytics, trends

Promote your API online

Attract new API users

Page 17: Build, host and manage your custom API in less than an hour

DIY APPROACH

Write your API documentation

Annotated your API code and generate ?

Use HTML tooling ?

Maintenance costs (versions sync)

Provide client SDKs

Write first SDKs

Pray for community contributions for others ?

Test, QA, iterate, etc.

From days to weeks to get started

Page 18: Build, host and manage your custom API in less than an hour

PAAS WAYGENERATE CLIENT SDKS

Page 19: Build, host and manage your custom API in less than an hour

PAAS WAYBUILT-IN ANALYTICS

Page 20: Build, host and manage your custom API in less than an hour

DIY VERSUS PAASSUMMARY

From weeks to months

Web API manager

Custom code

Web API framework

Generic PaaS

Hosting

Current practice:• Team of engineers• Heterogeneous stack• Complex & expensive

to develop andto operate

From minutes to hours

API Spark• creation• hosting• management• usage

All-in-one PaaS

Web API definition

Page 21: Build, host and manage your custom API in less than an hour

HOW MANY APIS ? TO BUILD AND MAINTAIN

Web Site

Pages + API

Browser

Connected devices

Smartenvironment

Business Partners Internal IT

HTTP

Page 22: Build, host and manage your custom API in less than an hour

FINAL THOUGHTS

How to build 1 million API in 2017 ?

– with radically simpler PaaS for Web APIs

– truly democratize Web APIs !

Source: Wired / June 2013

Page 23: Build, host and manage your custom API in less than an hour

KEEP IN TOUCH!

Learn about the ROA/D methodology !

http://apispark.com

Twitter: @apispark

[email protected]