享受代码,享受人生

SOA is an integration solution. SOA is message oriented first.
The Key character of SOA is loosely coupled. SOA is enriched
by creating composite apps.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

测试驱动开发 --- Rss Reader Item Marker

Posted on 2005-03-29 19:00  idior  阅读(2834)  评论(1编辑  收藏  举报

1.         Refactory away External Loops        尽量将集合遍历的操作放在集合内

2.      Reduce Private Method                    尽量减少私有方法

3.     Open-Close Principle                        封闭开放原则

4.      Specification Pattern                        如何从一组对象中选出满足特定条件的对象

本文将围绕以上主题就最近很流行的RSS阅读器的一个功能(Mark)以测试驱动开发的方式展开. 最后给出一个通用的处理集合的框架.

详见文章