Simple Cloud API

excitingwonderlakeInternet and Web Development

Dec 13, 2013 (3 years and 5 days ago)

65 views

© All rights reserved. Zend Technologies, Inc.

The

Simple Cloud API
Initiative

Shahar Evron

Technical Product Manager, Zend Technologies LTD

© All rights reserved. Zend Technologies, Inc.

Zend


“The PHP Company”


Leading provider of PHP solutions
-

30K+ paying customers


Open Source Projects: PHP, Zend Framework, Eclipse PDT


Commercial Products: Zend Studio, Zend Server


Education, certification and consulting around PHP



Founded in 1999 by
Andi

Gutmans

and
Zeev

Suraski



Creators of the core PHP scripting engine, the Zend Engine


Key contributors to PHP



R&D in Israel, HQ in the US


2

the Simple Cloud API Initiative

© All rights reserved. Zend Technologies, Inc.

Over one
-
third of the Web runs on PHP

© All rights reserved. Zend Technologies, Inc.

Cloud Computing is Everywhere!

4

the Simple Cloud API Initiative

© All rights reserved. Zend Technologies, Inc.

Moving from a hosting platform to
IaaS


1
st

step: deploying your existing applications on the cloud


The cloud is just another hosting platform


That’s usually fairly easy! (at least with PHP)



2
nd

step: actually write
*for*
the cloud!


The cloud provides useful, scalable infrastructure


Examples: queuing, storage, databases,
MapReduce

etc.


The problem: vendor specific APIs
(== lock in!)



How do you bridge the gap?

5

the Simple Cloud API Initiative

© All rights reserved. Zend Technologies, Inc.

Introducing the Simple Cloud API

© All rights reserved. Zend Technologies, Inc.

What is the Simple Cloud API initiative?


An Initiative to provide a common API to cloud technologies



Allow portability between different cloud vendors



An open
-
source project started by Zend


Publicly announced in September 2009



Calling the open
-
source community as well as commercial
players to participate


Some of the big names are already contributing!

7

the Simple Cloud API Initiative

© All rights reserved. Zend Technologies, Inc.

Current Partners & Contributors

8

the Simple Cloud API Initiative

© All rights reserved. Zend Technologies, Inc.

An example


the common Queue API

9

the Simple Cloud API Initiative

Simple Cloud API Common Queue Interface


Amazon SQS Client
Library

Azure Queue Client
Library

Amazon SQS Adapter

Azure Queue Adapter

Easy Stuff

Hard Stuff

Your Application

© All rights reserved. Zend Technologies, Inc.

Example: The Queue Interface
(from SVN)

10

the Simple Cloud API Initiative

interface

Zend_Cloud_QueueService


{


public

function

createQueue
(
$name
,

$options

=

null
);



public

function

deleteQueue
(
$queueId
,

$options

=

null
);





public

function

listQueues
(
$options

=

null
);





public

function

fetchQueueMetadata
(
$queueId
,

$options

=

null
);





public

function

storeQueueMetadata
(
$metadata
,

$
queueId
,

$options

=

null
);





public

function

sendMessage
(
$message
,

$
queueId
,

$options

=

null
);





public

function

receiveMessages
(
$queueId
,

$max

=

1
,

$options

=

null
);





public

function

deleteMessage
(
$messageId
,

$
queueId
,

$options

=

null
);





public

function

peekMessage
(
$messageId
,

$
queueId
,

$options

=

null
);

}


© All rights reserved. Zend Technologies, Inc.

Current Project Status

11

the Simple Cloud API Initiative

© All rights reserved. Zend Technologies, Inc.

Thank you!


http://www.simplecloud.org

http://www.zend.com

Twitter:
@
simplecloudapi

or
#
simplecloud


shahar.e@zend.com