Click here to Skip to main content
15,914,594 members
Home / Discussions / WPF
   

WPF

 
QuestionSwitched to Silverlight 4, solution can no longer find DockPanel Pin
fjparisIII11-May-10 5:42
fjparisIII11-May-10 5:42 
AnswerRe: Switched to Silverlight 4, solution can no longer find DockPanel Pin
Kunal Chowdhury «IN»11-May-10 6:18
professionalKunal Chowdhury «IN»11-May-10 6:18 
GeneralRe: Switched to Silverlight 4, solution can no longer find DockPanel Pin
fjparisIII11-May-10 6:38
fjparisIII11-May-10 6:38 
GeneralRe: Switched to Silverlight 4, solution can no longer find DockPanel Pin
Kunal Chowdhury «IN»11-May-10 6:45
professionalKunal Chowdhury «IN»11-May-10 6:45 
GeneralRe: Switched to Silverlight 4, solution can no longer find DockPanel Pin
#realJSOP12-May-10 2:07
professional#realJSOP12-May-10 2:07 
GeneralRe: Switched to Silverlight 4, solution can no longer find DockPanel Pin
fjparisIII12-May-10 5:17
fjparisIII12-May-10 5:17 
AnswerRe: Switched to Silverlight 4, solution can no longer find DockPanel SOLVED Pin
fjparisIII11-May-10 6:37
fjparisIII11-May-10 6:37 
AnswerRe: Switched to Silverlight 4, solution can no longer find DockPanel Pin
Joshi, Rushikesh5-May-11 3:50
professionalJoshi, Rushikesh5-May-11 3:50 
QuestionRibbon Bar - Allow tab to change objects in view Pin
xtr33me11-May-10 5:27
xtr33me11-May-10 5:27 
Question2 MainWindows appearing Pin
Cha0sEngine11-May-10 1:49
Cha0sEngine11-May-10 1:49 
AnswerRe: 2 MainWindows appearing Pin
Jammer11-May-10 1:59
Jammer11-May-10 1:59 
GeneralRe: 2 MainWindows appearing Pin
Cha0sEngine11-May-10 2:15
Cha0sEngine11-May-10 2:15 
AnswerRe: 2 MainWindows appearing Pin
Pete O'Hanlon11-May-10 2:28
mvePete O'Hanlon11-May-10 2:28 
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 

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.