Logo

Maarten Balliauw {blog}

ASP.NET, ASP.NET MVC, Azure, PHP, OpenXML, VSTS, ...

About the author

Maarten Balliauw is an MVP ASP.NET and is currently employed as .NET Software Engineer at RealDolmen. His interests are mainly web applications developed in ASP.NET (C#) or PHP.
More about me More about me
Send mail E-mail me


Microsoft Most Valuable Professional - MVP - ASP.NET

Subscribe to my RSS feed Follow me on Twitter! View Maarten Balliauw's profile on LinkedIn RealDolmen - Rock-solid passion for ICT
I'm a speaker at TechDays Belgium and TechDays Finland

Search

Latest Twitter

    Follow me on Twitter...

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright Maarten Balliauw 2010

    Simple API for Cloud Application Services

    Zend, in co-operation with IBM, Microsoft, Rackspace, GoGrid and other cloud leaders, today have released their Simple API for Cloud Application Services project. The Simple Cloud API project empowers developers to use one interface to interact with the cloud services offered by different vendors. These vendors are all contributing to this open source project, making sure the Simple Cloud API “fits like a glove” on top of their service.

    Zend Cloud adapters will be available for services such as:

    • File storage services, including Windows Azure blobs, Rackspace Cloud Files, Nirvanix Storage Delivery Network and Amazon S3
    • Document Storage services, including Windows Azure tables and Amazon SimpleDB
    • Simple queue services, including Amazon SQS and Windows Azure queues

    Note that the Simple Cloud API is focused on providing a simple and re-usable interface across different cloud services. This implicates that specific features a service offers will not be available using the Simple Cloud API.

    Here’s a quick code sample for the Simple Cloud API. Let’s upload some data and list the items in a Windows Azure Blob Storage container using the Simple Cloud API:

    require_once('Zend/Cloud/Storage/WindowsAzure.php');

    // Create an instance
    $storage = new Zend_Cloud_Storage_WindowsAzure(
    'zendtest',
    array(
      'host' => 'blob.core.windows.net',
      'accountname' => 'xxxxxx',
      'accountkey' => 'yyyyyy'
    ));

    // Create some data and upload it
    $item1 = new Zend_Cloud_Storage_Item('Hello World!', array('creator' => 'Maarten'));
    $storage->storeItem($item1, 'data/item.txt');

    // Now download it!
    $item2 = $storage->fetchItem('data/item.txt', array('returntype' => 2));
    var_dump($item2);

    // List items
    var_dump(
    $storage->listItems()
    );

    It’s quite fun to be a part of this kind of things: I started working for Microsoft on the Windows Azure SDK for PHP, we contributed the same codebase to Zend Framework, and now I’m building the Windows Azure implementations for the Simple Cloud API.

    The full press release can be found at the Simple Cloud API website.


    Comments

    topsy.com |

    Tuesday, September 22, 2009 5:20 PM

    pingback

    Pingback from topsy.com

    Twitter Trackbacks for
            
            Simple API for Cloud Application Services
            [maartenballiauw.be]
            on Topsy.com

    websdeveloper.com |

    Tuesday, September 22, 2009 9:01 PM

    pingback

    Pingback from websdeveloper.com

    Community News: Zend & Partners Release Simple Cloud API for Zend Framework | Webs Developer

    stage.vambenepe.com |

    Tuesday, September 22, 2009 10:20 PM

    pingback

    Pingback from stage.vambenepe.com

    William Vambenepe’s blog  » Blog Archive   » Thoughts on the “Simple Cloud API”

    zfuniversity.com |

    Tuesday, September 22, 2009 11:49 PM

    pingback

    Pingback from zfuniversity.com

    Zend Framework University — Blog — Zend & Partners Release Simple Cloud API for Zend Framework

    oracle.cc |

    Wednesday, September 23, 2009 6:09 AM

    pingback

    Pingback from oracle.cc

    Thoughts on the “Simple Cloud API” | Oracle

    Gabriele Bozzi Belgium |

    Wednesday, September 23, 2009 10:54 AM

    Gabriele Bozzi

    This is a grat seed technology piece.
    I strongly believe the Cloud will finally exist as a standalone technology as soon as developers will take advantage of  IaaS and PaaS.  
    This step from Zend could have come just a ittle bit earlier but we agree they are going in the right direction.

    Gabriele

    Microsoft RealDolmen blogs |

    Wednesday, October 28, 2009 1:30 PM

    trackback

    Simple API for Cloud Application Services

    Simple API for Cloud Application Services

    Comments are closed