您的位置:首页 > 移动开发

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

2009-10-08 10:42 423 查看
今天在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,是支持云服务的接口)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐