Answer the question
In order to leave comments, you need to log in
Realtime framework for web applications?
Friends, please tell me how you provide realtime in your applications / sites? Websockets, long polling, iframes, flash?
I would like to know about such that would work correctly in most browsers and could work with separate channels (groups of users).
Ajax Push Engine is good for everyone, but pulls MooTools with it. Node.js + Socket.io is simply gorgeous, but it doesn’t know how to work with channels (more precisely, for greater objectivity, I’ll say that it can, but through stray, which is either in inactive development or without documentation).
Where is the truth?
Answer the question
In order to leave comments, you need to log in
For PHP (but the developers at one time promised to expand to other languages) there is Realplexor
We use the meteorserver.org comet server, and depending on the browser, it selects the push method: iframe or long polling via XmlHttpRequest. Able to work with channels. It has its own js library with a convenient api.
Python Tornado is, in my opinion, the best of the asynchronous frameworks. Pretty flexible. I achieved cross-browser compatibility using jquery and 15 of my lines of js code for realtime. Very simple and fast.
What does "able to work with channels" mean? This is usually achieved through some kind of third-party repository, no? So that when you restart / update the code, all queues / messages do not fly off. For the same redis under node.js, almost the best asynchronous driver, and there is pubsub. These “channels” can simply be implemented in different ways, so it’s not necessarily a plus when something like this is shoved directly into the framework. If it’s just implemented through a shared memory, there’s no need for any “third-party stray”, the task seems elementary: we store arrays with channel subscribers, when necessary, we all helmet according to the message.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question