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?...
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  <...
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...
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...
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...
It may sound odd, but I've been programming games in PHP. The main problem I've found was that the only way to update PHP is to load a page. That makes real-time slow. Javascript can interact with a page without reloading it. Is it possible t...
When I run my react-native mobile app, the server says it connects to the PostChannel. It creates the post, however I get no response in the 'received' function so it does not update in real time.  This is my react-native code:  import Action...
Is there any alternative for the websockets to use in shared hosting? I know about node.js, socket.io, Express.js but Can't use them in shared hosting. So, if there is any alternative used for making a realtime website then tell me....
I am playing around with this simple prototype to run a mass of simulations (in this case let us say a simple game) in realtime.  I can not imagine that it is best practice to run thausands of timers serverside. So does there exsits an alternative t...
I'm using Yii2 framework for my project. I've a loop in my controller, and this is the code  detailController.php:  public function actionResult() {     $connection = \Yii::$app->db;     $searchModel = new HeaderSearch();     $dataProvider...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.