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
- Can reactjs refresh/reload its props if the clicked link is not owned by reactjs?
- GrapesJS builds on macOS but not on Windows 10+
- Uncaught ReferenceError: SwaggerClient is not defined
- Webpack: "SyntaxError: Invalid regular expression flags" during runtime
- Find Model in Backbone
- I want to hide div after render call complete in backbone js
- How to add options to a Select with JQuery (Ninja Forms)
- Template rendering in backbone view
- How can I set an attribute on specifically the last child view of a Marionette CollectionView?
- Uncaught TypeError: App.Routers.Maintenances.MyRouter is not a constructor
- How to trigger an event on a form contained in a modal that updates a user's email address
- How to pass data to a View in Backbone.js?
- How to handle server's request for logout confirmation in Backbone
- How to customize pagination by hiding numbers
- Understanding Sort and comparator in Backbone.js
Related Questions in POLLING
- Angular 17 - Trigger recurrent polling whenever a boolean variable becomes true and as long as it remains so
- Updating data of Highchart with drilldown in Realtime
- adequate polling rate for a single client application
- The delay of the .poll function in the driver code has not taken effect?
- IPv6 send is not working in pysnmp when snmpwalk is being run through IPv6 from external servers
- Choose between polling, websocket or P2P
- Poll on BPF device descriptor
- Is it possible to integrate GLib mainloop into another?
- nodejs telegrafjs bot set webhook not polling
- What is the correct way of polling a list of libusb_pollfd structures?
- How do I enable LibreNMS Poller Cluster Health 1-minute polling?
- kotlin-coroutine can not be launched
- Why isn't my polling routine working when I poll on interrupt and works when I do on main routine
- Socket.IO throws error after app has been built
- With a single serial link, how to read continuous data every second (polling), and do other queries in the meantime?
Related Questions in PLAY2-MINI
- How to know weather request in new or old in play 2.x framework?
- can't resolve symbol scala play2 with mysql result
- how can we get the result from various actors and then send the result from all the actors to one response in play 2.2.0?
- how to map form having more attributes than case class in play 2 with scala
- error in mapping form to case class in play 2 for scala
- No URL path binder found for type Option[Long]. Try to implement an implicit PathBindable for this type
- too many arguments for method mapping: (apply: (String, String, String) => R)(unapply: R => Option[(String, String, String)])play.api.data.Mapping[R]
- [Exception: DB plugin is not registered.]
- IOException: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified
- How to run play2-mini in development mode
- why Nginx is not allowing to display the images from the filesystem?
- Split play2-mini Routes in several files
- how to work with promise in play 2.0 framework
- how to do polling in backbone.js?
- How to extract value from Path parameters in play2 mini?
Related Questions in POLLER
- High volume SQS Poller. Lambda v/s ECS Fargate?
- How to resolve Channel 'application.bischannel' has 0 subscriber(s)
- The centreon poller does not run after exporting the configuration
- Can't show file configuration Poller in Centreon
- How to test a poller based db operation service from SOAPUi
- Cron Expression is not working as expected in Spring Boot Application
- Can I make a Poller start his cycle with WAIT after start() command?
- Configure Poller for the specific supplier in Spring Cloud Stream
- Spring Integration Poller not working in Pivotal Cloud Foundry without application restart
- Spring integration inboundChannelAdapter stops polling unexpectedly
- Stop for loop by passing empty struct down channel Go
- Can one SQS poller, handle multiple SQS queues and prioritize it?
- Write to log whenever Spring Integration Poller fires
- Poller Task Executor Memory Leak
- Spring batch job should be executed only once after the spring integration file poller polls the files
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 # Hahtags
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: