Download presentation
Presentation is loading. Please wait.
Published byEmil Jones Modified over 8 years ago
1
Web Services using PHP
2
web services (recap) Web services today are frequently just Application Programming Interfaces (API) or web APIs that can be accessed over a network, such as the Internet, and executed on a remote system hosting the requested services. Application Programming Interfacesweb APIsInternet (Wikipedia)
3
the soapy (wash) cycle (recap)
4
the soapy (message) view
5
PHP comes with a “standard” SOAP library http://www.php.net/soap tutorial at http://devzone.zend.com/node/view/id/689http://devzone.zend.com/node/view/id/689 The PEAR library has a SOAP module http://pear.php.net/package/SOAP probably the most updated, but not well documented The NuSOAP library http://sourceforge.net/projects/nusoap/ php soap:
6
php soap (hand wash) : Server
7
php soap (hand wash) : Client
8
php soap (hand wash) : Output
9
Written in PHP (no new modules to install or configure) Simple object-oriented interface May work with or without WSDL files May automatically generate a WSDL file for the service php NuSOAP lib characteristics:
10
SOAP Server SOAP Client Using WSDL Error Checking Complex Types php NuSOAP lib features:
12
simple PHP REST:
13
simple PHP REST: Server
14
simple PHP REST: Client
15
simple PHP REST: output
16
rest….is bliss
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.