Prashant
Prashant

Reputation: 5461

best approach to web-service/api

This is sort of a generalized question.

What is the best possible solution/strategy/technique/technology to create an HTTP API/web-service using PHP + MySQL, which can be called from any platform - web (html), Flash, Mobile etc. - that supports call to web services or API.

I am going to develop this API/web-service primarily for games (they will be called from games being played on any platform), so speed, scalability and security - all are highly significant factors.

How to choose from SOAP, REST, XML-RPC etc. ?

Any idea about ready-made solutions that can help fulfill my requirement ?

Thanks

Upvotes: 1

Views: 790

Answers (1)

onteria_
onteria_

Reputation: 70497

In this case I'd recommend a REST API. SOAP is a more complicated standard, and it makes it more difficult for those to interface to your API (for example, some PHP servers don't have SOAP enabled). As far as using PHP and MySQL to create a REST API, you can use something like Zend Rest Server to make the process easy.

Upvotes: 2

Related Questions