In my simple page, I have 3 portions (tittle, paragraphs, links - image attached ) is it all 3 portions need to have a separate model for each of them..?
or i can make a single model for all of them.. which is correct way...
Again, in case in my page, if there is no.of dynamic content which is not have a user interactions, all that contents need a models..? (example: paragraphs)
In a page, there is no.of stuff for just display purpose - still that made by dynamic, and no.of stuff for user interactions, how to decide, whaterall should have the models, and whater should not..?
any one give me clear advice to make a simple page with backbone - mixing, display just a dynamic content and intractable dynamic contents which has?
here is the sample page attached with sample models.
var modelTittle = Backbone.Model.extend({
defaults:{
tittle:"set a tittle"
}
})
var modelPara = Backbone.Model.extend({
defaults:{
text:"text yet to be set"
}
})
var modelLinks = Backbone.Model.extend({
defautls:{
link : "link need to be here"
}
})