上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页

2010年4月17日

摘要: Martin Fowler 的 Patterns of Enterprise Application Architecture 被无数的人奉为经典,我一直都没有看过原著。最近在学习 TDD 的时候经常会看到其中的一些模式,从 Martin Fowler 的网站上可以找到这一篇关于企业应用架构模式的简介,顺手学习一下。因为全部的企业应用架构模式比较多,所以我打算集腋成裘。 [A short sum... 阅读全文
posted @ 2010-04-17 00:32 zhaorui 阅读(239) 评论(0) 推荐(0) 编辑
摘要: [Unit Testing Business Logic without Tripping Over the Database] reasons to avoid data access calls inside unit tests for the business logic Tests with database calls will execute significantly slowe... 阅读全文
posted @ 2010-04-17 00:12 zhaorui 阅读(158) 评论(0) 推荐(0) 编辑

2010年4月12日

摘要: [Succeed with TDD by designing with TDD] I don;t care how good you think your design is. If I can’t walk in and write a test for an arbitrary method of yours in five minutes its not as good as you thi... 阅读全文
posted @ 2010-04-12 01:05 zhaorui 阅读(153) 评论(0) 推荐(0) 编辑

2010年4月10日

摘要: 之前在4月1日的时候,开始看 Jeremy D.Miller 的一些关于 TDD 和 Unit Test 的文章,结果没看两篇,就先去补课了。到今天为止,看完了几篇 Patterns in Practice 系列的文章,然后回过头来,开始看 Design and Testablity。 似乎 TDD Design Starter Kit 这个系列文章的先后顺序有点乱,至少我看到了两个版本——TD... 阅读全文
posted @ 2010-04-10 17:32 zhaorui 阅读(179) 评论(0) 推荐(0) 编辑

2010年4月7日

摘要: 文章摘译自:Windows programming: The “it works on my machine” syndroma   %ProgramFiles% folder protection UAC protection (User Account Control) File Path Windows 64bits Windows Compatibility Applicati... 阅读全文
posted @ 2010-04-07 00:56 zhaorui 阅读(205) 评论(0) 推荐(0) 编辑
摘要: [Persistence Patterns] Domain Models a domain model is an object model of the domain that incorporates both behavior and data. the role of database and data access code in system: The database is the... 阅读全文
posted @ 2010-04-07 00:00 zhaorui 阅读(179) 评论(0) 推荐(0) 编辑

2010年4月6日

摘要: 在 NHibernate Forge 上,Patterns&Practices 栏目里面只有两篇文章,我感兴趣的是其中一篇:NHibernate and the Unit of Work Pattern。[Identity Field, Equality and Hash Code]“The identity field saves a database ID field in... 阅读全文
posted @ 2010-04-06 00:00 zhaorui 阅读(205) 评论(0) 推荐(0) 编辑

2010年4月3日

摘要: [Object Role Stereotypes] Responsibility-Driven Design CRC Cards, Class or Candidate/Responsibility/Collaborators Responsibility-Driven Design (RDD) Objects are not just simple bundles of logic and... 阅读全文
posted @ 2010-04-03 22:56 zhaorui 阅读(170) 评论(0) 推荐(0) 编辑
摘要: [Cohesion And Coupling]keep things that have to change together as close together in the code as possible. Allow unrelated things in the code to change independently (also know as orthogonality). Mini... 阅读全文
posted @ 2010-04-03 10:40 zhaorui 阅读(223) 评论(0) 推荐(0) 编辑

2010年4月2日

摘要: 这一系列文章是 Jeremy Miller 在 MSDN Magazine 上从 June, 2008 开始的一个专栏,大概是每两个月一篇吧。其中 2008 年的四篇文章关注一些 software design fundamentals 基本的设计理念,学习一下。 [The Open Closed Principle] Agile Software Development Principles... 阅读全文
posted @ 2010-04-02 12:37 zhaorui 阅读(147) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页

导航