Questions tagged [reverse-ajax]

As its name implies, it is opposite of AJAX. In AJAX methodology, browser sends request to server and server responds and only a part of page is updated. In reverse-ajax, server sends back some information to browser even if browser does not requests it explicitly and the server updates a part of loaded page.

78 questions
30
votes
1 answer

SockJS or Socket.IO? Worth to recode ajax-based page?

Which one's better: Socket.IO or SockJS and what are the biggest differences? How difficult is it to rebuild a completely ajax based page into a node.JS / socket.io based page? Do I have to recode absolutely everything? Are there any good tutorials…
Patrick DaVader
  • 2,023
  • 4
  • 22
  • 34
14
votes
3 answers

How To Implement ReverseAJAX (Comet) in ASP.Net MVC

How could I implement a Comet architecture in a ASP.Net MVC?
SDReyes
  • 9,166
  • 15
  • 50
  • 91
11
votes
1 answer

How scalable is the Lift framework's comet/reverse ajax?

I recently learned scala and about to start working/learning Lift framework. Going through the Features and getting started with the framework, I had seen some amazing capabilities of the framework including the reverse ajax and comet. Earlier in my…
Teja Kantamneni
  • 16,851
  • 10
  • 54
  • 84
9
votes
1 answer

Does facebook use comet or long polling for getting new stream and messages?

I would like to know if there are any code references that I can follow to write a very simple example. Many posts or websites just talk about the technology.
Mark K.
  • 1,679
  • 2
  • 14
  • 15
8
votes
1 answer

Difference between async servlet long poll and bayeux protocol (Comet)

What is the difference between a simple Async servlet and the Comet / Bayeux protocol? I am trying to implement a "Server Push" (or "Reverse Ajax") kind of webpage that will receive updates from the server as and when events occur on the server. So…
Basanth Roy
  • 5,536
  • 4
  • 22
  • 24
7
votes
5 answers

How to implement event listening in PHP

here is my problem: I have a script (let's call it comet.php) whic is requsted by an AJAX client script and wait for a change to happen like this: while(no_changes){ usleep(100000); //check for changes } I don't like this too much, it's…
ArtoAle
  • 2,870
  • 1
  • 20
  • 48
7
votes
3 answers

Comet, Ajax Push, Reverse Ajax

Someone have any sample of Comet app .net? I need one sample how to persist connection of client in server?
Diego Dias
  • 864
  • 3
  • 14
  • 23
7
votes
1 answer

AJAX/Reverse AJAX: Polling or Push?

Been studying a ton on AJAX because I'm making a real-time application out of Javascript and PHP. It needs to be able to update without refreshing the page and in real-time. I tried polling the server with setInterval() but for it to be quick I had…
Tyler Hughes
  • 552
  • 1
  • 9
  • 19
7
votes
3 answers

How to integrate SockJS with another web framework

As an alternative to Socket.io, there is SockJS (https://github.com/sockjs/sockjs-client), which seems to be better maintained and more stable than Socket.io. This question is about the conceptual understanding the architecture of using SockJS with…
MLister
  • 8,552
  • 16
  • 56
  • 86
6
votes
1 answer

Javascript implementation of WS-I Reliable Secure Profile

I'm using the .NET 4 server side implementation of Reliable Secure Profile for HTTP/S push and want to know if there is a JavaScript client available.
halfbit
  • 54,462
  • 46
  • 195
  • 426
6
votes
3 answers

How do modern implementations of Comet/Reverse AJAX work? Any stable C# WCF or ASP.NET implementations?

What is the correct way (or best) way to implement Comet, HTTP Push, or Reverse AJAX? What .NET implementations would you recommend?
halfbit
  • 54,462
  • 46
  • 195
  • 426
6
votes
1 answer

Does anyone use ICEpush on production server under heavy load?

ICEpush is still in alpha version, so I am curious if it is appropriate to use in web application on tomcat or tc server with many clients. How many users can be serviced by this technology with small delay? I'm curious what is delay under 100, 1000…
bltc
  • 361
  • 1
  • 3
  • 9
6
votes
4 answers

Reverse Ajax implementation using php

I am looking to implement reverse ajax in my application which is using PHP and jquery. I have googled a bit about it and found XAJA but that seems to be a paid application. Is there an open source application available for the same or has someone…
Ankit Jaiswal
  • 21,029
  • 5
  • 38
  • 62
6
votes
4 answers

PHP + Comet (long-polling) scaling / hosts

I have developped an application using PHP/MySQL which used comet technology, presicely long-polling. The proof of concept works great, but I am expecting traffic to quickly reach thousands of simultanous connections = thousands of open connections…
Chetane
  • 240
  • 1
  • 3
  • 10
6
votes
3 answers

How should I implement reverse AJAX in a Django application?

How should I implement reverse AJAX when building a chat application in Django? I've looked at Django-Orbited, and from my understanding, this puts a comet server in front of the HTTP server. This seems fine if I'm just running the Django…
Carson Myers
  • 34,352
  • 35
  • 118
  • 164
1
2 3 4 5 6