9eFish - 带有 MVVM 标签的文章
1
臭虫

Command之必杀技——AttachedBehavior - 包建强的开源地带 - 博客园

xgluxvxgluxv 发表于 151 天, 5 小时, 31 分钟 之前
Thursday, October 22, 2009 1:52:45 AM GMT Monday, October 12, 2009 4:42:43 AM GMT
Command之必杀技——AttachedBehavior (一)前言       最简单的Command,是由Prism为Silverlight提供的,执行ButtonBase的Click事件。       我在另一篇文章《MVP的前生来世》中已经使用过这个Command了。温习一下,基于MVVM实现,分为两个步骤:       1) 在ViewModel中声明这个Command,并定义该Command所对应的方法:        public DelegateCommand (more)
类别: Architecture | 点击: 3 | 评论 | | 源: www.cnblogs.com
标签: Command, MVVM, Silverlight, 包建强
1
臭虫

CodeProject: Navigation in MVVM applications (Onyx).

xgluxvxgluxv 发表于 186 天, 7 小时, 58 分钟 之前
Friday, September 11, 2009 4:38:29 AM GMT Monday, September 07, 2009 2:15:35 AM GMT
Download NavigationDemo.zip - 165.3 KBContentsIntroductionXAML and BAMLUriTest applicationConclusionIntroduction There are many articles discussing MVVM. One of MVVM approaches was suggested/introduced by Josh Smith and Karl Shifflett. In authors approach the navigation from view to view performed by means of DataTemplates, which “tells” how to display specified type. Cinch framework, written by Sacha Barber, utilized this approach. Another approach, in my opinion, could be based on native (.net... (more)
类别: Foundation | 点击: 4 | 评论 | | 源: www.codeproject.com
标签: MVVM
1
臭虫

Updates made to MVVM Foundation « Josh Smith on WPF

adminadmin 发表于 199 天, 8 小时, 43 分钟 之前
Monday, August 31, 2009 1:04:48 PM GMT Tuesday, August 25, 2009 1:29:54 AM GMT
I set aside some time today to add some goodness, and remove some badness, from my MVVM Foundation library on CodePlex.  Special thanks go to Matt Heffron for his great work on making the Messenger class much safer and user-friendly.  Here is a listing of the changes:Added safety checks and helpful error messages in Messenger for callback registration and message broadcasting. Unit tests were added to verify this behavior.Ensured that Messenger notifies colleagues of a message in the order they registere... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: joshsmithonwpf.wordpress.com
标签: MVVM
1
臭虫

CodeProject: WPF: If Heineken did MVVM Frameworks Part 6 of n.

xgluxvxgluxv 发表于 211 天, 8 小时, 10 分钟 之前
Wednesday, August 19, 2009 1:54:46 AM GMT Thursday, August 13, 2009 2:03:08 AM GMT
Download Cinch demo application which includes everythingContentsIntroductionPreRequisitesSpecial ThanksThe Demo AppWhat It Looks LikeHow Is It MadeWhats Coming Up?Cinch Article Series LinksCinch primer articleA walkthrough of Cinch, and it's internals IA walkthrough of Cinch, and it's internals IIHow to develop ViewModels using CinchHow to Unit test ViewModels using Cinch, including how to test Background worker threads which may run within Cinch ViewModelsA Demo app using CinchIntroduction Las... (more)
类别: Architecture | 点击: 1 | 评论 | | 源: www.codeproject.com
标签: Heineken, MVVM
1
臭虫

CodeProject: WPF: If Heineken did MVVM Frameworks Part 5 of n.

adminadmin 发表于 214 天, 20 小时, 4 分钟 之前
Sunday, August 09, 2009 2:09:09 PM GMT
Download Cinch demo application which includes everythingContentsIntroductionPreRequisitesSpecial ThanksUnit TestingTesting CommandsTesting MediatorTesting Background Worker TasksServicesTesting Using Test IMessageBox ServiceTesting Using Test IOpenFileService ServiceTesting Using Test ISaveFileService ServiceTesting Using Test IUIVisualizerService ServiceTesting The Validity Of IDataErrorInfo Supporting ObjectsTesting The State Of IEditableObject Supporting ObjectsWhats Coming Up?Cinch Article Series Li... (more)
类别: Architecture | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: Heineken, MVVM
1
臭虫

Shawn Wildermuth - RIA Services, Silverlight and MVVM

dotlivedotlive 发表于 218 天, 19 小时, 59 分钟 之前
Friday, August 07, 2009 1:25:03 AM GMT Wednesday, August 05, 2009 2:14:04 PM GMT
RIA Services, Silverlight and MVVM URL: http://wildermuth.com/downloads/MVVMExample_RIA... I've finally had a chance to take a look at the July CTP of RIA Services. My opinion is mixed, but its still pretty early. I ran through the simple walkthrough and it was easy to set up but it still felt as if there is too much Visual Studio magic (a complaint I've had for a long time now). A Brief Overview For the uninitiated let me explain a couple of things (though, please don't assume this blo... (more)
类别: Architecture | 点击: 8 | 评论 | | 源: wildermuth.com
标签: MVVM, RIA Services, silveright
1
臭虫

MVVM Study Part 2 – “View of the Model” or “Model of the View” ? - .NET & Funky Fresh - Devlicio.us

adminadmin 发表于 221 天, 8 小时, 15 分钟 之前
Friday, August 07, 2009 1:25:03 AM GMT Monday, August 03, 2009 1:58:37 AM GMT
Sign in | Join | Help  Do you twitter? Follow us @devlicious.NET & Funky FreshHomeContactSponsorsThe LoungeSyndicationRSS for PostsAtomRSS for CommentsEmail NotificationsGoRecent PostsMVVM Study Part 2 – “View of the Model” or “Model of the View” ?Caliburn v1 Release Candidate 2 is Available!Asynchronous Execution, Animation and more in MVVM with CaliburnMVVM – Philosophy and Case Studies - IntroductionCaliburn v1 Release CandidateTags.NET 3.0.NET 3.53DAnimationCaliburnControl Templ... (more)
类别: Foundation | 点击: 2 | 评论 | | 源: devlicio.us
标签: MVVM
1
臭虫

Silverlight, Validation and MVVM - Part II

xgluxvxgluxv 发表于 221 天, 17 小时, 37 分钟 之前
Friday, August 07, 2009 1:25:03 AM GMT Sunday, August 02, 2009 4:36:20 PM GMT
Silverlight, Validation and MVVM - Part II The new Validation states for controls in Silverlight 3 sure look nice but there are a number of limitations. For starters, you can only invoke them through: •An exception thrown by a bound property setter •An exception thrown by a ValueConverter The latter feels particularly unsavoury as you'll need to reuse the same converter wherever you want to bind to that property - a big violation of the DRY principle. (more)
类别: Architecture | 点击: 7 | 评论 | | 源: www.thejoyofcode.com
标签: MVVM, Silverlight, Validation
1
臭虫

MVVM – Philosophy and Case Studies - Introduction - .NET & Funky Fresh - Devlicio.us

xgluxvxgluxv 发表于 242 天, 7 小时, 47 分钟 之前
Thursday, July 16, 2009 2:03:27 AM GMT Monday, July 13, 2009 2:26:45 AM GMT
There’s been a lot of talk lately about MVVM (Model-View-ViewModel) in the WPF and Silverlight space. Recently, Ward Bell had an interesting post on the subject where he digs into some of the patterns he is using to support his MVVM triads. The WPF/Silverlight community is constantly droning MVVM, but almost no one goes beyond stating their use of the pattern or giving an overly general description of it. That’s why I enjoyed Ward’s post. He’s trying to get into the nitty-gritty of his UI architecture... (more)
类别: Architecture | 点击: 0 | 评论 | | 源: devlicious.com
标签: MVVM
1
臭虫

MultiTargeting M-V-VM: An Exercise in reuse for Silverlight and WPF Applications

carolhaozicarolhaozi 发表于 248 天, 6 小时, 48 分钟 之前
Wednesday, July 08, 2009 9:15:46 AM GMT Tuesday, July 07, 2009 3:25:32 AM GMT
In conclusion, the degree of reuse required will depend highly on the context of the project. In some cases the functionality slated for different platforms may be too different to make multi-targeting a worthwhile effort. There is also the trade off of added complexity that comes whenever you add an #if to your source code, create a one-off partial class that is platform specific, or switch to an event driven Service Façade model. Nevertheless, there are substantial benefits to be had from writing porta... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: geekswithblogs.net
标签: MVVM, Silverlight, WPF
1
臭虫

[Silverlight]使用MVVM模式打造英汉词典 - 紫色永恒 - 博客园

xgluxvxgluxv 发表于 270 天, 19 小时, 40 分钟 之前
Tuesday, June 23, 2009 2:38:02 AM GMT Sunday, June 14, 2009 2:33:23 PM GMT
[Silverlight]使用MVVM模式打造英汉词典 最近比较关注MVVM(Model-View_ViewModel)模式,该模式十分适合WPF/Silverlight的开发。出于练习的目的打算使用Silverlight做个英汉词典(可能是由于近来疯狂的听VOA的缘故),下面针对该项目进行简单的分析。 注:由于Silverlight不支持Command 所以并无法像WPF那样完全实现MVVM模式。 老规矩,先看下运行时的截图 这里说下我的开发环境 windows server 2008 visual studio 2008 with sp1 sliverlight 2 下面开始一步一步的制作该应用。 首先新建一个Silverlight项目并宿主在ASP.NET Web Application中(当然我强烈建议宿主在ASP.NET MVC中,不过该项目基本上和宿主端没什么联系而并不是每个人都安装了ASP.NET MVC,所以宿主在可以使用Silverlight控件的Web Form中也许受众面更广泛一些) 在Silverlight的项目中分别新建三个文件夹Model、View、V... (more)
类别: UX | 点击: 12 | 评论 | | 源: www.cnblogs.com
标签: MVVM, Silverlight
1
臭虫

CodeProject: Modeling M-V-VM.

xgluxvxgluxv 发表于 277 天, 8 小时, 28 分钟 之前
Monday, June 08, 2009 1:40:19 PM GMT Monday, June 08, 2009 1:45:48 AM GMT
Download source - 113.96 KBIntroduction Building M-V-VM based applications comes in very handy. This article comes to introduce a generic approach for View Model's decoupling.  Background Building UI Applications using WPF, M-V-VM comes as a great mechanism for decoupling the data from its presentation. Every piece of UI, being a Window, Page or User Control, gets its own view model. Most applications have a hierarchical structure which corresponds with the Views structure. Thus, a Page holding a User ... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: www.codeproject.com
标签: MVVM
1
臭虫

Nikhil Kothari's Weblog : ViewModel with MVC/Navigation in Silverlight

xgluxvxgluxv 发表于 277 天, 8 小时, 33 分钟 之前
Monday, June 08, 2009 1:40:19 PM GMT Monday, June 08, 2009 1:40:15 AM GMT
ViewModel with MVC/Navigation in Silverlight This post continues the discussion and investigation into the ViewModel (aka MVVM)pattern. This time around, the sample, a New York Times Newswire API-based News Widget application demonstrates how the MVC pattern caters to implementing navigation logic, while the ViewModel pattern focuses on interaction logic. I've been writing about ViewModel (aka MVVM) pattern (here, here, here and more) and implement... (more)
类别: Web Form | 点击: 1 | 评论 | | 源: www.nikhilk.net
标签: MVC, MVVM, Silverlight
1
臭虫

Adventures in MVVM – Commanding with List Boxes

adminadmin 发表于 283 天, 22 小时, 51 分钟 之前
Thursday, June 04, 2009 8:01:13 AM GMT Monday, June 01, 2009 11:22:00 AM GMT
Continuing in my series of “Adventures in MVVM”, I want to talk about a few different approaches to working with List Boxes with the MVVM pattern.  What I am writing here is generally true of all controls that derive from Selector, including ListBox and ComboBox.  This example was developed in Silverlight, but the same concepts also apply to WPF.The Problem You have a list box in your view, and you want your ViewModel to do something when an item in the ListBox is selected. You want to do this without a... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: geekswithblogs.net
标签: MVVM
1
臭虫

Nikhil Kothari's Weblog : ViewModel with MVC/Navigation in Silverlight

xgluxvxgluxv 发表于 285 天, 3 小时, 39 分钟 之前
Sunday, May 31, 2009 4:58:21 PM GMT Sunday, May 31, 2009 6:34:18 AM GMT
ViewModel with MVC/Navigation in Silverlight This post continues the discussion and investigation into the ViewModel (aka MVVM) pattern。This time around, the sample, a New York Times Newswire API-based News Widget application demonstrates how the MVC pattern caters to implementing navigation logic, while the ViewModel pattern focuses on interaction logic. I've been writing about ViewModel (aka MVVM) pattern (here, here, here and more) and implement... (more)
类别: UX | 点击: 0 | 评论 | | 源: www.nikhilk.net
标签: MVVM, Silverlight, ViewModel
1
臭虫

CodeProject:使用MVVM模式显示对话框

xgluxvxgluxv 发表于 289 天, 7 小时, 39 分钟 之前
Wednesday, May 27, 2009 6:09:50 AM GMT Wednesday, May 27, 2009 2:34:09 AM GMT
Download source - 172.37 KBContentsIntroductionMy Interpretation of MVVMThe Dialog ServiceWhat Now?HistoryIntroduction This article will address one of the problems a developer might run into when using the MVVM pattern, namely opening dialogs from ViewModels. Basic knowledge of the pattern is expected. Josh Smith has written a fantastic article in MSDN Magazine which can serve as the starting point for those that are unfamiliar with the pattern. There already exist some solutions exploring this area, ... (more)
类别: Foundation | 点击: 5 | 评论 | | 源: www.codeproject.com
标签: MVVM
1
臭虫

MVVM里的奇遇 – silverlight里的Commands

dotlivedotlive 发表于 291 天, 8 小时, 13 分钟 之前
Wednesday, May 27, 2009 6:09:50 AM GMT Monday, May 25, 2009 2:00:35 AM GMT
One of the most important aspects of implementing the MVVM pattern in WPF and SIlverlight is the ability for the UI layer to bind directly to commands in the ViewModel. The only problem with this: commands were never implemented in Silverlight. Even though I (and many others) have ranted about this, our voice has not been heard. Even with the release of the Silverlight 3 beta, it seems as if we are still pining for commanding in Silverlight. (more)
类别: UX | 点击: 5 | 评论 | | 源: houseofbilz.com
标签: Command, MVVM, Silverlight
1
臭虫

Shawn Wildermuth -哪个是第一位的, View还是Model?

dotlivedotlive 发表于 291 天, 8 小时, 31 分钟 之前
Wednesday, May 27, 2009 6:09:50 AM GMT Monday, May 25, 2009 1:41:56 AM GMT
As I wrote and subsequently taught the Silverlight Tour workshop, I've had a number of discussions with students, clients and the community-at-large about how to architect Silverlight applications. The momentum behind the Model-View-ViewModel (MVVM) design pattern makes a lot of sense to me, especially with declarative views (as seen in Silverlight and WPF). Most of my thinking around this was covered in my MSDN article about it: http://tinyurl.com/slmvvm On... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: wildermuth.com
标签: MVVM
1
臭虫

MVVM and The Origins of Caliburn

xgluxvxgluxv 发表于 296 天, 7 小时, 5 分钟 之前
Wednesday, May 20, 2009 5:46:11 AM GMT Wednesday, May 20, 2009 3:08:31 AM GMT
Sign in | Join | Help  Do you twitter? Follow us @devlicious.NET & Funky FreshHomeContactSponsorsThe LoungeSyndicationRSS for PostsAtomRSS for CommentsEmail NotificationsGoRecent PostsMVVM and The Origins of CaliburnOff to Mix!The Caliburn Beta is LiveI Finally Sold Out to TwitterA MEF MisunderstandingTags.NET 3.0.NET 3.53DAnimationCaliburnControl TemplatesdatabindingDDDDSLFeaturedFlashgame developmentLINQMEFNHibernateRIASilverlightTutorialWCFWCSWFWPFWPF/eXamlView moreNewsArchivesMa... (more)
类别: Foundation | 点击: 2 | 评论 | | 源: devlicio.us
标签: MVVM, WPF
1
臭虫

nRoute and M-V-VM: A Match Made in C#

dotlivedotlive 发表于 301 天, 7 小时, 49 分钟 之前
Tuesday, May 19, 2009 6:14:31 AM GMT Friday, May 15, 2009 2:24:03 AM GMT
nRoute and M-V-VM: A Match Made in C# Lately, its been raining M-V-VM (Model-View-ViewModel) in the SL and WPF world, and rightfully so because M-V-VM to me is the best pattern for application-development given the features in SL and WPF. Now, in this post I'm not going to introduce or detail the pattern itself, read this article ... (more)
类别: Architecture | 点击: 2 | 评论 | | 源: www.orkpad.com
标签: m-v-vm, MVVM, nroute
Previous 1 2 Next