构建企业级SOAP服务器的PHP框架选择
对于即将到来的项目,必须使用 PHP 开发 SOAP Web 服务。语言/环境的选择已经做出,不受我影响。
这必须成为支持业务关键流程的企业级应用程序。
我需要一个用于结构、数据库抽象等的框架。我知道 Zend Framework 用于这些类型的应用程序,但我没有使用它的经验。我也不确定学习曲线。
我对 Yii 框架有一些经验并且我喜欢它。另外,我知道它对 SOAP 有一些支持,包括 WSDL 生成。
有人有使用 Yii 以及更具体的 Yii 和 SOAP 构建大型应用程序的经验吗?还有其他我没有在这里提到的已知解决方案吗?
编辑:Web 服务也必须符合 WS-Security; ZF 是否提供了实现此目的的方法?
For an upcoming project a SOAP webservice has to be developed in PHP. The choice of language/environment has already been made, cannot be affected by me.
This must become an enterprise-grade application supporting business critical processes.
I will need a framework for structure, database abstraction etc. I know Zend Framework is used for these type of apps, but I don't have experience with it. I also not sure about the learning curve.
I have some experience with Yii framework and I like it. Also, I know it has some support for SOAP including WSDL generation.
Does anyone have experience with big apps build with Yii and more specific Yii and SOAP? Are there any other know solutions I don't mention here?
Edit: the webservice must comply with WS-Security as well; does ZF provide means to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我推荐 Symfony2。
它是一个新的、高度可扩展的框架,在某种程度上基于 RoR/Spring。
我可以用几个小时来描述它的功能,所以我只会给你该网站的链接:
http://symfony.com/
http://symfony.com/doc/2.0/cookbook/web_services/php_soap_extension.html
另外,它是将第 3 方库合并到 symfony2 中非常容易 - 也许 Zend_Soap 会让您感兴趣。
干杯
I'd recommend Symfony2.
It's a new, highly scalable framework that's somewhat based on RoR/Spring.
I could describe it's features for hours, so I'll just give you the link to the website:
http://symfony.com/
http://symfony.com/doc/2.0/cookbook/web_services/php_soap_extension.html
Also, it's very easy to incorporate 3rd party libraries to the symfony2 - probably Zend_Soap would interest you.
Cheers
我想建议你使用 Zend Framework。特别是 Zend_Soap。它非常容易使用。它具有 WSDL 自动生成、数据库适配器等。 教程
I want to advise you to use Zend Framework. Especially Zend_Soap. It is very easy to use. It has WSDL autogeneration, adapters to the DB and etc. Tutorial