How to get single book details from server using backbone model?
<p>I am creating simple book library using backbone.js. Functionalities are very simple.</p>

<p>1.) Get All Books
2.) Get Particular Book (from server)
3.) Display Books</p>

<p>from the collection i can get all the books. But how can I get single book from server using Models ? I need to make ajax call to server to get the book details. since the details may update pretty soon (I don't want to get it from all books collection)</p>

<p>So far I created Views, Model, Collections as follows</p>

<pre><code>var Book: Backbone.Model.extend({
  defaults:{
    name: "",
    id: ""
  }
});


var Library: Backbone.Collection.extend({
  model: Book,

  url: function(){
     return "/books";
  },

  fetchBooks: function(){
     fetch({
         success: success_callback,
         error: error_callback
     });
  },

  fetchBook: function(bookId){
     //how to get single book ? 
  }
});
</code></pre>

<p>How do I get single item from the server using my existing models and collections ?</p>