T
T
Tenkoff2012-05-21 16:12:12
JavaScript
Tenkoff, 2012-05-21 16:12:12

Experience implementing socket.io-client without node.js?

The choice fell on this library for the transport level of data exchange between the browser and the server.
If someone has experience of using the client library without node.js as a backend, tell us what problems there may be in finishing the server part!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anatoly, 2012-05-21
@taliban

In the worst case, you will get periodic requests. There is nothing terrible. The library is pretty smart and adapts itself to the technology, there are sockets, we use them, otherwise the requests are Ajax. Everything is as simple as ever. I don’t know how ruby ​​works with the server (you want to connect it with ruby?), but if it’s like php (php instance is restarted for each request), then this can be fraught with a low response time, although if your hardware is normal, then there is nothing to be afraid of .

I
int03e, 2012-05-21
@int03e

If this is for rails, you can look at the option from railscasts.com/episodes/260-messaging-with-faye

K
Karen Kratyan, 2012-05-22
@kratkar

There is also github.com/sockjs/sockjs-client . Hands do not reach to experiment, so I can not say anything about him. There is a server version for other languages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question