REST with PHP - More Tips

Monday, January 21, 2008

Earlier, I mentioned how CURL API could be used to do REST with PHP. There is a blog entry by Dimuthu on PHP Web services with fopen. This further shows how to use the PHP functions you are already familiar with to consume Web services in REST style.

Dimuthu has also shown how to do SOAP with fopen, however, I believe it is better to use a framework when using SOAP, because more often than not, SOAP is used when QoS is required, and it would be too tedious to coin all SOAP syntax manually with QoS headers in place.

No comments: