What better server side technology to serve information to cross-platform software? [closed]

-2

We know that you can access Facebook from various clients, such as browsers, android, iOS, etc. I know that via browser the HTTP protocol is used (obviously) with technologies such as AJAX and Comet (chat, real-time notifications).

Doubt:

What would be the best technology on the server side for mobile platforms (android, iOS) and browsers to interact with each other?

TCP sockets? HTTP / Restful requests? SOAP?

I gave Facebook as an example, to understand my need (cross-platform access).

Goal:

Develop cross-platform software that has the same platform-independent functionality.

    
asked by anonymous 13.03.2014 / 20:50

2 answers

1

As far as mobile clients are concerned, the only feasible solution is the RESTFUL interfaces that use HTTP and their different verbs: POST, GET, DELETE and PUT.

And having a robust and well structured restful inteface, you can serve any type of customer. I can not say for sure how Facebook works, but I highly doubt it's anything other than that.

    
13.03.2014 / 21:51
1

Facebook uses various technologies to provide its various services. It's very hard to stay here to quote how each of them works.

But sure enough, the world is moving towards using RESTful to integrate applications.

    
13.03.2014 / 22:24