简体   繁体   English

PHP中的Web服务框架?

[英]Framework for Web Services in PHP?

I need to implement a Web Service in PHP, but I've never written one in it (I nowadays use ASP.net which handles all that SOAP/WSDL/Disco stuff for me). 我需要在PHP中实现一个Web服务,但我从来没有在其中编写过一个(我现在使用ASP.net来处理所有SOAP / WSDL / Disco的东西)。

Are there any libraries/Frameworks for that? 那有没有库/框架? Should be as lightweight as possible as they wire into an existing system. 它们应该尽可能轻便,因为它们连接到现有系统。

You might want to take a look at Zend Framework . 您可能想看看Zend Framework It's an fully featured framework and it is basically just a bunch of loosely coupled components. 它是一个功能齐全的框架,它基本上只是一堆松散耦合的组件。 You don't have to use anything you don't want to. 您不必使用任何您不想要的东西。

You can view the components here . 您可以在此处查看组件。 Notice there is Zend_Soap and others. 注意有Zend_Soap和其他人。

尝试NuSOAP它的重量轻,易于使用。

PHP comes with a SOAP client built in: PHP附带了一个内置的SOAP客户端:

http://us.php.net/soap http://us.php.net/soap

and there's always the ZF version: 并且始终存在ZF版本:

Zend Framework: Zend_Soap Zend框架:Zend_Soap

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM