Click here to Skip to main content
15,897,273 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: 2 MainWindows appearing Pin
Cha0sEngine11-May-10 3:01
Cha0sEngine11-May-10 3:01 
GeneralRe: 2 MainWindows appearing Pin
Pete O'Hanlon11-May-10 3:40
mvePete O'Hanlon11-May-10 3:40 
QuestionProblem in loading a project Pin
bedathur_ganesh10-May-10 22:13
bedathur_ganesh10-May-10 22:13 
AnswerRe: Problem in loading a project Pin
Abhinav S10-May-10 22:24
Abhinav S10-May-10 22:24 
GeneralRe: Problem in loading a project Pin
bedathur_ganesh11-May-10 0:45
bedathur_ganesh11-May-10 0:45 
QuestionWPF: Add Controls To Grid At Runtime Pin
Kevin Marois10-May-10 13:32
professionalKevin Marois10-May-10 13:32 
RantRe: WPF: Add Controls To Grid At Runtime Pin
Jürgen Röhr23-May-10 8:15
professionalJürgen Röhr23-May-10 8:15 
RantMVVM makes no sense for Silverlight Pin
User 467791610-May-10 9:29
User 467791610-May-10 9:29 
There are a lot of articles out there about MVVM, and most of them are so incredibly vague that they border on uselessness.

After several Silverlight projects, I realized that there is no MVVM on Silverlight!


Here's why:

There is no Model in a Silverlight app. The Model exists in the Service layer (i.e. your Asp.NET project that feeds or processes web service calls from your Silverlight app). There are no business objects (i.e. models) in a Silverlight app!

Really what you have in your Silverlight app, are DTOs (Domain Transfer Objects) which you receive from web service calls. Those are then mapped to ViewModels, and displayed by the View. In addition, you probably have service layer proxies, and perhaps mediator classes (i.e. Controllers) that wire up the ViewModels, Views, and Service layer proxies.

The pattern should be renamed DCVVM: DTO - Controller - View - ViewModel. Or rearrange the letters as you see fit Smile | :)

Just my little rant of the day...

modified 26-Apr-21 21:01pm.

GeneralRe: MVVM makes no sense for Silverlight Pin
Abhinav S10-May-10 10:03
Abhinav S10-May-10 10:03 
QuestionQuestion and thoughts about dragging objects Pin
_Zorro_10-May-10 0:20
professional_Zorro_10-May-10 0:20 
AnswerRe: Question and thoughts about dragging objects Pin
Pete O'Hanlon10-May-10 0:38
mvePete O'Hanlon10-May-10 0:38 
GeneralRe: Question and thoughts about dragging objects Pin
_Zorro_10-May-10 2:12
professional_Zorro_10-May-10 2:12 
AnswerRe: Question and thoughts about dragging objects Pin
Abhinav S10-May-10 0:40
Abhinav S10-May-10 0:40 
GeneralRe: Question and thoughts about dragging objects Pin
_Zorro_10-May-10 2:15
professional_Zorro_10-May-10 2:15 
QuestionWPF Styles and Animations Pin
DTh19789-May-10 21:28
DTh19789-May-10 21:28 
QuestionSilverlight Date Validation Question... Pin
datahead9-May-10 10:24
datahead9-May-10 10:24 
AnswerRe: Silverlight Date Validation Question... Pin
Abhinav S9-May-10 19:25
Abhinav S9-May-10 19:25 
QuestionWPF ListView scrollable height Pin
astibich27-May-10 11:28
astibich27-May-10 11:28 
AnswerRe: WPF ListView scrollable height Pin
Leung Yat Chun8-May-10 23:13
Leung Yat Chun8-May-10 23:13 
QuestionExpression Web....Not sure if this is the right place to post. Pin
programmervb.netc++6-May-10 21:24
programmervb.netc++6-May-10 21:24 
AnswerRe: Expression Web....Not sure if this is the right place to post. Pin
#realJSOP9-May-10 1:19
professional#realJSOP9-May-10 1:19 
AnswerRe: Expression Web....Not sure if this is the right place to post. Pin
#realJSOP12-May-10 2:09
professional#realJSOP12-May-10 2:09 
QuestionPass params to web service [SOLVED (but it ain't pretty)] Pin
#realJSOP6-May-10 9:16
professional#realJSOP6-May-10 9:16 
AnswerRe: Pass params to web service Pin
Not Active6-May-10 9:44
mentorNot Active6-May-10 9:44 
GeneralRe: Pass params to web service Pin
#realJSOP6-May-10 10:54
professional#realJSOP6-May-10 10:54 

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.