Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Why use Models.model()

$
0
0
Yes for example when you want to treat artist as an independent instance (you may want to update/save it independently, you may want some custom methods/properties/converts on Artist as well), you may have some list of artists in other place. Actually albums and artists is not very good example as it usually assumes static nature of such data, so think as it would be dynamic entities that your application manage.

Viewing all articles
Browse latest Browse all 3491

Trending Articles