江南白衣

陌上發花,可以緩緩醉矣忍把浮名,換了淺斟低唱 我不是聖賢豪士,我衹有一腔熱血
posts - 107, comments - 431, trackbacks - 14, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

2008年8月2日

摘要: Alright, I've purposely hid the View to Presenter communication in my previous posts on Supervising Controller and Passive View because I thought that subject was worthy of its own post. As I see it, there are 2 1/2 basic ways to communicate screen events back to the Presenter. Expose events off of the IView interface. Jeffrey Palermo has told me before that he will do something very similar, but attaches delegates through setter properties instead. I'm calling that technique the "1/2" bec阅读全文

posted @ 2008-08-02 19:40 江南白衣 阅读(401) 评论(0) 编辑

摘要: 多态数据绑定解决方案阅读全文

posted @ 2008-08-02 18:46 江南白衣 阅读(369) 评论(0) 编辑

摘要: In the development of the Composite Application Guidance one area that we have labored intensely was around documentation. Documentation was so high on our priority list, that we deliberately reduced the number of bells and whistles in order to allow us to properly document what we had. As part of this we put in a significant effort to provide overview level information. We heard a lot of feedback from customers on the need for us to provide much more of the "Why" rather than the "What". Our hop阅读全文

posted @ 2008-08-02 14:13 江南白衣 阅读(305) 评论(0) 编辑

摘要: Occasionally this question pops up on the CAB message boards: How do I prevent my application from closing if the user has unsaved changes? Turns out that there’s a very simple pattern you can utilize to handle this situation. It’s called the Notification Pattern. Jeremy Miller, .Net guru, has a very good blog post on this pattern. He uses it to illustrate a standard way to handle validation on domain objects, but it’s a valuable pattern in other cases too, as I’ll show. 阅读全文

posted @ 2008-08-02 02:34 江南白衣 阅读(324) 评论(0) 编辑