Category : Tutorials » PHP Programming
PHP Web Service newbies can experiment with Web Services . WSDL toolkit for PHP, which is Web Service API called the Simple Web Services API (SWSAPI) .
Download File
Free PDF eBooks Download
Tutorials
PHP Programming
Content Summary :
PHP and Web Services PHP Web Service newbies can experiment with Web Services using PHP by writing only a few lines ofcode, without having to set up a special environment, and without needing to know anything about howWeb Services actually work. But this ease-of-use is a double-edged sword and general advice is to knowas much as possible about the technologies used, to stay abreast of security issues especially, consideringthat by nature Web Services are exposed to the network. PHP is already broadly deployed for data-centric web applications. If you are planning to develop WebServices using PHP, your PHP-driven web sites may have components that may be reused by exposingtheir methods using XML-RPC or SOAP. The conversion from wrapping your data in HTML to servingit as SOAP messages is trivial using the tools available today. An excellent reason to use PHP for Web Services is that sometimes it's the only choice you've got. Websites that are hosted by PHP hosting services and want to use Web Services to share data with theirpartners to access services cannot do so, since they have no control over their PHP installation. Theycannot install Java, don't have compiler access, and have no permissions to restart Apache if assumingthey could install new software on the server. Now users in such a scenario can easily consume anddeploy Web Services in short order if the server has PHP.