代码改变世界

Introduce to MEF (Study)- one

2012-03-19 22:36 by 一一九九, 235 阅读, 0 推荐, 收藏, 编辑
摘要:KEY Concepts Composition is the practice of combining serveral objects with discrete functionality into one or more complex objects. ComposableParts are the key building blocks of MEF. Com... 阅读全文

【wpf】AnimatedTabControl 如何显示内容

2012-02-04 08:19 by 一一九九, 437 阅读, 0 推荐, 收藏, 编辑
摘要:仿照Prism中的StockTrader的示例做了一个APP,采用了其中的AnimatedTabControl控件,发现添加View后并不显示任何内容,切换到普通的tabcontrol 就好了, 网上找了一圈,发现也没有比AnimatedTabControl控件更好的Tabcontrol, 找了半天终于发现原因了。 public AnimatedTabControl() { ... 阅读全文

[wpf]设置Application的ICO

2012-02-03 09:02 by 一一九九, 1422 阅读, 0 推荐, 收藏, 编辑
摘要:From: http://stackoverflow.com/questions/2672537/setting-icon-for-wpf-application-vs-08 Assuming you use VS Express and C#. The icon is set in the project properties page. To open it right click on t... 阅读全文

Error: does not contain a static 'Main' method suitable for an entry point [wpf]

2012-02-02 19:51 by 一一九九, 1159 阅读, 1 推荐, 收藏, 编辑
摘要:在将WPF App默认生成的App.xaml删除后,从其他地方复制添加后,编译出现如下错误: WPF.exe' does not contain a static 'Main' method suitable for an entry point D:\Products\Contract\trunk\Source\Contract\Contract.WPF\CSC 这个不是在... 阅读全文

Can you outline a story-driven process with Concordion?

2012-01-17 10:31 by 一一九九, 249 阅读, 0 推荐, 收藏, 编辑
摘要:Concordion 官方网站上提到了一个关于Story – Driven的流程图,感觉挺不错。From:http://www.concordion.org/Questions.html 其实这两天看Concordion以及By Example, 感觉比较头疼的还是在Story的可维护性上。 Concordion想在领域之外通过一套DSL来建立对Story的简单测试,或者示例,而这个... 阅读全文

Your First Concordion.Net Project (Part 5)-Running Specs with Gallio

2012-01-16 17:23 by 一一九九, 275 阅读, 0 推荐, 收藏, 编辑
摘要:http://living-in-concordion.blogspot.com/2009/05/your-first-concordionnet-project-part-5.html 需要一些自动运行Spec的Runner,这里采用的为Gallio写的一个插件。 Gallio是一个开源的测试框架,能够运行各种.net的测试框架,具有较高的扩展能力和丰富的报表系统。 那么为了让Gallio... 阅读全文

Your First Concordion.Net Project (Part 4)-More Specifications!

2012-01-16 16:44 by 一一九九, 246 阅读, 0 推荐, 收藏, 编辑
摘要:http://living-in-concordion.blogspot.com/2009/05/your-first-concordionnet-project-part-4.html、 在之前完成的Specification Document(Calculator.html)中,我们放置了一个到Operations.html的链接。现在我们来完成它。添加.html和对应的Class文件,然后... 阅读全文

Your First Concordion.Net Project (Part 3)-Adding Specifications

2012-01-16 14:08 by 一一九九, 262 阅读, 0 推荐, 收藏, 编辑
摘要:http://living-in-concordion.blogspot.com/2009/05/your-first-concordionnet-project-part-3.html 同任何TDD或者BDD类似的,我们应该首先编写我们的Test或者Specifications。 首先,我们搭建一下我们的Specification 程序集。 Calculator.Spec. Style S... 阅读全文

Your First Concordion.Net Project (Part 2)-Setting Up Visual Studio

2012-01-16 10:40 by 一一九九, 172 阅读, 0 推荐, 收藏, 编辑
摘要:From: http://living-in-concordion.blogspot.com/2009/05/your-first-concordionnet-project-part-2.html 需要提前了解Microsoft’s guidelines for setting up a Visual Studio project。 大多数Concordion.net Projects... 阅读全文

Your First Concordion.NET Project (Part 1)-What is Concordion.Net?

2012-01-16 10:25 by 一一九九, 211 阅读, 0 推荐, 收藏, 编辑
摘要:http://living-in-concordion.blogspot.com/2009/05/your-first-concordionnet-project-part-1.html What is Concordion.Net? 恩,你在Internet上偶然看见了Concordion或者Concordion.net的话,可能会比较喜欢采用Concordion编写的Specficatio... 阅读全文

[Specification by Example][ch5 Deriving scope from goals]-[读书笔记]-[4]

2012-01-13 10:29 by 一一九九, 204 阅读, 0 推荐, 收藏, 编辑
摘要:Don't look only at the lowest level 许多团队受到需要将发布条目减少到一个迭代中的影响,会将后备条目的优先级降低。尽管这会帮助使得流程合理化,但是这回导致整个团队失去整体概貌的视角。 作为一个流程, Spec By Example同时为高级别用户故事也为低级别用户故事服务。一旦我们有了高级别的某些事情为什么会特别有价值的示例,我们能够捕获其为高等级的Sp... 阅读全文

[Specification by Example][ch5 Deriving scope from goals]-[读书笔记]-[3]

2012-01-12 17:16 by 一一九九, 180 阅读, 0 推荐, 收藏, 编辑
摘要:Have developers provide the “I want ” Part of user stories when: business users trust the developement team 在uSwitch的团队和他们的商业用户协作来定义用户故事。商业用户明确名为Stakeholder的用户故事部分和期望的利益,开发团队提出来那一部分的解决方案。 在标准的用... 阅读全文

[Specification by Example][ch5 Deriving scope from goals]-[读书笔记]-[2]

2012-01-12 15:05 by 一一九九, 224 阅读, 0 推荐, 收藏, 编辑
摘要:Understand the “Why” and “who” 用户故事通常具有三个部分:“As a XX I want XXX in order to XXX”. 也就是理解为什么有些事情是需要的谁需要的对于评估一个提出来的建议是非常重要的。【understanding why something is needed and who needs it is crucial t... 阅读全文

[Specification by Example][ch5 Deriving scope from goals]-[读书笔记]-[1]

2012-01-11 16:32 by 一一九九, 196 阅读, 0 推荐, 收藏, 编辑
摘要:前言: 作者这里采用F-16战机的研发来举例子。F-16最初的客户要求是将速度达到Mach 2-2.5, 其设计者Hillaker为美军方为什么这个需求比较重要,军方的回复是为了能够从战场逃生。最终F-16战机的速度没有超过Mach 2, 但是在协助飞行员从战场逃生方面具有很大的灵活性。F-16也开发了除提升速度外的其他特性,这些特性为达到目标提供了额外的设计方法,而且生产成本更... 阅读全文

[Specification by Example][ch4 Initiation the changes]-[读书笔记]

2012-01-10 08:47 by 一一九九, 146 阅读, 0 推荐, 收藏, 编辑
摘要:暂记。回读。 作者应该讲完了再推广吧。。 阅读全文

[Specification by Example][ch3 Living documentation]-[读书笔记]

2012-01-10 08:45 by 一一九九, 159 阅读, 0 推荐, 收藏, 编辑
摘要:暂记,回读 阅读全文

[Specification by Example][ch2 key process patterns]-[读书笔记]

2012-01-09 15:10 by 一一九九, 665 阅读, 0 推荐, 收藏, 编辑
摘要:Specification by Example 是由一组过程模式组成的,这组过程模式能够应对软件产品中的变化,以便有效的研发出来正确的产品。 主要过程和关系如下图所示: Just in time: Successful teams don’t implement the entrie sequence at one time or for all the specification... 阅读全文

[Specification by Example][ch1 key benefits]-[读书笔记]

2012-01-06 13:22 by 一一九九, 387 阅读, 0 推荐, 收藏, 编辑
摘要:前言: 在Internet的时代,软件开发的主题是软件的发布速度。 在20年前,软件的周期可能持续若干年并且以月来进行里程碑测量,而我们现在一个软件产品的周期以月为单位,以周或者天来进行迭代,软件进入了快速发布的时代。那些需要长周期的计划,需要从上倒下的设计以及详细的需求分析的时代已经过去了。 在这么巨大的变化下,文档很容易变得过时了。需要保持更新的详细规范和测试计划是被认为是浪费资源的。在... 阅读全文

Binding

2012-01-03 18:26 by 一一九九, 251 阅读, 0 推荐, 收藏, 编辑
摘要:The binding code is analogous to the binding markup extension. it’s an entity in and of itself that represents the relationship between the source and the target of the data binding. The constructor f... 阅读全文

Resource

2012-01-03 11:50 by 一一九九, 501 阅读, 0 推荐, 收藏, 编辑
摘要:Everything that inherits from frameworkElement has a Resources property. This creates a hierarchical set f resources for the application. Items declared in App.Resources are visible to the entrie appl... 阅读全文