I'm building a real-time web application As far as I know, the most popular choices are short-polling and long-polling. What are the advantages and disadvantages might there be for measuring one over the other?...
Im using sailsjs as a MVC  for node js, i'm still learning it. I managed to get data from my own database and use it.  But now i need/want to get data from an external rest api. I used this in my controller:  // api/controllers/SomeController.js...
Using JS, how can I detect if a special character is entered into an input field as it's typed?  EDIT: Special character being defined as non-alpha/numeric character  EDIT(2):  If it helps anyone else, here's what I came up with:  HTML  <...
I would like a stream graph as in this example: http://mbostock.github.com/d3/ex/stream.html    but I would like real time data entering from the right and have old data leave from the left, such that I always have a window of 200 samples. How would...
When I try to run my node.js application on a localhost server, it does not run and demands a required upgrade. I have tried to run the code but I get the following error:    server code   var WebSocketServer = require('ws').Server,     ws =...
FIDDLE <<<< this has more up to date code than in the question.  I am trying to create a real-time (live-updating) time-series chart in d3, that can also be panned (in X) and zoomed. Ideally the functionality that I want is if the  the ri...
in this very simple example:  var sys = require("sys"),     http = require("http");  http.createServer(function(request, response) {     response.writeHead(200, {"Content-Type": "text/plain"});     response.end("He...
I'm in the process of building a complex web app that must work a lot with real-time data and showing that data to the user.   Given that I'm more used to Rails, I'm wondering if there's a big advantage of dumping rails and use node.j...
Now a days real time updates are common in most popular sites which have heavy usages.    StackExchange  Facebook  Twitter   I'm wondering how do these "real time updates" work? I'm just looking for a general bird's view perspecti...
I was chatting frequently in Facebook and as I love to code more and more so I tried to create a Chat Script! Here it is ::: http://wooflux.co.cc/ChatSystem.1.1/ChatSystem.1.1/   You try it out. But it is just a beta version so there are some bugs in...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.