Advice on the general programming model a system should follow

I'm brand new to foundry dev and I want to make sure I am gaining the correct understanding of the environment before I get too far. would it be fair to make this comparison with Foundry systems and the MVVM pattern? Model (document) | View (html/hbs templates) | ViewModel (sheets) or should I think of it as something else? I've seen some docs referring to sheets as applications, in which case maybe the mvvm comparison is not totally valid but perhaps it still is. should I think of a sheet more like a little "spa/client app" and the document likes its backend? I'm curious about the general programming model a system should be following. When do you put something in a document vs a sheet, etc?
Z
Zhell175d ago
should I think of a sheet more like a little "spa/client app" and the document likes its backend?
Yes In general, any data that is to do with an actor should be on the actor. Some additional data should only go on the sheet if it helps with rendering or interacting with said data.
E
Eclipxs175d ago
ty