How backbone decides if it should use post/get/ request to the server? What are the methods backbone has reserved for these operations?
Answer / Neetu Sinha
Backbone uses a RESTful approach to communicate with the server, which determines whether to use POST, GET, PUT or DELETE based on the HTTP method specified in the URL. For example, creating a new model would usually involve a POST request, while fetching existing data would be done using a GET request. Backbone provides methods such as `save()` (for PUT or POST), `fetch()` (for GET) and `destroy()` (for DELETE).
| Is This Answer Correct ? | 0 Yes | 0 No |
Which is the latest stable version of backbone.js and what is its released date?
How can you get the attribute value of a model?
What are the initial setup steps of backbone.js?
What are the functionalities of parse in backbone.js?
What are events types?
Explain the architecture of backbone.js
How to access a models data from a view in backbone.js?
What are the typical problems you might face with the backbone view code ?
Explain what is converter in backbone.js?
What is backbone.js collections ?
How can you write the business logic in model?
Explain what is modelbinder in backbone.js ?