Beginner to PHP web services?

SOAP is certainly not the ONLY way to implement Web services. If you're open to other paradigms, have a look at REST.

SOAP is certainly not the ONLY way to implement Web services. If you're open to other paradigms, have a look at REST: en.wikipedia.org/wiki/Representational%5... Unlike SOAP (which has multiple standards/vendors), REST is both vendor- and protocol-agnostic. Instead, RESTful Web services are implemented using these guidelines (from the Wikipedia article): A RESTful web service (also called a RESTful web API) is a simple web service implemented using HTTP and the principles of REST.

Such a web service can be thought about as a collection of resources. The definition of such a web service can be thought of as comprising three aspects: * The base URI for the web service, such as http://example.com/resources/ * The MIME type of the data supported by the web service. This is often JSON, XML or YAML but can be any other valid MIME type.

* The set of operations supported by the web service using HTTP methods (e.g. , POST, GET, PUT or DELETE). Back to PHP, here is the reference guide for the ZendFramework implementation of REST Server functionality: http://framework.zend.com/manual/en/zend.rest.server.html Also, here is a link to another answer I gave that references some useful information re. ZendFramework and REST: http://stackoverflow.com/questions/1687036/lightweight-restful-php-server/1687099#1687099 -aj.

Since PHP 5, there is a built in SOAP library in PHP. I usually tend to use built in libraries rather than PHP implementations, as they tend to be faster and stable. One library I used when not using the built in one, is Zend_Soap, which is built on top of the built in SOAP and it simplifies working with it.

framework.zend.com/manual/en/zend.soap.c....

You can either choose WSDL+SOAP to build your web services, or implement RESTful web services. Either way, you need to understand what is web services and the basic components of it. To me, REST seems more effective.

Here is an example based on delicious. peej.co.uk/articles/restfully-delicious.....

Please take a look at PHP and Web Services presentation which covers SOAP, REST and JSON.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions