PHP API for Cloud Application Services(支持云应用程序服务的PHP API)
2009-10-08 10:42
465 查看
今天在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,是支持云服务的接口)
支持云应用程序服务的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,是支持云服务的接口)
相关文章推荐
- 支持云应用程序服务的PHP API
- ArcGIS API For Flex对ImageServer发布的服务进行渲染及RasterFunction支持函数(学习笔记)
- ArcGIS API for Silverlight开发入门(8):在程序中使用Virtual Earth的服务
- ArcGIS API for Silverlight开发入门(8):在程序中使用Virtual Earth的服务
- ArcGIS API for Silverlight开发入门(8):在程序中使用Virtual Earth的服务
- ArcGIS.Server.9.3和ArcGIS API for Flex的GeoprocessingServices和服务区分析(十二)
- eoLinker-API_Shop_短信服务接口-调用示例代码,支持PHP、Python、Java等语言
- ArcGIS API For Flex对ImageServer发布的服务进行渲染及RasterFunction支持函数(学习笔记)
- ArcGIS API for Silverlight开发入门(8):在程序中使用Virtual Earth的服务<转>
- ArcGIS.Server.9.3和ArcGIS API for Flex的GeoprocessingServices和服务区分析(十二)
- ArcGIS For JavaScript API Toggle multiple ArcGIS Online services(切换多个ArcGIS Online服务)————(十五)
- 微信小程序语音识别服务搭建全过程解析(https api开放,支持新接口mp3录音、老接口silk录音)
- ArcGIS API for Silverlight开发入门(8):在程序中使用Virtual Earth的服务
- SpringCloud SpringBoot mybatis 分布式微服务(三十)springboot集成swagger2,构建优雅的Restfu API
- delphi for php 中文完全支持方法[转]
- 使用Spring Cloud微服务框架进行多个微服务整合时出现No converter found for return value of type:xxx异常信息
- ArcGIS API for Silverlight 调用GP服务绘制等值面
- ArcGIS API for JavaScript创建第一个程序
- linux下支持php程序
- ArcGIS API for javascript开发笔记(五)——GP服务调用之GP模型的发布及使用详解