title: Polling request for updating Backbone Models/Views
body: <p>I need to find a way to update a web App implemented with <code>backbone</code>.</p>
  
  <p>The use case will be the following:<br>
  I have several Views, and each View, or maybe model/collection related to this view,
  needs to make different polling request to the server at different time for discovering some change.</p>
  
  <p>I am wondering what is the most general way to:    </p>
  
  <p>1) implement the <code>Traditional Polling Request</code><br>
  2) implement the <code>Long Polling Request</code><br>
  3) implement the <code>HTML5 web socket</code></p>
  
  <hr>
  
  <p>P.S.:<br>
  1) The server is written in PHP.<br>
  2) For now I am looking for a solution without using HTML5 WebSockets because maybe with PHP is not so simple.</p>
  
  <hr>
  
  <p>Here's my simple code (1) using <code>Traditional Polling Request</code>.</p>
  
  <p>(1)</p>
  
  <pre><code>// MyModel
  var MyModel = Backbone.View.extend({
      urlRoot: 'backendUrl'
  });
  
  // MyView
  var MyView = Backbone.View.extend({
  
      initialize: function () {
          this.model = new MyModel();
          this.model.fetch();
          this.model.on('change', this.render);
          setTimeout(function () {
              this.model.fetch();
          }, 1000 * 60 * 2); // in order to update the view each two minutes
      }
  });
  </code></pre>
  
  <hr>