Architecture of the game's construction

I’ve heard that defold suggests using a data-centric architecture with a reactive approach. If I understand correctly, this means that, for example, I have game state data stored in a module somewhere. The game scripts work with this data and notify, via messages, other scripts of changes. The scripts react to events and display the current changes.
Gui scripts do not change the game state data, but only serve to display it.
Do I understand the concept correctly? Where can I study this architecture in detail in defold and in general form?