dimanche 28 décembre 2014

Socket.IO and different platforms Design


Vote count:

0




So, me and a couple of friends (We are all pretty much beginner at the moment) are developing a project which supports iOS,Android and MEAN Stack all together.


We would like to use Socket.IO for communication between all the platforms and message passing.


My question is, as far as i understood Socket.IO works with string commands such as on connection on new message and so on, and emits answers or requests back and forth. Should i Either work with a well defined Protocol that defines each of the functionallity of the client to the server and vice versa for example with enums and so on or define all of this with Socket.IO and depend on the package (as far as i understood theres Socket.IO support for every platform) For example on the server side i could define simple request and response methods on socket.io and just work with a well defined protocol, and let the client side handle the rest on its on


Any suggestion would be appriciated :)



asked 3 mins ago







Socket.IO and different platforms Design

Aucun commentaire:

Enregistrer un commentaire