分享

探寻本源,送你一本《设计模式:可复用面向对象软件的基础》电子书!

 老马的程序人生 2020-08-17


LSGO软件技术团队 

贡献人:马燕鹏

如果喜欢这里的内容,你能够给我最大的帮助就是转发,告诉你的朋友,鼓励他们一起来学习。

If you like the content here, the greatest help you can give me is forwarding, so tell your friends and encourage them to learn together.

Erich GammaRichard HelmRalph JohnsonJohn Vissides,这四个人常被称为"四人组(Gang of Four)" 他们总结的设计模式堪称面向对象程序设计的经典。他们合著的《Design Patterns: Elements of Reusable Object-Oriented Software》一书,也是优秀程序员必读的经典著作。

豆瓣读书给出的评分为9.4,可想而知这本书是多么的经典。当然,这么优秀的书也有中文版本,《设计模式:可复用面向对象软件的设计基础》,可惜在翻译方面有些欠缺,比如:“Chapter6 Conclusion” 在翻译的过程中,把二级标题作为一级标题了,显得该章的框架非常混乱。但对于英文水平欠佳的小伙伴只能忍了。即使是这样,其中文版在豆瓣读书的评分也有9.1分,可见这本书有多棒!

别急,别急,打击一下大家的学习热情!由于这本书写的比较学术,初学者或者没有项目开发经验的人,读起来会非常的吃力,最好先看看其它的设计模式书籍之后再来溯源,看这本经典的著作

本次下载的资料中,除了这本书的中英文版本之外,还有我这段时间总结的“面向对象设计原则”以及“创建型设计模式”和“结构型设计模式”的通俗版本,希望能够对精进自己编程技能的小伙伴带来帮助。


目录

第1章 引言

  • 什么是设计模式

  • Smalltalk MVC中的设计模式

  • 描述设计模式

  • 设计模式的编目

  • 组织编目

  • 设计模式怎样解决设计问题

  • 怎样选择设计模式

  • 怎样使用设计模式

第2章 实例研究:设计一个文档编辑器

  • 设计问题

  • 文档结构

  • 格式化

  • 修饰用户界面

  • 支持多种视感标准

  • 支持多种窗口系统

  • 用户操作

  • 拼写检查和断字处理

  • 小结

第3章 创建型模式

  • Abstract Factory(抽象工厂)-- 对象创建型模式

  • Builder(生成器)-- 对象创建型模式

  • Factory Method(工厂方法)-- 对象创建型模式

  • Prototype(原型)-- 对象创建型模式

  • Singleton(单件)-- 对象创建型模式

  • 创建型模式的讨论

第4章 结构型模式

  • Adapter(适配器)-- 对象结构型模式

  • Bridge(桥接)-- 对象结构型模式

  • Composite(桥接)-- 对象结构型模式

  • Decorator(装饰)-- 对象结构型模式

  • Facade(外观)-- 对象结构型模式

  • Flyweight(享元)-- 对象结构型模式

  • Proxy(代理)-- 对象结构型模式

  • 结构型模式讨论

第5章 行为型模式

  • Chain of Responsibility(职责链)-- 对象行为型模式

  • Command(命令)-- 对象行为型模式

  • Interpreter(解释器)-- 类行为型模式

  • Iterator(迭代器)-- 对象行为型模式

  • Mediator(中介者)-- 对象行为型模式

  • Memento(备忘录)-- 对象行为型模式

  • Observer(观察者)-- 对象行为型模式

  • State(状态)-- 对象行为型模式

  • Strategy(策略)-- 对象行为型模式

  • Template Method(模版方法)-- 类行为型模式

  • Visitor(访问者)-- 对象行为型模式

  • 行为型模式的讨论

第6章 结论

  • 设计模式将带来什么

  • 一套通用的设计词汇

  • 书写文档和学习的辅助手段

  • 现有方法的一种补充

  • 重构的目标

  • 本书简史

  • 模式界

  • Alexander的模式语言

  • 软件中的模式

  • 邀请参与

  • 临别感想


Contents

1 Introduction

  • What Is a Design Pattern?

  • Design Patterns in Smalltalk MVC

  • Describing Design Patterns

  • The Catalog of Design Patterns

  • Organizing the Catalog

  • How Design Patterns Solve Design Problems

  • How to Select a Design Pattern

  • How to Use a Design Pattern

2 A Case Study: Designing a Document Editor

  • Design Problems

  • Document Structure

  • Formatting

  • Embellishing the User Interface

  • Supporting Multiple Look-and-Feel Standards

  • Supporting Multiple Window Systems

  • User Operations

  • Spelling Checking and Hyphenation

  • Summary

3 Creational Patterns

  • Abstract Factory

  • Builder

  • Factory Method

  • Prototype

  • Singleton

  • Discussion of Creational Patterns

4 Structural Patterns

  • Adapter

  • Bridge

  • Composite

  • Decorator

  • Façade

  • Flyweight

  • Proxy

  • Discussion of Structural Patterns

5 Behavioral Patterns

  • Chain of Responsibility

  • Command

  • Interpreter

  • Iterator

  • Mediator

  • Memento

  • Observer

  • State

  • Strategy

  • Template Method

  • Visitor

  • Discussion of Behavioral Patterns

6 Conclusion

  • What to Expect from Design Patterns

  • A Brief History

  • The Pattern Community

  • An Invitation

  • A Parting Thought


下载《设计模式:可复用面向对象软件的设计基础》和《Design Patterns: Elements of Reusable Object-Oriented Software》电子书

    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多