Click here to Skip to main content
15,887,273 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch8-Feb-24 15:21
mvahoney the codewitch8-Feb-24 15:21 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland8-Feb-24 15:25
mvaKenneth Haugland8-Feb-24 15:25 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Nelek8-Feb-24 19:30
protectorNelek8-Feb-24 19:30 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch9-Feb-24 0:25
mvahoney the codewitch9-Feb-24 0:25 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Rage8-Feb-24 22:29
professionalRage8-Feb-24 22:29 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Jon McKee9-Feb-24 14:52
professionalJon McKee9-Feb-24 14:52 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Jacquers8-Feb-24 17:50
Jacquers8-Feb-24 17:50 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch8-Feb-24 18:53
mvahoney the codewitch8-Feb-24 18:53 
Sure, especially if you have several views of essentially the same data.

But in general the viewmodel is kind of a place to shove the big ball of mud in your app. - at least the mud involved with putting data onto the screen.

I'm not trying to be too critical here, as that mud will always exist in some form - it just gets shoved around depending on the technologies being employed. That mud exists because programming patterns are little more than formalized limitations in programming languages, essentially. You know that when you employ one, there's mud involved. How much, and where depends on the particular pattern and how effective it is at papering over the given language or runtime limitation.

And at least putting it in the viewmodel sticks all the mud in one place.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland8-Feb-24 21:04
mvaKenneth Haugland8-Feb-24 21:04 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch9-Feb-24 0:29
mvahoney the codewitch9-Feb-24 0:29 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland9-Feb-24 12:31
mvaKenneth Haugland9-Feb-24 12:31 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Sander Rossel8-Feb-24 21:08
professionalSander Rossel8-Feb-24 21:08 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch9-Feb-24 0:31
mvahoney the codewitch9-Feb-24 0:31 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Sander Rossel9-Feb-24 2:23
professionalSander Rossel9-Feb-24 2:23 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
obermd9-Feb-24 4:05
obermd9-Feb-24 4:05 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch9-Feb-24 4:06
mvahoney the codewitch9-Feb-24 4:06 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Gerry Schmitz9-Feb-24 10:37
mveGerry Schmitz9-Feb-24 10:37 
GeneralMystery errors Pin
TNCaver8-Feb-24 10:56
TNCaver8-Feb-24 10:56 
GeneralRe: Mystery errors Pin
Dave Kreskowiak8-Feb-24 11:16
mveDave Kreskowiak8-Feb-24 11:16 
GeneralRe: Mystery errors Pin
TNCaver8-Feb-24 14:44
TNCaver8-Feb-24 14:44 
GeneralRe: Mystery errors Pin
charlieg9-Feb-24 11:15
charlieg9-Feb-24 11:15 
GeneralRe: Mystery errors Pin
RickZeeland8-Feb-24 16:43
mveRickZeeland8-Feb-24 16:43 
GeneralRe: Mystery errors Pin
TNCaver9-Feb-24 2:59
TNCaver9-Feb-24 2:59 
GeneralRe: Mystery errors Pin
RickZeeland9-Feb-24 3:03
mveRickZeeland9-Feb-24 3:03 
GeneralRe: Mystery errors Pin
RainHat8-Feb-24 23:01
RainHat8-Feb-24 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.