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
Cozy uses the model-view-viewmodel architecture which is probably the best one for this kind of application. However, the implementation basically duplicates the "view" part of it as there is the actual Blueprint file, and also a Python class for it.
My intention is to change this by dropping the view classes, as well as the architecture for it (the EventSender and the Observer classes), and use GObject property bindings and signals throughout the application. This way the view model can be bound directly from the UI definition, and there's no need for an intermediary layer.
The text was updated successfully, but these errors were encountered:
Cozy uses the model-view-viewmodel architecture which is probably the best one for this kind of application. However, the implementation basically duplicates the "view" part of it as there is the actual Blueprint file, and also a Python class for it.
My intention is to change this by dropping the view classes, as well as the architecture for it (the
EventSender
and theObserver
classes), and use GObject property bindings and signals throughout the application. This way the view model can be bound directly from the UI definition, and there's no need for an intermediary layer.The text was updated successfully, but these errors were encountered: