设计模式(Design Patterns) 个人理解上来说,就是为了实现程序结构的低耦合、高重用性及扩展性。在日常的程序设计中选择一个或多个设计模式,可以养成程序员良好的编程习惯,写出高质量的代码。深入了解这些个设计模式,对程序开发及设计是不无裨益的。
从Gof(Gang of Four,传说中的四人帮 :P)的设计模式篇中了解到,我们把所有的设计模式归为了4个大类和23个小类,他们排着队分别是:
一、创建型模式 Creational Patterns
抽象工厂模式 Abstract Factory
建造模式 Builder
工厂方法模式Factory Method
原始模型模式 Prototype
单例模式 Singleton
二、结构型模式 Structural Patterns
适配器模式 Adapter
桥梁模式 Bridge
合成模式 Composite
装饰模式 Decorator
门面模式 Facade
享元模式 Flyweight
代理模式 Proxy
三、行为模式 Behavorial Patterns
责任链模式 Chain Of Responsibility
命令模式 Command
解释器模式 Interpreter
迭代子模式 Iterator
调停者模式 Mediator
备忘录模式 Memento
观察者模式 Observer
状态模式 State
策略模式 Strategy
模板方法模式 Template
访问者模式 Visitor
接触到设计模式已经有很长一段时间了,从书本到互联网,零星的获取到各种设计模式的特点。从今天开始认真总结对Java Design Patterns的学习,也把自己的心声写出来。
本系列的Blog参考了http://www.fluffycat.com/java-design-patterns/ 提供的英文范例,同时结合了设计模式经典书籍《设计模式:可复用面向对象软件的基础》,最终写出了自己对设计模式的理解。
欢迎网友批评指正。
分享到:
相关推荐
设计模式 中文版 Design Patterns 可复用面向对象软件基础 经典之作 内含23个设计模式
又名: Head First Design Patterns 作者: (美)弗里曼(Freeman,E.) 副标题: Head First Design Patterns 简介 ······ 你不想重新发明车轮(或者更差的是,没有充气车胎的轮子),所以你从设计模式中寻求...
四人组的设计模式(Design Patterns)中译本.rar Erich Gamma Richard Helm Ralph Johnson John Vlissides 《软工双雄》
1.1 什么是设计模式 2 1.2 Smalltalk MVC中的设计模式 3 1.3 描述设计模式 4 1.4 设计模式的编目 5 1.5 组织编目 7 1.6 设计模式怎样解决设计问题 8 1.6.1 寻找合适的对象 8 1.6.2 决定对象的粒度 9 1.6.3 指定对象...
Go Design Patterns will provide readers with a reference point to software design patterns and CSP concurrency design patterns to help them build applications in a more idiomatic, robust, and ...
Design Patterns 设计模式 完整清晰版
Design Patterns 设计模式 东北大学软件学院 宋杰
JAVA设计模式 《Design Patterns》Complete Implementation (by Java) Author: Jerry Shen Version : 0.5
GOF-设计模式-Design Patterns-英文原版-高清-有目录-有页码
深入浅出设计模式(Head First Design Patterns)完整版,由本人精心整理网上的JPG版制作成PDF版供各位编程爱好者下载学习, 这部模式教程诙谐幽默,寓教于乐,实乃菜鸟成才必备之选。共分为11个压缩包,绝对的物有所...
gramming skills to the next couple of levels. In fact, it assumes that you’re a pretty good ...use CSS. It also assumes that you understand ... Learning design patterns is akin to a gradual metamorphosis.
设计模式 Design Patterns 可复用面向对象软件基础 经典之作 内含23个设计模式
☆ 说明如下:☆ [Wrox] ASP.NET设计模式 [Wrox] Professional ASP.NET Design Patterns [Wrox] Professional ASP.NET Design Patterns Source Code
C# Design Patterns 设计模式 pdf扫描版
Design Patterns in .NET .net设计模式 2019年最新版
Angular Design Patterns, angular设计模式 2018年7月最新书籍
Design Patterns for Embedded Systems in C 英文版 First edition 2011 介绍如何使用设计模式为嵌入式系统创建高效且优化的C语言设计,这些设计方法已经实践证明非常有效。 针对嵌入式系统中发生的问题,本书的...
MongoDB应用设计模式:MongoDB Applied Design Patterns 中英文打包两本合集
Design patterns and object-oriented programming. They hold such promise to make your life as a software designer and developer easier. Their terminology is bandied about every day in the technical and...
为什么要学习设计模式(Design Patterns) - 软件设计大师之路