In many backbone examples I saw code with mymodel.fetch() or mycollection.fetch() and most of the codes didn't use the success callback in order to construct the model / collection from the response. I am filling like I am missing something about how fetch is creating model instance from the result. How does this happen?
EDIT
Thare are cases where the model is not the same structure as the returned json and there is a need to map model attributes. For example, the model attributes are 'name' and 'age' but the returned json is: {n_name:'dan', props: {age: 12, address: 'this data is not relevant'}}. There is a need to map the returned json to the model. How can I do it? Is such cases force me to use the success callback?
Sometimes the model contains relations to other models or collections. For example a HouseModel that has an attribute of type AddressModel and collection of people called People. I wish the fetch will create a model when constructing the AddressModel and create a people collection when constructing People. How can I do it? Should I use the success for this or there are other way/workarounds?