PHP API for Cloud Application Services(支持云应用程序服务的PHP API)

 

今天在infoQ上看了篇文章,感觉它的评论很有意思,转载过来。

 

支持云应用程序服务的PHP API

 

 

作者 Abel Avram 译者 赵劼 发布于 2009年10月2日 上午4时36分

自称“PHP公司”的 Zend Technologies 发起了一个开源的 Simple API for Cloud Application Services 项目,希望可以帮助PHP开发人员在构建应用程序时访问各主流云平台。微软已经为PHP开发人员提供了 Windows Azure SDK

许多技术供应商,如Zend、IBM、微软、Nirvanix、Rackspace和GoGrid参与了Zend领导的项目,希望可以创建易于使用的API来访问各种云资源。一开始,这个API提供了对Amazon Web Service的文件存储文档数据库存储简单队列服务 ,Rackspce云文件、Windows Azure和Nirvanix存储分发网络的支持。Zend希望可以将这个API作为Zend Framework的新组件,并称之为Zend Cloud。

微软在7月份发布了他们的Windows Azure SDK for PHP Developers ,这是一套帮助PHP程序员使用Azure的工具。不久后,微软又向Zend的简单API提供了SDK。这个SDK由微软与RealDolmen 联合开发,目前使用New BSD协议 存放在CodePlex站点中。

PHP的Windows Azure SDK也提供了存储以外的支持:

  • 访问Windows Azure大文件、表格及队列的PHP类(CRUD操作)
  • 用于HTTP传输、AuthN/AuthZ、REST及错误管理的辅助类。
  • 管理、工具及日志支持。
  • 支持将PHP会话存放在Azure表格存储中。

目前,PHP开发人员可以同时使用Simple API和这个SDK,尤其是在那些面向存储以外的任务上。不过,将来的Simple API也会包含越来越多的功能。Zend建议目前在产品环境中小心使用这个API,因为它们还处于早期状态,很可能会有所改变。

这些接口可以很容易从PHP移植到其他OO语言上,因为它们原本就是以OO的方式设计的。观察这个项目是否会延伸出面向C#或Java的项目也是一件有趣的事情。

 

评论:

If it needs an API, then it's not a cloud.

If you have to know that it's a cloud, then it's not a cloud.

If it has an SDK, then it's not a cloud.

Peace,

 

replay

"If it needs an API, then it's not a cloud." - Correct. API means Application Programming Interface. The cloud is not an application. SDK is also for applications.
Now, the sentence "If you have to know that it's a cloud, then it's not a cloud." is a bit cloudy, so to speak.

The news post is about an API that provides services for applications. Any application has storage needs, but instead of providing the storage on the local disk or network, the API facilitates the storage in a cloud. So, the API is not used inside the cloud but it is between the application and the cloud. What is great is that PHP developers can use it to work with multiple clouds.

个人对评论的理解:

"If it needs an API, then it's not a cloud." - Correct. API means Application Programming Interface. The cloud is not an application. SDK is also for applications.

 

 for Cloud Application Services(PHP API is not a cloud,是支持云服务的接口)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值