进行了说明,里面也用到了几种常用的设计模式,比如:单例模式,工厂模式,策略模式以及适配器
模式等。这里可以看一下介绍,并下载ppt,源码以及几本经典的单元测试的电子书。源码在vs.net2003
测试通过。阅读全文
posted @ 2007-03-18 19:12 Clamphammer 阅读(795) 评论(0) 编辑
posts - 7, comments - 36, trackbacks - 0, articles - 1 |
||
|
摘要: 这是我在公司进行的技术交流讲座, 主要讲测试驱动开发和代码重构,并以一个猜数字游戏为例
进行了说明,里面也用到了几种常用的设计模式,比如:单例模式,工厂模式,策略模式以及适配器 模式等。这里可以看一下介绍,并下载ppt,源码以及几本经典的单元测试的电子书。源码在vs.net2003 测试通过。阅读全文 posted @ 2007-03-18 19:12 Clamphammer 阅读(795) 评论(0) 编辑 本文引用通告地址: http://www.veryhd.com/blog/trackback.php?id=167 http://tb.donews.net/TrackBack.aspx?PostId=1143008 posted @ 2007-03-21 17:37 Clamphammer 阅读(55) 评论(0) 编辑 摘要: 这是我在公司进行的技术交流讲座, 主要讲测试驱动开发和代码重构,并以一个猜数字游戏为例
进行了说明,里面也用到了几种常用的设计模式,比如:单例模式,工厂模式,策略模式以及适配器 模式等。这里可以看一下介绍,并下载ppt,源码以及几本经典的单元测试的电子书。源码在vs.net2003 测试通过。阅读全文 posted @ 2007-03-18 19:12 Clamphammer 阅读(795) 评论(0) 编辑 这是我写的一篇用UML图来描述Configuration Application Block内部结构的文章,希望对研究CAB的朋友们有所帮助。 http://www.zhangyongji.net/LearCABbyUMLDiagrams.htm posted @ 2005-09-13 13:25 Clamphammer 阅读(1395) 评论(1) 编辑 声明:本人并非Enterprise Library的专家,只是众多爱好者中的一员。学习Enterprise Library 是想开发出 [Common] [Configuration Application Block] [Data Access Application Block] [Security Application Block] [Cryptography Application Block] [Caching Application Block] [Exception Handling Application Block] [Logging and Instrumentation Application Block] posted @ 2005-08-04 12:40 Clamphammer 阅读(4614) 评论(31) 编辑 可以参看Martin.Fowler的企业应用架构设计模式。
"The Data Mapper is a layer of software that separates the in-memory objects from the database. Its responsibility is to transfer data between the two ends to isolate them from each other. With Data Mapper the in-memory objects needn’t know even that there’s a database present; they need no SQL interface code, and certainly no knowledge of the database schema." (Fowler, Martin, Patterns of Enterprise Application Architecture, p. 165) Data Mappers equate to what is known as Data Access Logic Components (DALCs). This application block is intended to make it easier for producers of business DALCs to create common functionality that relates to managing "entities" with CRUD functions. The DataMapper also promotes the use of stored procedures as a best practice to abstract data access from the underlying data schema and increase performance. Finally, the DataMapper allows capabilities like the use of transactions, command timeouts, and caching properties to be added, removed, and modified through configuration when needed. For example, to add transactions or caching to a DALC, no code will need to be modified -- only configuration settings 下面是链接地址 http://www.gotdotnet.com/workspaces/workspace.aspx?id=452821ae-f375-4c59-aa15-3668815308d7 posted @ 2005-06-08 09:40 Clamphammer 阅读(571) 评论(0) 编辑 摘要: 今天发现了一个奇怪的问题,又涨见识了,oracle的本地服务名最长不能超出16位。阅读全文 posted @ 2005-05-16 13:54 Clamphammer 阅读(356) 评论(0) 编辑 |
||