August 2018
Intermediate to advanced
298 pages
5h 33m
English
There are scenarios where you might want to update only a few properties in a large model or you might want to create a new model based on a few models. In such scenarios, it is better to create a new model specific to the view.
For example, let us assume that we are building a screen where you update the price of the product. This simple screen may contain only three properties: product ID, product name, and the price of the product. But the product's model may contain more than 30 properties to hold all details of the product, such as manufacturer, color, and size. Instead of sending the complete model with all the properties, we can create a new model specific to this view with only a few properties—ID, ...
Read now
Unlock full access