当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 摘要: &nbs
 

 

    摘要:1. 为什么要用抽象工厂?用抽象工厂的好处这里我暂时还想不出有什么好处我觉得就是利用接口来实现封装其子类,让具体的工作交给它的子类去做。所以说这应该不能算抽象工厂的优点,只能算作接口的优点。 2. 在c#中怎样用抽象工厂?好,我们来看一下怎么来实现比如说我们要写一个连接数据库的组件,既支持sqlserver的,又要支持oledb的,这时我们就可以用abstractfactory设计模式了。先定义一......
 ·类qq的xp button控件     »显示摘要«
    摘要:imports systemimports system.enumimports system.collectionsimports system.componentmodelimports system.drawingimports system.dataimports system.windows.formsimports system.drawing.drawing2dimports sys......


Asp.net,IBatis For .Net,DAOFactory在Web开发中的数据表示
摘要:

  【程序编程相关:c#中使用 Win32 和其他库

       本文谈论的结合asp.net,ibatis,daofactory谈web开发中的数据表示,展现在asp.net开发中各层怎么来组织数据. 【推荐阅读:18位身份证号码验证算法代码

       daofactory也是ibatis for .net提供的一个component.用来动态的配置dao接口的实现类,这样当业务需求跟改的时候就可以只通过xml来改变dao的实现,而不需要重新编译程序. 【扩展信息:sms,ems,pdu,code dec

       ibatis for .net是一个功能强大实用的sql map工具,不是orm工具.它是将sql语句映射成.net对象,同时将这个.net对象与asp.net页面中的数据(asp.net中page datasource我称之为formbean吧(与j2ee中的formbean不是同一个概念))结合起来,这样就可以达到这个.net类最大的重用性与灵活性.


...   下一页
 ·关于event与delegate的一些对比     »显示摘要«
    摘要:using system;namespace consoleapplication3{ public delegate void mydelegate(string str); class class1 { private static void hello(string str){ console.writeline("hello "+str); } private stat......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE