Reputation: 4211
I am currently using various back-end services and I want to use PHP to simply query these services and perform the final page construction. These services could be coded in any number of programming langauges such as Erlang, Java, Python etc. However I am unsure of the best way to actually interface the back-end services with the web app. Requests to these services would be both synchronous and asynchronous. Would I use something like SOAP or JSON-RPC??
Any help greatly appreciated.
Upvotes: 1
Views: 1578
Reputation: 61771
Upvotes: 1
Reputation: 30985
You might want to have a look to Thrift:
http://incubator.apache.org/thrift/
Upvotes: 2
Reputation: 19546
This is a general question how to design web services and there is a hype using REST-like web services. This way you simply can call a given URL (which is even user readable). This increase the interoperability of your web service so you can mix the programming languages which use the REST interface. IMHO its easier than using a SOAP like web service as you simply calls GET
on an url like http://www.example.com/user/5/
(think of it as the mod_rewrite
of web services)
Upvotes: 0