随笔分类 -  设计模式

设计模式
摘要:设计模式--Hibernate 阅读全文
posted @ 2009-04-28 10:37 shuang 阅读(1142) 评论(0) 推荐(0)
摘要:一、Never over design Web develop should be one smart procedure.Change is always ocuuring. And the requirement of user will keep changing. Many sides of occasionation will happen without expecting. So... 阅读全文
posted @ 2009-01-04 13:15 shuang 阅读(197) 评论(0) 推荐(0)
摘要:Facade的思想就是在小接口上封装一个高层接口,屏蔽子接口的调用,提供外部更简洁,更易用的接口。 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 在一个为游戏充值的网站中,创建订单需要与三个外部接口打交道: 用户系统:根据用户名获取用户ID、查看用户是否已经激活了游戏 卡系统:查看某种类型的充值卡是否还有库存 充值... 阅读全文
posted @ 2008-12-15 15:55 shuang 阅读(166) 评论(0) 推荐(0)