d2jsp
d2jsp Forums > Programmer's Haven > C/C++/C# > Mvvm > Question
Add Reply New Topic New Poll
Ideophobe
#1 Jul 1 2016 08:49pm
Group: Member
Posts: 14,561
Joined: Sep 14 2006
Gold: 1,234.56
who can write me a paragraph about the most important things you picked up on learning mvvm
Ideophobe
#2 Jul 2 2016 01:29am
Group: Member
Posts: 14,561
Joined: Sep 14 2006
Gold: 1,234.56
not like a real paragraph or anything just something new to me is all
Klexmoo
#3 Jul 2 2016 04:10pm
Group: Member
Posts: 7,905
Joined: May 17 2013
Gold: 47,002.00
Exactly what are you looking for?

Mvvm helps a lot in getting structure in your code, and making sure that your database / GUI / program logic are seperated (which is especially helpful if you are more than one programmer, that can then easily work on one part of the program, just conforming to an API between the seperated parts).

This post was edited by Klexmoo on Jul 2 2016 04:11pm
Minkomonster
#4 Jul 2 2016 04:21pm
Group: Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Quote (Klexmoo @ Jul 2 2016 05:10pm)
Exactly what are you looking for?

Mvvm helps a lot in getting structure in your code, and making sure that your database / GUI / program logic are seperated (which is especially helpful if you are more than one programmer, that can then easily work on one part of the program, just conforming to an API between the seperated parts).


It's also AIDS in code form when you have to fuck around with XAML.
Klexmoo
#5 Jul 2 2016 04:21pm
Group: Member
Posts: 7,905
Joined: May 17 2013
Gold: 47,002.00
Quote (Minkomonster @ 3 Jul 2016 00:21)
It's also AIDS in code form when you have to fuck around with XAML.


Xamarin, android GUI and MVVM never again.
waraholic
#6 Jul 2 2016 06:08pm
Group: Member
Posts: 1,015
Joined: Jul 8 2008
Gold: 2,109.50
Quote (Minkomonster @ Jul 2 2016 06:21pm)
It's also AIDS in code form when you have to fuck around with XAML.


Quote (Klexmoo @ Jul 2 2016 06:21pm)
Xamarin, android GUI and MVVM never again.


Using a good editor is essential to these shitty UI languages (if we can even call them that). Android Studio and Visual Studio both have good visual editors which have the full functionality of directly editing the xml. The code they produce is an abomination, but it works and is easy to pick up.
Klexmoo
#7 Jul 2 2016 06:09pm
Group: Member
Posts: 7,905
Joined: May 17 2013
Gold: 47,002.00
Quote (waraholic @ 3 Jul 2016 02:08)
Using a good editor is essential to these shitty UI languages (if we can even call them that). Android Studio and Visual Studio both have good visual editors which have the full functionality of directly editing the xml. The code they produce is an abomination, but it works and is easy to pick up.


Sure the visual XAML editor is nice, but it has it's moments when items disappear from the visual editor, but nothing has changed.
Ideophobe
#8 Jul 3 2016 10:25am
Group: Member
Posts: 14,561
Joined: Sep 14 2006
Gold: 1,234.56
how do you guys decide where you are going to put your logic when you have vague things like a pop up MetroMessageBox or a passwordbox
vague things like that make me want to, not really break mvvm but just bend it a little

btw i feel like the telerik toolkit makes xaml shine
freewebs
#9 Jul 31 2016 03:16am
Group: Member
Posts: 1,563
Joined: Feb 10 2007
Gold: 0.00
:banana:
Go Back To C/C++/C# Topic List
Add Reply New Topic New Poll