Timeline for MVVM Navigation WPF
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2019 at 17:54 | comment | added | dfhwze | I don't mind the view knowing the view model and vice versa. If they both know eachother by interface, a powerfull visitor pattern could arise. Just make sure to use interfaces for testibility and modularity. | |
| Apr 11, 2017 at 12:10 | comment | added | MikeT | @forsvarir if you have only just started looking at MVVM i suggest reading this msdn.microsoft.com/en-gb/library/hh848246.aspx Prism is basically a common set of Boiler plate classes that save you having to write your own, as always with boiler plate code its very useful but limited to what has been envisioned with it, and you may have to write your own classes that do the same thing in a different way to meet your own needs | |
| Apr 11, 2017 at 11:59 | comment | added | MikeT | @t3chb0t MVVM and it precursors have been around for decades, I originally learned it as GOD Gui Objects Data, the concept that Isolating different elements of your application into layers with simplified interfaces has been around almost as long as programming and if used correctly always works, if it never really works for you then that suggests you haven't got the right idea about what they are trying to achieve | |
| Jan 21, 2017 at 12:24 | comment | added | flux | I too am just getting into MVVM. I'm focusing on is the code unit testable and design time building possible. Otherwise why worry about breaking the pattern. | |
| Jan 20, 2017 at 21:24 | comment | added | iNCEPTiON_ | Thanks for the reply! Oh I never thought it that way but I need the ApplicationModel in every View because it has Data that I need in order for the application to Work, so I thought passing it with the constructor would be the propitiate way. You changed my view of MVVM and left me with a question mark :) | |
| Jan 20, 2017 at 21:19 | comment | added | t3chb0t | I haven't yet found a solution I'm particularly happy with. becasue there is none. MVVM is like trying to applay a pattern just for the sake of applying a pattern. It never really works. No matter how you build it, it always feels wrong and has some drawbacks. | |
| Jan 20, 2017 at 20:25 | history | answered | forsvarir | CC BY-SA 3.0 |