How can you write the business logic in model?
Answer / Km Sunita Devi
To retrieve an attribute's value from a Backbone.js model, use the get method with the attribute name as the argument: var myModel = new MyModel(); myModel.set('name', 'John'); var name = myModel.get('name');
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain what is view in backbone.js?
Why you have to use backbone ?
What is collection in backbone?
Why you use backbone.js, not other frameworks?
How backbone decides if it should use post/get/ request to the server? What are the methods backbone has reserved for these operations?
What is backbone events ?
What is sync in backbone.js?
Mention what are the typical problems you might face with the backbone view code?
Explain when you require backbone.js ?
Describe backbone events?
Explain what is backbone.js?
What is backbone.js models?