Hi i am working on a paly2.0 framework application(with java) using backbone.js. In my application i need to get the table data from the database regularly ( for the use case of displaying the upcoming events list and if the crossed the old event should be removed from the list ).I am getting the data to display ,but the issue is to hit the Database regularly.For that i tried use backbone.js polling concept as per these links Polling a Collection with Backbone.js , http://kilon.org/blog/2012/02/backbone-poller/ .But they not polling the latest collection from db. Kindly suggest me how to achieve that or any other alternatives ? Thanks in adv.
how to do polling in backbone.js?
3.8k Views Asked by vishnu brundavanam At
1
There are 1 best solutions below
Related Questions in BACKBONE.JS
- Backbone.Marionette + Rails app redirects after form submission. Why?
- Marionette Regions and routing
- Backbone: Best way to prevent routes (and url change)
- Backbone Collection only fetched after executing alert
- Backbone.js Click event firing multiple times
- Javascript DOM elements hide class and the element not present are same?
- Do backbone marionette.js parent view bubble down?
- How to disable backbone.js from adding /# when dialog is closed
- How to inherit and add events in child in backbone.js
- How to call ".done" after the ajax call in Backbone fetch calls
- BackboneJS : where to declare the function inside a view?
- how to use bootstrap mergeCells dynamically in backbone.js
- How to access Rails configuration info in Backbone View?
- Take a string representation of JSON and render it as JSON in the broswer
- Alternatives to synrchonous AJAX calls for absolute needed files?
Related Questions in POLLING
- Thread vs Handler for polling
- Get device monitor notifications in Linux using C++
- Monitoring an applications performance within Visual studio
- Android notifications using GCM+PHP or Polling for app
- How can I push data to a browser where the data is based on a SQL statement?
- Push notification server backend for iOS and Android Interval Poll methods
- Asynchronous Multiple Tasks in C# windows service ( with two different await times )
- Can I start the polling service by call ? AngularJS
- SignalR with Websockets OR polling only, to prevent connection limit
- rxjs throwing an error once http request returns a specific value
- How to session_write_close() in Laravel?
- An automation script which continuosly presses a button in a website
- Can't read more than one word from named pipe, using poll
- Jenkins Git SCM Polling stops when the job for which polling is happening is running
- Poll an azure queue and update view when data arrives in queue Asp.net Mvc4
Related Questions in PLAY2-MINI
- Akka for REST polling
- how to do polling in backbone.js?
- why Nginx is not allowing to display the images from the filesystem?
- Play-mini: how to return an image
- how to work with promise in play 2.0 framework
- Returning a String from a REST Call Using Akka/Play-mini
- Is Logback Really Inside Play?
- Configuring Object Instances from JSON in conf Files
- How to Support Parameters with Play Mini's REST?
- Split play2-mini Routes in several files
- can't resolve symbol scala play2 with mysql result
- How to know weather request in new or old in play 2.x framework?
- How to implement " remember me " functionality in Play 2.0 framework?
- How to extract value from Path parameters in play2 mini?
- How to use Play-mini within Akka microkernel?
Related Questions in POLLER
- PYTHON: How to receive data continuously from a server that's using zmq Poller?
- What is the meaning of zmq.Poller.poll( 1000 )?
- [Design]: A distributed application with thousands of pollers
- Configure interval based cron in Spring JMS integration
- Spring Integration No poller has been defined for endpoint
- Spring Integration : get poll expression from database
- how to do polling in backbone.js?
- Reading of files with max-messages-per-poll=10 and prevent-duplicates=false
- Spring custom poller using dynamic max message per poll value
- Configure Poller for the specific supplier in Spring Cloud Stream
- Spring Integration Poller not working in Pivotal Cloud Foundry without application restart
- Spring Integration: Stopping a Poller after a fixed duration
- Java: check whether a file has been fully copied using SFTP
- Stop for loop by passing empty struct down channel Go
- Spring integration inboundChannelAdapter stops polling unexpectedly
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is not a native way to do it with Backbone. But you could implement long polling requests adding some methods to your collection: