SilverlightShow: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <meta content="Word.Document" name="ProgId" /> <meta content="Microsoft Word 11" name="Generator" /> <meta content="Microsoft Word 11" name="Originator" /> <link href="file:///C:%5CTEMP%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List" /><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]--> <p>This series is really cool. Very informative. </p> <p>Thank you for sharing. As a token of appreciation i bought the book :)</p> <p>I have one Quick request though ....Almost all sample applications code here use EF as underneath data source. ..Articles with POCO objects as DATA model will really help where database is NON-SQL Server...<o:p></o:p></p> <p></p> <p> </p> http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment7653 ranga_p24hotmail.com http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Fri, 09 Mar 2012 23:06:00 GMT Re: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer <p>EXCEPTIONAL KNOWLEDGE AND EXCEPTIONALLY EXPLAINED.</p> <p>THANK YOU VERY VERY MUCH </p> <p><strong>BEAUTY is in SIMPLICITY</strong></p> http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment7491 asdffdsa http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Sun, 05 Feb 2012 16:29:35 GMT Re: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer <p>Very nice articles, helped a lot :)</p> <p>Thanks!</p> http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment6639 joppe http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Thu, 13 Oct 2011 12:05:30 GMT RE: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer <p>Hi, I'm new to MVVM so excuse the naive question.  Is there a reason why the BooksViewModel deals directly with a Book object instead of dealing with BookDetailViewModel object i.e. the Datasource object could just retrurn detail view models insted of books.  This way the only class that touches the Book data directly is the detail view model wrapped around it.  </p> <p>Matt</p> http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment6183 MattPil29 http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Mon, 23 May 2011 14:04:09 GMT RE: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer <p>Oscar... interesting idea, I'll think about it.</p> <p>Todd: RelayCommand has a constructor where you can provide a delegate for canExecute logic... however I prefer not to do so, and let the designer decide what he wants to do with the case where a command cannot be invoked... (so I use properties in the viewModel, VisualStates and behaviors to fix this problem)</p> http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment5770 zoltan.arvai http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Thu, 24 Mar 2011 22:05:28 GMT RE: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer <p>Hello Zoltan.. great article.. very simple but at the same time very powerful and ready to be used while creating Business Apps..</p> <p>THANKS</p> <p>I was also wondering if you would ever add  part 4 maybe adding Designer data to see mock data on Blend on VS while designing the app, in the same way John Papa does in his Kung Fu MvvM implementation.</p> <p>But Zoltan MvvM Implementation is much better (I think) than the complex Kung Fu (too complex to use in the real world ).. so that is why I was wondering</p> <p></p> http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment5769 Oscar Agreda http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Thu, 24 Mar 2011 21:59:05 GMT RE: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer This is really good. Thanks. How do I disable a button though... http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment5312 Todd http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Thu, 13 Jan 2011 21:58:12 GMT RE: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer These three articles are very good an explained MVVM in a good way. Thank you http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment4078 Wouter Janssens http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Wed, 28 Jul 2010 19:04:19 GMT RE: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer Excellent article, Thanks a lot really. http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment3974 Lucifer Lu http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Mon, 12 Jul 2010 11:46:08 GMT RE: Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer Finally, I got my MVVM here. Thank you very much! http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx#comment3889 Bill http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx Tue, 29 Jun 2010 17:33:03 GMT