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
6
votes
2 answers

Can XMPP be used like Comet's http long wait?

Can XMPP be applied in a similar way to the reverse Ajax pattern? Can it be used to implement http long wait like Comet? Is there an example of using such a technique with XMPP?
cometta
  • 35,071
  • 77
  • 215
  • 324
5
votes
2 answers

Is php scalable with reverse ajax long polling?

I am working on a website that displays some data from DB that changes frequently (Status of a queue and a chat conversation). My current setup is Apache/PHP/MySQL. Naturally I would like to avoid polling the server every x seconds since this does…
pinghsien422
  • 19,836
  • 1
  • 20
  • 22
4
votes
3 answers

What is the simplest way to implement "server push"-like behavior for a web page?

I'm attempting to make a very simple 2-person chatroom for my Django site. I'm learning AJAX to do this. I need parts of the web page to update without user interaction: When User 1 sends a message, it should appear on User 2's screen When User 1…
RexE
  • 17,085
  • 16
  • 58
  • 81
4
votes
5 answers

Reverse Ajax(Comet) with ASP.NET

I am looking for a basic example of how to implement the Reverse Ajax (Comet) with ASP.NET. I have already looked the below ones and I don't want to use them right now (because they are…
Rocky Singh
  • 15,128
  • 29
  • 99
  • 146
4
votes
1 answer

Is an API RESTful if it allows permanent requests (server push)

I am writing a REST API providing CRUD operations on resources. I'd like the users to be able to register to some resources changes and get the updates via server push. For the server push I will provide support for reverse ajax, hidden iframe and…
LaChocolaterie
  • 161
  • 2
  • 10
3
votes
2 answers

Difference between reverse ajax and normal ajax

Can anybody describe me the difference between reverse ajax and normal ajax . If possible explain what reverse ajax can do in web world , some real world examples too. I never used this reverse ajax ,is that apt for normal web application?
Duke
  • 35,420
  • 13
  • 53
  • 70
3
votes
2 answers

Usage of observer pattern with EJB and AJAX

I want to build an Ajax gui, that is notified on any state changes happening in my ejb application. To achieve this, I thought I build an stateful ejb (3.0) that implements the Observable interface to which the Ajax client is added as an observer.…
dabuki
  • 1,011
  • 3
  • 11
  • 26
3
votes
4 answers

port listening in javascript

I'm trying to write some simple chat client in javascript, but I need a way to update messages in real time. While I could use the xmlhttprequest function, I believe it uses up a TCP/IP port on the server and possibly more importantly, is not…
John
3
votes
2 answers

C#/ASP Based Reverse AJAX

I have a current project running using APE that needs to work on C#/.NET... I was wondering if anyone had any suggestions for either a method of approaching Reverse AJAX/Comet on C#/.NET or any packages such as APE that are available. EDIT For…
Robert
  • 21,110
  • 9
  • 55
  • 65
3
votes
2 answers

Reverse ajax in dropwizard

I want to implement reverse ajax in Dropwizard application.How can i do that?? Is there any facility provided by Dropwizard for accomplishing this.? Any comment will be appreciated. Thanks in advance
Lygub Org
  • 125
  • 8
3
votes
2 answers

PHP real time chat with ajax polling

I need to create a chat similar to facebook chat. I am thinking to use ajax polling ( to send request every 2-3 seconds ). Is this a good approach ? Or I need to use other server side languages like erlang and server-comet ?
xRobot
  • 25,579
  • 69
  • 184
  • 304
3
votes
1 answer

My first reverse ajax application

I want to learn about reverse ajax, I found a gadget called ICEPush and I thought it could be a good starting point. I am having trouble implementing a very simple application. I am following this tutorial, but instead of Tomcat, I am using…
javing
  • 12,307
  • 35
  • 138
  • 211
2
votes
3 answers

JavaScript library for push/comet/reverse-ajax notifications?

I'm planning on building a website where you can play (turn-based) games with other people. I need to be able to communicate which moves have been made. I think push-notifications are best suited for this. I've read a little bit about node.js; is…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
2
votes
3 answers

Broadcasting to a subset of subscribers in Atmosphere

What I'm trying to do: Be able to have users subscribed to a number of different 'chat rooms' and use reverse AJAX / comet to send messages from a chat room to everyone logged into that room. (a bit more complicated but this is a similar use…
NRaf
  • 7,407
  • 13
  • 52
  • 91
2
votes
5 answers

Which reverse ajax library for Java?

What are worth to look at libraries for reverse ajax in Java web app? Atmopshere is still in 0.6 version, ICEpush still in alpha version, and websockets in Firefox 4.0 wont be available too.
hint
  • 113
  • 2
  • 4