You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I basically have two questions, which are related:
Is applying a MVC pattern for creating a textual app a sensible thing to do ? Or are there better patterns these days ?
Using some sort of MVC pattern I have a data/controller model with some properties. When one of such a property changes I want my relevant UI parts to updated "automatically".
In the past I used a pubsub structure here. But I am now a bit confused whether the textual reactive model could work as a solution too. I did a small test though and found that using a reactive property outside of a textual widget does not work. Anyone any idea or suggestion ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I basically have two questions, which are related:
Is applying a MVC pattern for creating a textual app a sensible thing to do ? Or are there better patterns these days ?
Using some sort of MVC pattern I have a data/controller model with some properties. When one of such a property changes I want my relevant UI parts to updated "automatically".
In the past I used a pubsub structure here. But I am now a bit confused whether the textual reactive model could work as a solution too. I did a small test though and found that using a reactive property outside of a textual widget does not work. Anyone any idea or suggestion ?
Beta Was this translation helpful? Give feedback.
All reactions