Linked Questions

1 vote
1 answer
436 views

I have a page where i have some text that I take from the database. While that page is open and someone else changes the text in the database, I wan't to make it so that my page is immediatly ...
user3322672's user avatar
84 votes
11 answers
56k views

I was thinking of implementing real time chat using a PHP backend, but I ran across this comment on a site discussing comet: My understanding is that PHP is a terrible language for Comet, because ...
ryeguy's user avatar
  • 67.3k
52 votes
7 answers
7k views

My question might sound stupid, but I just wanted to be sure: Is it possible to send an HTTP response before having the request for that resource? Say for example you have an HTML page index.html that ...
m_vdbeek's user avatar
  • 3,784
39 votes
8 answers
61k views

I'm looking for a way to create a simple HTML table that can be updated in real-time upon a database change event; specifically a new record added. In other words, think of it like an executive ...
AngeloS's user avatar
  • 5,586
19 votes
7 answers
36k views

Currently I am working on a web app which uses Spring 3.1 and Hibernate 4. As per the requirement, I want to implement push notifications like Facebook does, on a JSP page. If you have any ...
Tarun Gupta's user avatar
  • 1,242
19 votes
7 answers
39k views

Hi I understand that in long polling you keep the connection with the server open for long till you a get a response back from the server and then poll again and wait for the next response. However i ...
Rasmus's user avatar
  • 8,506
43 votes
3 answers
36k views

If there is a REST resource that I want to monitor for changes or modifications from other clients, what is the best (and most RESTful) way of doing so? One idea I've had for doing so is by providing ...
Ross's user avatar
  • 9,958
39 votes
3 answers
61k views

Short: Is there a way to push data from the server to a logged in user session without that user needing to make an HTTP request? Long(er): I'm building an HTML5 application, on an Apache/PHP/MySQL ...
joelcollyer's user avatar
11 votes
6 answers
4k views

I'm making this as short as I can. What I've done so far: The game I have will be running with JavaScript using setTimeout or setInterval. It's not flash or anything special. What I have made so far ...
user avatar
20 votes
9 answers
17k views

I'm looking to establish some kind of socket/COMET type functionality from my server(s) to my iPhone application. Essentially, anytime a user manages to set an arbitrary object 'dirty' on the server, ...
Coocoo4Cocoa's user avatar
  • 51.3k
12 votes
6 answers
35k views

I have a php server file and an HTML client file, the HTML file send ajax requests to the server to retrieve data every 500 ms, this although works as expected it's causing high usage of memory and ...
razz's user avatar
  • 10.1k
24 votes
1 answer
24k views

Assume the following scenario A web application serves up resources through a RESTful API. A number of clients consume this API. The goal is to keep the data on the clients synchronized with the web ...
Bart Jacobs's user avatar
  • 9,082
16 votes
6 answers
20k views

Are there any XHR-like browser APIs available for streaming binary to a server over HTTP? I want to make an HTTP PUT request and create data programmatically, over time. I don't want to create all ...
Brad's user avatar
  • 164k
9 votes
7 answers
20k views

I'm sort of shooting in the dark here; I have no knowledge how to do this so some pointers and/or links to helpful tutorials would be great: I have a website that I want to display a text file (...
dukevin's user avatar
  • 23.3k
7 votes
9 answers
21k views

I have a python script that runs continuously. It outputs 2 lines of info every 30 seconds. I'd like to be able to view this output on the web. In particular, I'd like the site to auto-update (add ...
timepilot's user avatar
  • 749

15 30 50 per page
1
2 3 4 5
13