首页  软件  游戏  图书  电影  电视剧

请输入您要查询的图书:

 

图书 C#设计模式(影印版)
内容
编辑推荐

设计模式有助于开发人员利用整个软件开发群体的智慧开发健壮的高质量软件。本书是第一部完整的面向c#和.NET程序员的设计模式指导著作。如果您已经基于其他程序设计语言使用了软件设计:模式,那么本书有助于加深读者的理解,增强读者的自信心,并能帮助读者在各种类型的C#工程中使用设计模式。如果读者是一位Microsoft程序员,但是还不熟悉设计模式,那么本书是一本理想的实践入门指导。

目录

Preface

Chapter 1: Introduction

Why Patterns?

Why Design Patterns?

Why C#?

UML

Challenges

The Organization of this Book

Welcome to Oozinoz!

Summary

Part 1: Interface Patterns

Chapter 2: Introducing Interfaces

Interfaces and Abstract Classes

Interfaces and Delegates

Interfaces and Properties

Interface Details

Summary

Beyond Ordinary Interfaces

Chapter 3: Adapter

Adapting to an Interface

Class and Object Adapters

Adapting Data in .NET

Summary

Chapter 4: Facade

An Ordinary Facade

Refactoring to Facade

Facades, Utilities, and Demos

Summary

Chapter 5: Composite

An Ordinary Composite

Recursive Behavior in Composites

Composites, Trees, and Cycles

Composites with Cycles

Consequences of Cycles

Summary

Chapter 6: Bridge

An Ordinary Abstraction

From Abstraction to Bridge

Drivers as Bridges.

Database Drivers

Summary

Part 2: Responsibility Patterns

Chapter 7: Introducing Responsibility

Ordinary Responsibility

Controlling Responsibility with Accessibility

Summary

Beyond Ordinary Responsibility

Chapter 8: Singleton

Singleton Mechanics

Singletons and Threads

Recognizing Singleton

Summary

Chapter 9: Observer

C# Support for Observer

Delegate Mechanics

A Classic Example---Observer in GUIs

Model/View/Controller

Layering

Summary

Chapter 10: Mediator

A Classic Example---GUI Mediators

Relational Integrity Mediators

Summary

Chapter 11: Proxy

A Simple Proxy

A Data Proxy

Remote Proxies

Summary

Chapter 12: Chain of Responsibility

An Ordinary Chain of Responsibility

Refactoring to Chain of Responsibility

Anchoring a Chain

Chain of Responsibility without Composite

Summary

Chapter 13: Flyweight

Immutability

Extracting the Immutable Part of a Flyweight

Sharing Flyweights

Summary

Part 3: Construction :Patterns

Chapter 14: Introducing Construction

A Few Construction Challenges

Summary

Beyond Ordinary Construction

Chapter 15: Builder

An Ordinary Builder

Building under Constraints

A Forgiving Builder

Summary

Chapter 16: Factory Method

A Classic Example Enumerators

Recognizing Factory Method

Taking Control of Which Class to Instantiate

Factory Method in Parallel Hierarchies

Summary

Chapter 17: Abstract Factory

A Classic Example GUI Kits

Abstract Factories and Factory Method

Namespaces and Abstract Factories

Summary

Chapter 18: Prototype

Prototypes as Factories

Prototyping with Clones

Summary

Chapter 19: Memento

A Classic Example Using Memento for Undo

Memento Durability

Persisting Mementos across Sessions

Summary

Part 4: Operation Patterns

Chapter 20: Introducing Operations

Operations and Methods

Signatures

Delegates

Exceptions

Algorithms and Polymorphism

Summary

Beyond Ordinary Operations

Chapter 21: Template Method

A Classic Example--Sorting

Completing an Algorithm

Template Method Hooks

Refactoring to Template Method

Summary

Chapter 22: State

Modeling States

Refactoring to State

Making States Constant

Summary

Chapter 23: Strategy

Modeling Strategies

Refactoring to Strategy

Comparing Strategy and State

Comparing Strategy and Template Method

Summary

Chapter 24: Command

A Classic Example--Menu Commands

Using Command to Supply a Service

Command Hooks

Command in Relation to Other Patterns

Summary

Chapter 25: Interpreter

An Interpreter Example

Interpreters, Languages, and Parsers

Summary

Part 5: Extension Patterns

Chapter 26: Introducing Extensions

Principles of OO Design

The Liskov Substitution Principle

The Law of Demeter

Removing Code Smells

Beyond Ordinary Extensions

Summary

Chapter 27: Decorator

A Classic Example--Streams

Function Wrappers

Decorator in GUIs

Decorator in Relation to Other Patterns

Summary

Chapter 28: Iterator

Ordinary Iteration

Thread-Safe Iteration

Iterating over a Composite

Summary

Chapter 29: Visitor

Visitor Mechanics

An Ordinary Visitor

Visitor Cycles

Visitor Controversy

Summary

Appendix A: Directions

Get the Most Out of This Book

Understand the Classics

Weave Patterns into Your Code

Keep Learning

Appendix B: Solutions

Appendix C: Oozinoz Source

Acquiring and Using the Source

Building the Oozinoz Code

Helping the Oozinoz Code Find Files

Testing the Code with NUnit

Finding Files Yourself

Summary

Appendix D: UML at a Glance

Classes

Class Relationships

Interfaces

Delegates and Events

Objects

States

Glossary

Bibliography,

Index

标签
缩略图
书名 C#设计模式(影印版)
副书名
原作名
作者 (美)麦斯科
译者
编者
绘者
出版社 中国电力出版社
商品编码(ISBN) 9787508342955
开本 16开
页数 456
版次 1
装订 平装
字数
出版时间 2006-07-01
首版时间 2006-07-01
印刷时间 2006-07-01
正文语种
读者对象 青年(14-20岁),普通成人
适用范围
发行范围 公开发行
发行模式 实体书
首发网站
连载网址
图书大类
图书小类
重量 0.644
CIP核字
中图分类号 TP312
丛书名
印张 29.75
印次 1
出版地 北京
233
165
16
整理
媒质 图书
用纸 普通纸
是否注音
影印版本 原版
出版商国别 CN
是否套装 单册
著作权合同登记号 图字 01-2006-3391
版权提供者 Pearson Education
定价
印数
出品方
作品荣誉
主角
配角
其他角色
一句话简介
立意
作品视角
所属系列
文章进度
内容简介
作者简介
目录
文摘
安全警示 适度休息有益身心健康,请勿长期沉迷于阅读小说。
随便看

 

兰台网图书档案馆全面收录古今中外各种图书,详细介绍图书的基本信息及目录、摘要等图书资料。

 

Copyright © 2004-2025 xlantai.com All Rights Reserved
更新时间:2025/5/22 16:08:35