Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How the actions performed on model is translated to restful operations? Give an example?



How the actions performed on model is translated to restful operations? Give an example?..

Answer / Sona Singh

In Backbone, when you perform actions like creating, updating, or deleting a model, these actions are automatically translated into corresponding RESTful HTTP requests. For example, calling `myModel.save()` would result in a PUT (or POST if the model is new) request being sent to the server with the JSON data of the model. If you were to delete the model using `myModel.destroy()`, a DELETE request would be sent instead.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Backbone.js Interview Questions

Describe backbone events?

1 Answers  


Can you give an example of how to build a collection?

1 Answers  


What is router in backbone? How do you create a router with backbone?

1 Answers  


How to use to backbone.sync function?

1 Answers  


List out configuration options available in backbone js?

1 Answers  


Explain events in backbonejs?

1 Answers  


List dependencies of using backbonejs?

1 Answers  


What is the use of backbonejs route?

1 Answers  


What is the function of parse ?

1 Answers  


What is the purpose of backbone.js?

1 Answers  


Explain how you can use backbone.js for multiple page web app ?

1 Answers  


How to create a model in backbone.js?

1 Answers  


Categories