• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
开水房
ASP.NET
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页
2009年8月14日
facade -- 对于有很多接口的提供一个简单的接口
摘要: Function:A facade is an object that provides a simplified interface to a larger body of code, such as a class library. A facade can:make a software library easier to use and understand, since the faca... 阅读全文
posted @ 2009-08-14 16:53 白开水皮皮 阅读(188) 评论(0) 推荐(0)
decorate -- 通过反复包含对像,并对已包含对象方法添加功能
摘要: Function:The decorator pattern can be used to make it possible to extend (decorate) the functionality of a class at runtime.Actors:FunctionInterface, BasicFunctionClass, decorator, concreteDecoratorSu... 阅读全文
posted @ 2009-08-14 16:23 白开水皮皮 阅读(194) 评论(0) 推荐(0)
command -- 把动作封装成类
摘要: Function: Decouple the object that invokers the operation, by creating class for operations.Actors:Client, Invoker, command, concreteCommand, receiverSummary: 阅读全文
posted @ 2009-08-14 13:25 白开水皮皮 阅读(217) 评论(0) 推荐(0)
2009年8月13日
javascript: change the content of table
摘要: 1.change contentvar table = document.getElementById("TableData1");var enab = document.getElementById("alr_"+alr_id).value;table.rows[tab_line].cells[0].innerHTML="<input type='checkbox' class='stan... 阅读全文
posted @ 2009-08-13 08:59 白开水皮皮 阅读(249) 评论(0) 推荐(0)
2009年8月12日
Adapter --连接连个不同接口
摘要: Function:Create a new interface(like a adapter or wrapper) between client and class of library. So when use another library, just need to modify the adapter without letting the client knows the change... 阅读全文
posted @ 2009-08-12 16:29 白开水皮皮 阅读(191) 评论(0) 推荐(0)
Visitor -- 对于相似对象全部添加相应的处理方法
摘要: 访问者 visitor的本质是创建若干个各个类型Element的子类SubElement,子类中提供visit(Vistior v)方法,因为SubElement知道自己的类型,所以可以在visit(v)方法中自己决定visitor调用哪个方法来处理SubElement.而不需要在Visitor中根据Element的类型来判断需要执行哪个方法 (instanceof) 阅读全文
posted @ 2009-08-12 15:58 白开水皮皮 阅读(146) 评论(0) 推荐(0)
UML 常用符号 -- 转
摘要: 类之间的关系 UML把类之间的关系分为以下5种. ● 关联实线箭头属性Assosication ● 依赖虚线箭头临时变量或参数 Dependency ● 聚集 实心/空心菱形箭头属性Aggregation/Composition ● 泛化实线三角继承Generalization ● 实现虚线三角接口实现Realization关联(Asso... 阅读全文
posted @ 2009-08-12 14:47 白开水皮皮 阅读(2126) 评论(0) 推荐(0)
2009年7月22日
Hibernate连接查询
摘要: 关键字: hibernate 谈一下hibernate的连接查询 一、连接查询的基础知识连接查询 通过连接运算符可以实现多个表查询。连接是关系数据库模型的主要特点,也是它区别于其它类型数据库管理系统的一个标志。 在关系数据库管理系统中,表建立时各数据之间的关系不必确定,常把一个实体的所有信息存放在一个表中。当检索数据时,通过连接操作查询出存放在多个表中的不同实体的信息。连接操作给用户带来很大的灵活... 阅读全文
posted @ 2009-07-22 10:19 白开水皮皮 阅读(805) 评论(0) 推荐(0)
2009年6月15日
[转载]当今计算机软件开发和应用领域最重要十种关键技术
摘要: 1、XML在 十种技术中,最重要的一种技术我想应该非XML莫属。这里不仅仅指XML规范本身,还包括一系列有关的基于XML的语言:主要有XHTML,XSLT, XSL,DTDs,XML Schema(XSD),XPath,XQuery和SOAP。如果你现在还对XML一无所知,那么赶快狂补吧!XML是包含类似于HTML标签的一个文 本文件,在这个文件中定义了一个树型结构来描述它所保存的数据。XML最大... 阅读全文
posted @ 2009-06-15 16:49 白开水皮皮 阅读(812) 评论(0) 推荐(0)
2009年5月18日
<html> 按钮换行
摘要: 右击,查看源代码来看<input type='button' value="同意的点击这里 不同意请点击取消 这样也可以" > 阅读全文
posted @ 2009-05-18 10:55 白开水皮皮 阅读(909) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3