
设计模式
文章平均质量分 79
sniper007
这个作者很懒,什么都没留下…
展开
-
【设计模式】之 Factory Method 工厂方法
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.FactoryMethod { #region Product /// //原创 2012-03-02 16:01:35 · 248 阅读 · 0 评论 -
【设计模式】之 Bridge 桥梁模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Bridge { /// /// 桥梁模式 /// class Br原创 2012-03-05 09:36:31 · 362 阅读 · 0 评论 -
【设计模式】之 Adapter 适配器模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DesignFactory.Adapter { /// /// 适配器模式 /// public interface ICar {原创 2012-03-05 09:26:11 · 288 阅读 · 0 评论 -
【设计模式】之 Proxy 代理模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Remoting; namespace DesignFactory.Proxy { /// /// 代理模式 /// 利用远程代理模式提供原创 2012-03-05 09:33:27 · 297 阅读 · 0 评论 -
【设计模式】之 Chain of Responsibility 职责链模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DesignFactory.ChainOfResponsibility { /// /// 责任链模式 /// class ChainOfRespon原创 2012-03-05 09:37:34 · 314 阅读 · 0 评论 -
【设计模式】之 Observer 观察者模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Observer { /// /// 观察者模式 /// class原创 2012-03-05 09:40:34 · 263 阅读 · 0 评论 -
【设计模式】之 Strategy 策略模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Strategy { /// /// 策略模式 /// class原创 2012-03-05 09:43:26 · 408 阅读 · 0 评论 -
【设计模式】之 Composite 合成模式
. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory { /// /// 合成模式 /// 基本图像元素 直线 圆 //原创 2012-03-05 09:28:11 · 349 阅读 · 0 评论 -
软件设计之框架
MVC,spring,Struts,Hibernate,ibates,prisim MVC 软件设计模式 Prism框架 使用Prism可以使程序开发更趋于模块化,整个项目将由多个离散的、松耦合的模块组成,而各个模块又可以又不同的开发者或团队进行开发、测试和部署。 Hibernate框架 独立的一个框架,不需要web/application server至此; ibata原创 2015-04-09 15:15:43 · 537 阅读 · 0 评论 -
谈谈对Spring IOC的理解
学习过Spring框架的人一定都会听过Spring的IoC(控制反转) 、DI(依赖注入)这两个概念,对于初学Spring的人来说,总觉得IoC 、DI这两个概念是模糊不清的,是很难理解的,今天和大家分享网上的一些技术大牛们对Spring框架的IOC的理解以及谈谈我对Spring Ioc的理解。 一、分享Iteye的开涛对Ioc的精彩讲解 首先要分享的是Iteye的开涛这位技术牛人转载 2015-04-09 14:35:12 · 590 阅读 · 0 评论 -
【设计模式】之 Facade 门面模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DesignFactory.Facade { /// /// 门面模式 /// class FacadePattern { }原创 2012-03-05 09:35:31 · 308 阅读 · 0 评论 -
【设计模式】之 Flyweight享元模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Flyweight { /// /// 享元模式 /// class原创 2012-03-05 09:34:36 · 266 阅读 · 0 评论 -
【设计模式】之 Simple Factory 简单工厂
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DesignFactory { /// /// 简单工厂 /// public abstract class Light {原创 2012-03-02 15:59:04 · 295 阅读 · 0 评论 -
【设计模式】之 Abstract Factory 抽象工厂
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DesignFactory.AbstractFactory { /// /// Herbivore: 草食动物 /// Carnivore: 食肉动物原创 2012-03-02 16:05:21 · 255 阅读 · 0 评论 -
【设计模式】之 Singleton 单例模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Threading; namespace DesignFactory.Singleton { class Singleto原创 2012-03-05 09:22:07 · 246 阅读 · 0 评论 -
【设计模式】之 Decorator 装饰模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Decorator { /// /// 装饰模式 /// abstr原创 2012-03-05 09:29:10 · 301 阅读 · 0 评论 -
【设计模式】之 Command 命令模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Command { class CommandPattern { }原创 2012-03-05 09:39:13 · 349 阅读 · 0 评论 -
【设计模式】之 Visitor 观察者模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Visitor { /// /// 访问者模式 /// class原创 2012-03-05 09:41:28 · 406 阅读 · 0 评论 -
【设计模式】之 Prototype 原型模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Prototype { /// /// 原型模式 /// 类,通过实现IClon原创 2012-03-05 09:24:35 · 254 阅读 · 0 评论 -
【设计模式】之 Template 模板方法
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.OleDb; namespace DesignFactory.Template { /// /// 模板方法模式原创 2012-03-05 09:42:33 · 344 阅读 · 0 评论 -
【设计模式】之 Builder 建造者模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace DesignFactory.Builder { /// /// 建造者模式 /// clas原创 2012-03-05 09:23:25 · 233 阅读 · 0 评论 -
Prism简介
Prism是由微软Patterns & Practices团队开发的项目,目的在于帮助开发人员构建松散耦合的、更灵活、更易于维护并且更易于测试的WPF应用或是Silverlight应用以及Windows Phone 7应用。使用Prism可以使程序开发更趋于模块化,整个项目将由多个离散的、松耦合的模块组成,而各个模块又可以又不同的开发者或团队进行开发、测试和部署。目前Prism的最新版本是Pr转载 2015-04-09 15:01:19 · 801 阅读 · 0 评论