In MVVM, how do you scale your viewmodels as your UI becomes larger, more complex, and more nested?
In MVVM, the viewmodel communicates to the views by exposing observable values that the views subscribe to. As your UI grows and becomes more complex, the number of these observables grows and the amount of UI presentation logic increases.
MVVM and service pattern
I’m building a WPF application using the MVVM pattern. Right now, my viewmodels calls the service layer to retrieve models (how is not relevant to the viewmodel) and convert them to viewmodels. I’m using constructor injection to pass the service required to the viewmodel.
MVVM and service pattern
I’m building a WPF application using the MVVM pattern. Right now, my viewmodels calls the service layer to retrieve models (how is not relevant to the viewmodel) and convert them to viewmodels. I’m using constructor injection to pass the service required to the viewmodel.
Loose Coupling Presenter to View in MVP
We work in a Java shop here and our web application uses an implementation of the MVP architectural pattern. Our manager comes from a .NET world, where he has been exposed to the MVVM design pattern. Our manager is advocating changes in our MVP implementation, including that the Presenters should be decoupled from (or loosely coupled to, depending on your interpretation) its Views via the Observer design pattern, in tradition with MVVM. I am more of the opinion that the Presenter and the View work together to achieve a common goal, and as such should be coupled.
I know the language but still can’t code like other peers [closed]
Closed 10 years ago.
I know the language but still can’t code like other peers [closed]
Closed 10 years ago.
I know the language but still can’t code like other peers [closed]
Closed 10 years ago.
I know the language but still can’t code like other peers [closed]
Closed 10 years ago.
I know the language but still can’t code like other peers [closed]
Closed 10 years ago.
I know the language but still can’t code like other peers [closed]
Closed 10 years ago.