S
S
SergeyGerasimov2011-02-26 15:34:58
Node.js
SergeyGerasimov, 2011-02-26 15:34:58

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

5 answer(s)
M
Max Kuznetsov, 2011-02-26
@pluseg

For PHP (but the developers at one time promised to expand to other languages) there is Realplexor

P
Pavel Virsky, 2011-02-26
@Paaashka

I, at one time, settled on Hookbox .

A
akuklev, 2011-02-26
@akuklev

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.

B
b0n3Z, 2011-02-27
@b0n3Z

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.

K
kmike, 2011-02-27
@kmike

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 question

Ask a Question

731 491 924 answers to any question